28 Alphabetical Listing
χ
2
Cdf()
Catalog >
χ
2
Cdf(lowBound,upBound,df) ⇒ number if
lowBound and upBound are numbers, list if
lowBound and upBound are lists
chi2Cdf(lowBound,upBound,df) ⇒ number
if lowBound and upBound are numbers, list
if lowBound and upBound are lists
Computes the χ
2
distribution probability
between lowBound and upBound for the
specified degrees of freedom df.
For P(X ≤ upBound), set lowBound = 0.
For information on the effect of empty
elements in a list, see “Empty (Void)
Elements,” page 232.
χ
2
GOF
Catalog >
χ
2
GOF obsList,expList,df
chi2GOF obsList,expList,df
Performs a test to confirm that sample data
is from a population that conforms to a
specified distribution. obsList is a list of
counts and must contain integers. A
summary of results is stored in the
stat.results variable. (See page 172.)
For information on the effect of empty
elements in a list, see “Empty (Void)
Elements,” page 232.
Output variable Description
stat.χ
2
Chi square stat: sum((observed - expected)
2
/expected
stat.PVal Smallest level of significance at whichthe null hypothesis can be rejected
stat.df Degrees of freedom for the chi square statistics
stat.CompList Elemental chi square statisticcontributions
χ
2
Pdf()
Catalog >
χ
2
Pdf(XVal,df) ⇒ number if XVal is a