calculate x value from normal distribution
3 views (last 30 days)
Show older comments
I have data x , with nonzero mean. I can plot normal distribution with following
x=randi([1 20],1,60);
a=mean(x);
b=sqrt(var(x));
x= [-130:1:120];
norm = normpdf(x,a,b);
plot(x,norm)
to calculate x value for 97%, I have to see z score for 97% and then use
z=(x-mean)/standard deviation
for calculation of x value but how can I calculate x value directly by code.
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!