annotate toolboxes/FullBNT-1.0.7/KPMstats/chisquared_readme.txt @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 From ftp://ftp.mathworks.com/pub/contrib/v4/stats/chisquared/
wolffd@0 2
wolffd@0 3 Chi-squared probability function.
wolffd@0 4
wolffd@0 5 Abstract
wolffd@0 6 m-files to compute the Chi-squared probability function, and
wolffd@0 7 the percentage points of the probability function.
wolffd@0 8
wolffd@0 9 P = CHISQUARED_PROB( X2, v ) returns P(X2|v), the probability
wolffd@0 10 of observing a chi-squared value <= X2 with v degrees of freedom.
wolffd@0 11 This is the probability that the sum of squares of v unit-variance
wolffd@0 12 normally-distributed random variables is <= X2.
wolffd@0 13
wolffd@0 14 Conversely:
wolffd@0 15 X2 = CHISQUARED_TABLE( P, v ) returns the X2, the value of
wolffd@0 16 chi-squared corresponding to v degrees of freedom and probability P.
wolffd@0 17
wolffd@0 18 In reference textbooks, what is normally tabulated are the
wolffd@0 19 percentage points of the chi-squared distribution; thus, one
wolffd@0 20 would use CHISQUARED_TABLE rather than interpolate such a table.
wolffd@0 21
wolffd@0 22 References: Press et al., Numerical Recipes, Cambridge, 1986;
wolffd@0 23 Abramowitz & Stegun, Handbook of Mathematical Functions,
wolffd@0 24 Dover, 1972; Table 26.8
wolffd@0 25
wolffd@0 26 Peter R. Shaw
wolffd@0 27 Woods Hole Oceanographic Institution, Woods Hole, MA 02543
wolffd@0 28 (508) 457-2000 ext. 2473
wolffd@0 29 pshaw@whoi.edu
wolffd@0 30
wolffd@0 31 --FILES GENERATED--
wolffd@0 32 README_chisq
wolffd@0 33 chisquared_prob.m (function) -- chi-squared probability function
wolffd@0 34 chisquared_table.m (function) -- "percentage points" (i.e., inverse)
wolffd@0 35 of chi-squared probability function
wolffd@0 36 chiaux.m (function) -- auxiliary fn. used by chisquared_table