obtain P values from Chi-square

55 views (last 30 days)
S
S on 9 Nov 2011
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.

Accepted Answer

bym
bym on 9 Nov 2011
if you have the stats toolbox:
chi2cdf(n,dof);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!