PEARSON'S CHI-SQUARE TEST FOR INDEPENDENCE (p)
PEARSON'S CHI-SQUARE TEST FOR INDEPENDENCE (p)
Hypotheses
Null Hypothesis (H0): Variables are independent (carrying a weapon is not associated with age group).
Alternative Hypothesis (Ha): Variables are dependent (carrying a weapon depends on age group).
Chi-Square Calculation
Formula:
Where:
= observed frequency
= expected frequency
Expected Frequencies Calculation
Expected value formula:
Degrees of Freedom
Formula:
Example: For this case,
Significance Level
Significance level chosen: 0.05
Chi-square value determined: 28.42
Critical value: 5.99
If , reject H0
p-value Interpretation
If p-value < 0.05: reject null hypothesis, variables are dependent.
If p-value > 0.05: fail to reject null hypothesis, variables are independent.
Reporting Results
APA Style:
Example: "A chi-squared test of independence was performed… X2(2, N=1743) = 28.42, p < .001."
Assumptions for Chi-Square Test
Two categorical variables, mutually exclusive observations.
Expected cell frequency > 5; no more than 25% of cells should have an expected frequency < 5.
Checklist for Assumptions
Ensure assumptions are met before applying the test. Consider transformations or alternative tests if assumptions aren’t fulfilled.