obtain P values from Chi-square

31 vues (au cours des 30 derniers jours)
S
S le 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.

Réponse acceptée

bym
bym le 9 Nov 2011
if you have the stats toolbox:
chi2cdf(n,dof);
  1 commentaire
S
S le 10 Nov 2011
that did it. thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by