CASCALC89 COMMAND · NOT ON THE TI-89
χ²GOF
Performs a χ² goodness of fit test that compares observed counts with expected counts; it is the same command as chi2GOF. The results are stored in stat variables such as stat.PVal.
Syntax
χ²GOF obsList,expList,df
- Group
- Statistics
- Arguments
- Takes the list of observed counts, the list of expected counts and the degrees of freedom.
- Availability
- Included
- Origin
- TI-Nspire CAS style command; the TI-89 Titanium handheld does not have it
Example
| Input | Result |
|---|---|
| χ²GOF {10,20,30},{20,20,20},2:stat.PVal | 0.00673794699909 |
Typing χ²GOF {10,20,30},{20,20,20},2:stat.PVal on the home screen and pressing ENTER returns 0.00673794699909.
Related commands
- ANOVAPerforms a one way analysis of variance to compare the means of several groups.
- ANOVA2wayPerforms a two way analysis of variance on several lists of data.
- chi22wayPerforms a χ² test for association on a two way table of observed counts.
- chi2GOFPerforms a χ² goodness of fit test that compares observed counts with expected counts.
- CubicRegFits a cubic polynomial y=a·x^3+b·x^2+c·x+d to data with least squares regression.
- ExpRegFits an exponential model y=a·b^x to data with least squares regression.
- FTest_2SampPerforms a two sample F test that compares the variances of two populations.
- LinRegBxFits a line y=a+b·x to data with least squares regression.