Difference between revisions of "ChiSquaredTest Command"
From GeoGebra Manual
(Created page with "<noinclude>{{Manual Page|version=4.2}}</noinclude>{{betamanual|version=4.2}} {{command|statistics}} ;ChiSquaredTest[ <Matrix> ] ;ChiSquaredTest[ <List>, <List> ] ;ChiSquaredTe...") |
|||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.2}}</noinclude>{{betamanual|version=4.2}} | <noinclude>{{Manual Page|version=4.2}}</noinclude>{{betamanual|version=4.2}} | ||
{{command|statistics}} | {{command|statistics}} | ||
− | ;ChiSquaredTest[ <Matrix> ] | + | ;ChiSquaredTest[ <Matrix of Observed Counts> ] |
− | ;ChiSquaredTest[ <List>, <List> ] | + | :Performs a Chi Squared test that compares the given matrix of observed counts against the matrix of expected counts determined by a hypothesis of independence. |
− | ;ChiSquaredTest[ <Matrix>, <Matrix> ] | + | :The matrix of expected counts is calculated internally. Each expected count is found from the row and column totals of the given matrix of observed counts using the rule: |
+ | ::expected count = (row total x column total) / (grand total) | ||
+ | :Results are returned in list form as {Probabilty value, Chi Squared test statistic}. | ||
+ | |||
+ | ;ChiSquaredTest[ <List of Observed Counts>, <List of Expected Counts> ] | ||
+ | :Performs a Goodness of Fit test that compares the given list of observed counts against the given list of expected counts. | ||
+ | :Results are returned in list form as {Probabilty value, Chi Squared test statistic}. | ||
+ | |||
+ | ;ChiSquaredTest[ <Matrix of Observed Counts>, <Matrix of Expected Counts> ] | ||
+ | :Performs a Chi Squared test that compares the given matrix of observed counts against the given matrix of expected counts. | ||
+ | :Results are returned in list form as {Probabilty value, Chi Squared test statistic}. |
Revision as of 18:48, 2 September 2012
This page is about a feature that is supported only in GeoGebra 4.2. |
- ChiSquaredTest[ <Matrix of Observed Counts> ]
- Performs a Chi Squared test that compares the given matrix of observed counts against the matrix of expected counts determined by a hypothesis of independence.
- The matrix of expected counts is calculated internally. Each expected count is found from the row and column totals of the given matrix of observed counts using the rule:
- expected count = (row total x column total) / (grand total)
- Results are returned in list form as {Probabilty value, Chi Squared test statistic}.
- ChiSquaredTest[ <List of Observed Counts>, <List of Expected Counts> ]
- Performs a Goodness of Fit test that compares the given list of observed counts against the given list of expected counts.
- Results are returned in list form as {Probabilty value, Chi Squared test statistic}.
- ChiSquaredTest[ <Matrix of Observed Counts>, <Matrix of Expected Counts> ]
- Performs a Chi Squared test that compares the given matrix of observed counts against the given matrix of expected counts.
- Results are returned in list form as {Probabilty value, Chi Squared test statistic}.