- Use of statistical methods to analyze economic data
- Dealing with nonexperimental data
- Trying to make inferences from incomplete data
- i.e. trying to estimate population-wide relationships based on sample data
August 31, 2016
Examples: estimating demand curve, evaluating effects of minimum wage increase
“A planner is a gentle man, with neither sword nor pistol. He walks along most daintily, because his balls are crystal.” Mike Lynch, MIT
"Prediction is very difficult, especially if it's about the future." Nils Bohr, Nobel laureate in Physics
\[y = f(w_1,w_2,p_1,p_2,s,a)\]
Symbol | Variable |
---|---|
\(y\) | criminess |
\(w_1,w_2\) | wages from crime (1) and legal wages (2) |
\(p_1,p_2\) | probabilities of getting caught (1) and convicted (2) |
\(s\) | likely sentence |
\(a\) | age |
\[ crime = \beta_0 + \beta_1 wage + ... + u\]
\[ y = \beta_0 + \beta_1 X + ... + u\]
When the effects of all the things not in our model are small, it's relatively easy to see the relationship between our variables.
When the data is noisier (i.e. there's a lot of variation in \(y\) that isn't associated with \(x\)) the confidence interval (dark grey) expands and we're less certain that the relationship holds up.
obs | city | crime rate | poverty rate |
---|---|---|---|
1 | 03441 | 0.25 | 0.23 |
2 | 03442 | 0.15 | 0.03 |
3 | 03456 | 0.23 | 0.14 |
4 | 03458 | 0.35 | 0.12 |
5 | 03460 | 0.34 | 0.27 |
obs | year | crime rate | poverty rate |
---|---|---|---|
1 | 1999 | 0.25 | 0.23 |
2 | 2000 | 0.25 | 0.23 |
3 | 2001 | 0.23 | 0.24 |
4 | 2002 | 0.25 | 0.22 |
5 | 2003 | 0.24 | 0.27 |
obs | year | city | crime rate | poverty rate |
---|---|---|---|---|
1 | 1999 | Baltimore | 0.25 | 0.23 |
2 | 2000 | Baltimore | 0.25 | 0.23 |
3 | 2001 | Baltimore | 0.23 | 0.24 |
4 | 1999 | Dist Col. | 0.15 | 0.22 |
5 | 2000 | Dist Col. | 0.14 | 0.27 |
What about when we think \(x_1\) and \(x_2\) work together to affect \(y\)? We can use interaction terms to understand the effect of both of them together.
Correlation doesn't imply causation, but it does waggle its eyebrows suggestively and gesture furtively while mouthing "look over there".
The best way to determine causality is with an experiment.
Most economists aren't able to run experiments, so figuring out causality is much harder.
Good advice: imagine an experiment that would help you figure out causality.