Re: chi-square table



Dear Li,

if you're interested in the values rather than
in doing a programming exercise, you can use
the statistics2 package by Shin-ichi Hara:

blade.nagaokaut.ac.jp/~sinara/ruby/math/statistics2/statistics2-0.50/README

From the README:


--- Statistics2.chi2dist(n, x)
Returns the integral of Chi-squared distribution with n degrees of freedom
over (-Infty, x].

--- Statistics2.pchi2dist(n, pr)
Returns the P-value of chi2dist().

--- Statistics2.chi2X_(n, x)
Returns the integral of Chi-squared distribution with n degrees of freedom
over [0, x].

--- Statistics2.chi2_x(n, x)
Returns the integral of Chi-squared distribution with n degrees of freedom
over [x, Infty).

--- Statistics2.pchi2X_(n, pr)
--- Statistics2.pchi2_x(n, pr)
Return the P-value of the corresponding integral.


Best regards,

Axel
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

.



Relevant Pages

  • Chi squared -> p-value - Any formula??
    ... I'm looking for a quick/simple method to find the p-value corresponding to a give chi-squared with one degree of freedom. ... I want to put this into a computer program, where ultimate accuracy is not important. ... then fitted the data to a linear model, ...
    (sci.stat.math)
  • Re: summation of Chi and Gaussian
    ... ^2 is that of the chi-squared distribution with n+1 ... degrees of freedom, the variance is not. ... are those of the Statistics Department or of Purdue University. ... Herman Rubin, Department of Statistics, Purdue University ...
    (sci.stat.math)
  • Re: P-value from T-stat
    ... Is there a way to estimate the p-value from the t-statistic (without looking up a reference table); at least to know if the difference in means is significant? ... If your program environment has an incomplete Beta function, ... freedom, which need not be an integer. ...
    (sci.stat.math)
  • randn tool to make chi-squared distribution and F-distribution
    ... I wanted to know how I could use the randn tool in MATLAB to make a ... chi-squared distribution with three degrees of freedom. ... Also, once you achieve a chi-squared distribution, how can you plot ... how can you use the randn tool to generate an F distribution? ...
    (comp.soft-sys.matlab)