How can I create the chisquare table?

17 ビュー (過去 30 日間)
Frank
Frank 2013 年 5 月 3 日
Hello;
My statisctics and probability lecturer gave a homework but I cannot do it. He said "create a parameter chisquare table using MATLAB" I am looking for examples but I didn't find anything. The tablo should be like this:<<http://j1305.hizliresim.com/19/3/mpzs7.jpg>>

採用された回答

Shashank Prasanna
Shashank Prasanna 2013 年 5 月 3 日
Use Inverse PDF to generate the probabilities for a particular degree of freedom and confidence.
for df = 1:100
C(df,:) = chi2inv(1-[0.995 0.99 0.975 0.95 0.9 0.1 0.05 0.025 0.01 0.005],df);
end
disp(C)

その他の回答 (1 件)

Frank
Frank 2013 年 5 月 3 日
It is correct. Thank you.
You are so kind.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by