UNIHIVE

Study Hub UNIPORT CMS 303

CMS 303 · Data Analysis in Communication Research

Chi-square tests for media data

Testing relationships between categorical variables in cross-tabulations, expected counts, degrees of freedom and Cramér's V.

Our notes

2 min read

When to use

Both variables are categorical (nominal or ordinal with few categories): gender and preferred news source; ownership of a newspaper (private, government) and tone of election coverage; age group and use of a social platform.

The idea

If the variables were unrelated, each cell's count would match an expected count = (row total × column total) ÷ grand total. Chi-square adds up how far the observed counts are from these:
χ² = Σ (O − E)²/E, with df = (rows − 1)(columns − 1).

Worked example

120 students by gender and preferred news source:

TVRadioOnlineTotal
Male20152560
Female10252560
Total304050120

Expected counts: each row total is 60, so E = 60 × 30/120 = 15 (TV), 60 × 40/120 = 20 (radio), 60 × 50/120 = 25 (online), for both rows.
χ² = (20 − 15)²/15 + (15 − 20)²/20 + 0 + (10 − 15)²/15 + (25 − 20)²/20 + 0
= 1.667 + 1.25 + 0 + 1.667 + 1.25 + 0 = 5.83.
df = (2 − 1)(3 − 1) = 2; critical value at 0.05 = 5.991.
5.83 < 5.991, so we fail to reject H₀ (p ≈ 0.054): the difference in this sample could be chance.
(Checked by computer: χ² = 5.833.)

Strength: Cramér's V

V = √[χ² ÷ (N × (k − 1))], where k is the smaller of rows or columns.
Here V = √(5.83/120) = 0.22: a weak association, and not significant. A rough guide: 0.1 weak, 0.3 moderate, 0.5 strong.

Conditions

  • Counts of independent cases (each respondent once).
  • Expected counts of at least 5 in most cells (merge small categories, e.g. "newspaper" and "other", if needed).
  • Use actual counts, never percentages.

Goodness of fit

One variable against an expected pattern: do the 4 main newspapers get equal shares of front-page health stories? E = total ÷ 4 for each; df = categories − 1.

Reading software output

SPSS (Analyze → Descriptive Statistics → Crosstabs → Statistics → Chi-square) reports the Pearson Chi-Square value, df and "Asymptotic Significance" (the p-value). Tick Cramér's V and ask for expected counts and row or column percentages.

Interpreting

Report the percentages that show the pattern, the test, and a plain-language conclusion: "Women were more likely than men to name radio (42% against 25%), but the overall relationship was not significant at 0.05."

Exams usually ask

  • Compute expected counts, χ², df and the decision.
  • State the conditions for chi-square.
  • Interpret SPSS crosstab output.

Common mistake

Concluding "no relationship exists" when p > 0.05. The test only shows the sample did not provide enough evidence; a larger sample might.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All CMS 303 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.