
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

26 October Test Statistic
i = 1
2
X^2 has an approximately chi-squared distribution with df = k – 1 (for k categories), assuming a large sample size (expected counts ≥ 5 in each category) Notation: X^2 ~ χ^2 (k – 1) ≡ χk - 1^2 The chi-squared distribution Is positively (or right) skewed Is always non-negative (X^2 ≥ 0) Has a shape determined by the degrees of freedom. It approaches a normal distribution as the degrees of freedom increase. P-values P-values = P(χk – 1^2 ≥ X^2 ) Reject H 0 if P-value < α (always true) Here we always have a right-tailed test P-values come from Table 8 Bounded between two values Ex: k = 15 X^2 = 24 df = 15 – 1 = 14 p-value = P(χ 142 ≥ 24) .045 < P(χ 142 ≥ 24) <.
What if we have bivariate categorical data? For each subject (experimental unit), two different categorical variables are collected. 2 possible questions of interest Do populations differ based on particular categorical variable? Does knowledge of one category provide information about the other? Depends on how data was collected Use contingency tables to help us answer these questions