You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
The t-tests from the previous lesson compare one or two group means. But what if you need to compare three or more groups, or analyse categorical data? This lesson introduces two powerful families of tests: chi-squared tests for categorical data and ANOVA for comparing multiple group means.
The chi-squared (χ²) test is used when data consists of counts or frequencies in categories.
Tests whether the observed frequencies of a categorical variable match an expected distribution.
Hypotheses:
H₀: The observed frequencies match the expected distribution
H₁: The observed frequencies do not match the expected distribution
Test Statistic:
χ² = Σ (Oᵢ − Eᵢ)² / Eᵢ
Where:
Degrees of freedom: df = k − 1, where k is the number of categories
Example: A die is rolled 60 times. If fair, each face should appear 10 times.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.