obtain P values from Chi-square

Hi, I was wondering if there's a matlab function (or know of a way to code) to obtain P values from a X^2 value with varying degrees of freedom. Thanks.

 採用された回答

bym
bym 2011 年 11 月 9 日

1 投票

if you have the stats toolbox:
chi2cdf(n,dof);

1 件のコメント

S
S 2011 年 11 月 10 日
that did it. thanks!

サインインしてコメントする。

その他の回答 (0 件)

質問済み:

S
S
2011 年 11 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by