Chi-squared test
Summary
A chi-squared test is a hypothesis test whose test statistic has approximately a chi-squared distribution under the null hypothesis. The main example is Pearson's chi-squared test for counts in categories. For observed counts and expected counts under , Pearson's statistic is One rejects when is large.
Remarks
In the goodness-of-fit test, fixes the probabilities of the categories. For a large sample, has approximately the law under . In the test of independence for an contingency table, states that the two categorical variables are independent. Then is (row total column total) / , and the law is approximately . The approximation is poor when expected counts are small. A common rule asks for in each cell. For small tables, Fisher's exact test is an alternative. Karl Pearson introduced the test in 1900.
Explanations
L1 human
The chi-squared test compares the counts that you observe with the counts that a hypothesis predicts. If the squared differences, scaled by the predictions, add up to a large number, the hypothesis does not fit the data.
What this node needs for W2
- edge defines in: at least one definition (0 of 1)
- edge instance_of in: at least two examples (0 of 2)
- edge not_instance_of in: at least one non-example (0 of 1)
- edge specializes both: the more general notions and the special cases (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
Sources
- Web https://en.wikipedia.org/wiki/Chi-squared_test, Pearson's chi-squared test
- Web https://en.wikipedia.org/wiki/Chi-squared_test, Example chi-squared test for categorical data
What links here
No node links to this node yet.