December 2, 2025
Every way of using correlation as evidence for causality makes assumptions
@larreth These Jobs Will Fall First As AI Takes Over 🚨 My cousin just lost his data entry job in Bloemfontein. No warning, no ceremony. The company replaced his entire team with an AI system that does all their work in just minutes. It’s the canary in the coal mine. If your job involves predictable patterns or repetitive tasks, you’re already on borrowed time. 🕰️ The pattern is clear: AI is replacing routine jobs first. But here’s the silver lining: jobs like prompt engineering didn’t even exist two years ago. The work isn’t disappearing—it’s changing. And those who adapt will thrive. The real challenge? The window to prepare is closing faster than we want to admit. Are you ready to pivot? The time to future-proof your career is NOW. #AI #ArtificialIntelligence #FutureOfWork #JobMarket #CareerChange #Automation #TechTrends #DigitalTransformation #JobLoss #AIRevolution #Innovation #FutureJobs #AdaptOrDie #Reskilling #Upskilling #TechCareers #AIImpact #WorkLife #CareerDevelopment #AIJobs #JobSecurity #AIInBusiness #AIChangesEverything #AutomationEra #CareerGrowth #TechFuture #AIAdvancements #WorkplaceTrends #AIInnovation #JobDisruption #careertips ♬ LEGACY 2 - Ogryzek
What might be some confounding variables if…
we just compared the number of people employed in jobs are at risk /not at risk to AI replacement?


What might be some confounding variables if …
we just compared employment in jobs at risk of AI replacement before and after mass adoption of AI?
| Solution | How Bias Solved |
Which Bias Removed |
Assumes | Internal Validity |
External Validity |
|---|---|---|---|---|---|
| Experiment | Randomization Breaks \(W \rightarrow X\) link |
All confounding variables | 1. \(X\) is random 2. Change only \(X\) |
Highest | Lowest |
| Conditioning | Hold confounders constant |
Only variables conditioned on |
1. Condition on all confounders 2. Low measurement error 3. Cases similar in \(W\) |
Lowest | Highest |
| Before and After | Hold confounders constant |
variables unchanging over time |
No causes of \(Y\) change w/ \(X\) |
Lower | Higher |
But, Before and After assumes that there is nothing else about Missouri that
(or more technically, assume that \(\color{red}{\text{Murders}_{MO,After}[\text{No Repeal}]} = \color{black}{\text{Murders}_{MO,Before}[\text{No Repeal}]}\))
No long-term trends, no effects on measurement, no changes in crimes \(\to\) PTP repeal
We want to compare the actual trend in Missouri:
\(\begin{equation}\begin{split}\text{Trend}_{MO} ={} & \color{black}{\text{Murders}_{MO,After}[\text{Repeal}]} - \\ & \color{black}{\text{Murders}_{MO,Before}[\text{No Repeal}]}\end{split}\end{equation}\)
against the counterfactual trend in Missouri:
\(\begin{equation}\begin{split}\color{red}{\text{CF Trend}_{MO}} ={} & \color{red}{\text{Murders}_{MO,After}[\text{No Repeal}]} - \\ & \color{black}{\text{Murders}_{MO,Before}[\text{No Repeal}]}\end{split}\end{equation}\)
\(\small{\begin{equation}\begin{split} = {} & \overbrace{\{\text{Murders}_{MO,After}(\text{Repeal}) - \text{Murders}_{MO,Before}(\text{No Repeal})\}}^{\text{Missouri observed trend}} - \\ & \underbrace{\{\color{red}{\text{Murders}_{MO,After}(\text{No Repeal})} - \text{Murders}_{MO,Before}(\text{No Repeal})\}}_{\color{red}{\text{Missouri counterfactual trend}}}\end{split}\end{equation}}\)
Many possible counterfactual trends…
Which counterfactual trend is right?
Which counterfactual trend is right?

We can’t know the counterfactual trend in Missouri…
but we can observe the trends in other states that did not change their gun purchasing laws (no change in Gun Control, \(X\)).
Then, we can plug in
\(\small{\begin{equation}\begin{split} = {} & \overbrace{\{\text{Murders}_{MO,After}(\text{Repeal}) - \text{Murders}_{MO,Before}(\text{No Repeal})\}}^{\text{Missouri observed trend}} - \\ & \{\underbrace{\text{Murders}_{AR,After}(\text{No Repeal}) - \text{Murders}_{AR,Before}(\text{No Repeal})\}}_{\text{Arkansas observed trend}}\end{split}\end{equation}}\)

