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.

 Accepted Answer

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

More Answers (0)

Asked:

S
S
on 9 Nov 2011

Community Treasure Hunt

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

Start Hunting!