States that spend more on health tend to have higher life expectancy.
Intro to Computational Journalism · Session 8
Thinking with data
From numbers to evidence
Keep asking
What can I responsibly sayfrom this data?
The calculation is rarely the end of the reporting question.
What is a typical household income here?
Same values · Different summaries
Near the centre of most households.
Every value contributes—including ₹4 lakh.
The mean answers one question. The median answers another.
Same mean · Different shape
Most values cluster near the mean
No values sit near the mean
Whenever someone gives you an average, ask to see the distribution.
OUTLIER ≠ BAD DATA
Investigate it before you delete it.
Section 02
Variables move together.
That is a pattern. It is not yet an explanation.
As X changes, what tends to happen to Y?
Correlation coefficient · A compact description
Direction
Strength
We are interpreting r—not calculating it by hand.
Income per capita × life expectancy
Higher-income states tend to have higher life expectancy.
Why?
The scatterplot shows a relationship. It does not tell us what produced it.
Section 03
CORRELATION ≠ CAUSATION
Possibility 1 · X causes Y
Possible. But the observed correlation alone does not prove this path.
Reverse causality · Y may affect X
Higher crime may lead governments to hire more police.
Confounder · A third variable affects both
Other reasons a relationship can appear
How were the variables recorded?
Who entered the dataset?
Could this pattern be chance?
Which claim does the data support?
Higher health spending makes people live longer.
Causal language
causes
leads to
drives
results in
Descriptive language
is associated with
is correlated with
tends to accompany
was higher among
coincided with
“Correlation ≠ causation” does not mean “causation can never be established.”
Your language should not bestronger than your evidence.
A poll surveys 1,500 voters
support Candidate A
Did 47% of all voters tell us this?
Population
Everyone we want to understand
Sample
The people we actually observe
Which poll would you trust?
Poll A
100,000voluntary Instagram responses
Poll B
2,000carefully sampled voters
REPRESENTATIVENESS > SHEER SIZE
Who had a chance to appear in the data?
An online poll reaches people who chose to visit.
People who answer may differ from people who do not.
Successful startups are visible; failed startups disappear.
A confusing question changes the answer recorded.
REPORTED CRIME ≠ ALL CRIME
Administrative data measures systems as well as reality.
Candidate A · 47% · ±3 percentage points
Candidate A · 47%
Candidate B · 45%
Can we confidently say A is leading?
Overall survival
Hospital A
85%Hospital B
90%Which hospital looks better?
Wait. What happened?
Columns: Hospital A · Hospital B
Hospital A treats many more high-risk patients.
The aggregate hid who was in each group.
BREAK IT DOWN.
State-level relationship
States with higher literacy have lower fertility.
Does not automatically mean
Literate women have fewer children.
What does one row represent?
18,000 people died.
Is that high?
You can calculate everything correctly and still reach the wrong conclusion.
Counts vs rates
UP has more road deaths than Goa.
Per 100,000 people? Vehicles? Kilometres of road?
Percent vs percentage points
5% → 6%+1 percentage point · +20% relative increase
Big number
₹80,000 crore → ₹1 lakh crore
Is that actually
a large increase?
2020 → 2024 = +50%
2019 → 2024 = +5%
Why did you choose your starting year?
Do not begin with df.dropna()
Who is missing?
Missing observations may be poorer, rural, conflict-affected
or served by weaker administrative systems.
30 states × 20 indicators × 10 years
Eventually, something will look interesting.
An interesting correlation is the beginning of reporting
Everything we just discussed can also go wrong visually.
Which states have the highest unemployment?
Bar chart
How has inflation changed?
Line chart
Are income and life expectancy related?
Scatterplot
Where do most incomes fall?
Histogram
CHARTS ARE ARGUMENTS.
Y-axis · 0–100
Y-axis · 89–92
A chart can contain no false numbers and still mislead.
Return to the question
What can I responsibly say from this data?
What exactly is being measured, and who or what is missing?
What is the right denominator, baseline and comparison?
What does this evidence allow me to say—and what does it not allow me to say?
NEXT · Seeing the story · Data visualization