Secondary Data, Documents and Content Analysis
Use existing datasets and archives wisely, design a content analysis with a codebook, and measure agreement between coders with Cohen's kappa.
Welcome back!
Step 1 of 12Learn
Research without recruiting anyone
Some of the most influential studies in economics, sociology, public health and history did not collect a single new observation. They analyzed secondary data: information collected by someone else for another purpose.
Sources include:
- Official statistics and censuses: population, employment, health and education data from national statistics offices and international bodies.
- Large research surveys: long-running national and cross-national surveys of values, health, income and labor that release anonymized data to researchers.
- Administrative records: school enrollment, tax records, hospital admissions, court cases, usually accessed under strict agreements.
- Digital traces: social media posts, search trends, transaction data.
- Documents and archives: newspapers, parliamentary records, company reports, letters, policy papers.
Advantages are big: large samples, national coverage, long time spans, low cost and no burden on participants. A student can analyze data from tens of thousands of people in one semester.
The costs are subtler. You did not design the questions, so the variables may only approximate your concept. Definitions may change over time (a country redefines unemployment; a survey rewords a question). And you must learn how the data were collected, including weighting and missing values, before trusting any result.
Step 2 of 12Practice · Select all that apply
A student plans to study how household income relates to children's school attendance using a national survey released five years ago. What should she check before analyzing? Select all that apply.
Select all that apply.
Step 3 of 12Note
Step 4 of 12Practice · Chart
The 99 problem in ten households
Children per household: 2, 1, 3, 0, 2, 99, 1, 2, 99, 3. Two households answered "refused", coded 99.
Which bar is the believable average?
Tap the bar that answers the question, then press Check.
Step 5 of 12Learn
Content analysis: counting meaning systematically
Content analysis is a method for systematically classifying and often counting features of texts, images, audio or video. Media researchers count how often women appear as experts in news stories; political scientists track the tone of party manifestos; health researchers code food advertisements aimed at children.
Steps in a quantitative content analysis:
- Define the population and sample of content. For example, all front-page stories in five national newspapers in 2025, sampled as a constructed week (a random Monday, a random Tuesday and so on, to avoid weekday bias).
- Choose the unit of analysis: the article, the paragraph, the image, the speaker.
- Build a codebook: each variable with a clear definition, rules and examples. "Tone toward immigration: positive / neutral / negative / mixed," with examples of each.
- Train coders and pilot the codebook on content not in the final sample.
- Test intercoder reliability: two or more coders independently code the same subset, usually 10% to 20% of the sample.
- Code the full sample and analyze it statistically.
Qualitative content analysis follows a similar logic but focuses on interpreting meaning in context with less counting. Both depend on the codebook: if two careful coders cannot apply a category consistently, the category is not measuring anything stable.
Step 6 of 12Practice · Put in order
Put the steps of a quantitative content analysis in order.
Drag the items, or use the arrow buttons, to put them in order.
- Train coders and pilot the codebook
- Decide the unit of analysis
- Define the content population and sample
- Have two coders code a subset and measure agreement
- Code the full sample and analyze the results
- Write the codebook with definitions and examples
Step 7 of 12Learn
Cohen's kappa: agreement beyond chance
Suppose two coders classify 200 news articles as "mentions climate" or "does not." They agree on 170, which is 85% agreement. Impressive? Not necessarily. If most articles clearly do not mention climate, coders would agree often even when guessing.
Cohen's kappa (κ) corrects for chance agreement:
κ = (p_o − p_e) / (1 − p_e)
where p_o is the observed proportion of agreement and p_e the proportion expected by chance, computed from how often each coder uses each category. If coder A says "mentions" for 40% of articles and coder B for 50%, chance agreement is p_e = (0.40 × 0.50) + (0.60 × 0.50) = 0.20 + 0.30 = 0.50.
Then κ = (0.85 − 0.50) / (1 − 0.50) = 0.35 / 0.50 = 0.70.
Kappa runs from 1 (perfect agreement) through 0 (no better than chance) to negative values (worse than chance). A widely used rough guide calls 0.41–0.60 moderate, 0.61–0.80 substantial and above 0.80 almost perfect. Many journals expect at least 0.70 to 0.80 for published content analysis. If kappa is low, refine the codebook definitions, retrain and test again on new material.
Step 8 of 12Try the calculator
Cohen's kappa for two categories
Enter the percentage of items the coders agreed on and how often each coder used the "yes" category.
- Chance agreement p_e
- 0.5
- Cohen's kappa
- 0.7
Step 9 of 12Practice · Work it out
Two coders agree on 90% of items, and the agreement expected by chance is 0.60. What is Cohen's kappa? (Give a decimal, for example 0.55.)
Step 10 of 12Practice · True or false
If two coders agree on 95% of items, intercoder reliability must be excellent.
Step 11 of 12Practice · Chart
90% agreement, four different kappas
Kappa = (observed agreement − chance agreement) ÷ (1 − chance agreement), with observed agreement fixed at 90%.
Which situation has 90% agreement but no agreement beyond chance at all?
Tap the bar that answers the question, then press Check.
Step 12 of 12Practice · Choose one
Which is the main limitation a researcher accepts when using an existing national survey instead of collecting new data?
Lesson complete!