How can we apply the same idea here?
Like before and after, differences in differences comparisons are design based:
By comparing changes over time in “treated” (\(X\) changes) and “untreated” (\(X\) does not change) cases:
Regardless of whether we have thought of those variables, whether we can measure those variables.
What is it?
How does it work?
Measuring AI exposure:
AI Exposure (\(X\)): degree to which job-specific tasks are replaceable with AI, by job category
Measuring Employment:
Why is it called difference in differences?
\(\small{\begin{equation}\begin{split} = {} & \overbrace{\{\text{Jobs}_{High \ AI,After}(\text{AI}) - \text{Jobs}_{High \ AI,Before}(\text{No AI})\}}^{\text{High AI Exposure observed trend}} - \\ & \{\underbrace{\text{Jobs}_{Low \ AI,After}(\text{No AI}) - \text{Jobs}_{Low \ AI, Before}(\text{No AI})\}}_{\text{Low AI Exposure observed trend}}\end{split}\end{equation}}\)
So:
All confounding variables (affect employment, affect AI exposure) that are unchanging over time are held constant
All confounding variables that change the similarly in “treated” and “untreated” cases are held constant.
In groups: examples of variables in the “held constant” categories?
Assumed the observed trend in \(Y\) for “untreated” cases (low AI exposure) is equal to the “counterfactual trend” in \(Y\) for the “treated” cases (High AI exposure, absent AI).
Should we believe assumption of “parallel trends”?
that… Counterfactual trend (without AI) in High-AI exposure jobs same as factual trend (with AI) in Low-AI exposure jobs?
In groups: examples of variables in that change differently over time in low and high-AI exposure and affect employment?
When is the “parallel trends” assumption plausible?
Bad news for younger workers
No news for mid-career workers
When is the “parallel trends” assumption plausible?
Do the treated and untreated cases have parallel trends before treatment?
Are we comparing cases that experience many similar changes over time?
Comparing jobs within firms (difference in jobs b/t quintile \(q\) vs quintile \(1\))
| Solution | How Bias Solved |
Which Bias Removed |
Assumes | Internal Validity |
External Validity |
|---|---|---|---|---|---|
| Experiment | Randomization Breaks \(W \rightarrow X\) link |
All confounding variables | 1. \(X\) is random 2. Change only \(X\) |
Highest | Lowest |
| Conditioning | Hold confounders constant |
Only variables conditioned on |
see above | Lowest | Highest |
| Before and After | Hold confounders constant |
variables unchanging over time |
No causes of \(Y\) change w/ \(X\) |
Lower | Higher |
| Diff in Diff | Hold confounders constant |
unchanging and similarly changing |
Parallel trends | Higher | Lower |
Results point to:
Acemoglu and Restrepo (2022) investigate:
Has automation of work helped or hurt workers?
Data:
“Cases”:
Rather than looking at wages in industries with more automation, or change in wages in the US over time, use a difference in differences:
They compare:
Change in real wages for demographic groups with high exposure to automation between 1980 and 2016 (change in \(Y\) for group where \(X\) changes)
Change in real wages for demographic groups with low/no exposure to automation between 1980 and 2016 (change in \(Y\) for group where \(X\) does not change)
Assume that counterfactual trend in wages for workers exposed to automation SAME as factual trend in wages for workers not exposed to automation.
For groups with greater increase in automation exposure, greater decline in wages
Correlation suggestions Automation \(\xrightarrow{causes}\) declining wages
For this to be the causal effect of automation, need to believe that wages for workers exposed / not exposed to automation would have been similar without automation…
No differences in wage trends before automation.
It still could be that other things that affect wages changed differently for workers exposed to automation than for those who were not.
“capital takes what it will in the absence of constraints and technology is a tool that can be used for good or for ill… Yes, [during the Industrial Revolution of the 19th Century] you got progress, but you also had costs that were huge and very long-lasting. A hundred years of much harsher conditions for working people, lower real wages, much worse health and living conditions, less autonomy, greater hierarchy. And the reason that we came out of it wasn’t some law of economics, but rather a grass roots social struggle in which unions, more progressive politics and, ultimately, better institutions played a key role — and a redirection of technological change away from pure automation also contributed importantly.”
Luddites?
Yes… Luddites.
Yes… Luddites.