Creating a normal distribution and chi^2 test
이전 댓글 표시
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);
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Univariate Discrete Distributions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!