chikwadrat
Chikwadrat, commonly known in statistics as the chi-square statistic, is a measure used to assess how observed categorical data compare with expected frequencies under a specified model. It is defined as the sum over all categories of the squared difference between observed (O) and expected (E) counts, divided by the expected count: χ² = Σ (O_i − E_i)² / E_i.
In a goodness-of-fit test, the expected counts are derived from a theoretical distribution or specified proportions.
Common variants include Pearson’s chi-square and the likelihood-ratio chi-square (G-test). Assumptions include independent observations, data in
Applications span goodness-of-fit testing, tests of independence in contingency tables, and quality-control analyses. Limitations arise with