Creating a normal distribution and chi^2 test
Afficher commentaires plus anciens
I have a single set of data with 369 values. I want to be able to analyze this, but since there was only one set, I don't believe I can performa any statistical test on the set that would benefit me. So I want to creat a normal distribution using the already known standard deviation and mean. Then I want to perform a chi-squared test on this sample against the data I already have.
I know of the hist command, but dont really think I can use that with just the mean and standard deviation. I found this somewhere but not really sure if this is correct or anything. Any help?
mu = 0.118733568;
sd = 0.141034278;
ix = -3*sd:1e-3:3*sd; %covers more than 99% of the curve
iy = pdf('normal', ix, mu, sd);
plot(ix,iy);
1 commentaire
Dimitri
le 5 Mar 2013
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Univariate Discrete Distributions dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!