Labour economicsChapter 1: Introduction
Regression and natural experiments
Key facts
Key facts
- Course
- Labour economics, ECON 331
- Textbook
- Borjas, chapter 1
- Related
Regression analysis finds the line, or with several variables the plane, that best predicts an outcome from other variables; its slope measures how the outcome changes with each one. A natural experiment is an event that changes conditions for one group but not for a comparable group, and the difference-in-differences estimate of its effect is the change in the treated group’s outcome minus the change in the comparison group’s.
From theory to a testable prediction
Section titled “From theory to a testable prediction”Theory delivers a sign; evidence measures a size. Human capital theory predicts that schooling raises earnings (schooling as investment). To test it, collect data on many people or occupations, each an observation of years of schooling and the wage , and estimate
where is the intercept, the slope and the error term: everything other than schooling that affects observation ‘s wage. The prediction is ; the regression estimates .
Fitting a line by least squares
Section titled “Fitting a line by least squares”For any candidate line, the residual of an observation is its vertical distance from the line: actual minus predicted, . Ordinary least squares (OLS) picks the and that minimize the sum of squared residuals, .
The residuals are squared for three reasons: positive and negative misses would otherwise cancel, so a bad line could score zero; large misses are penalized more than small ones; and the minimization has a unique solution with a formula,
The second equation says the least-squares line always passes through the point of means .
- Your line: intercept
- 2.473
- Your line: slope
- 0.050
- Sum of squared residuals
- 0.196
- Smallest possible sum (least squares)
- 0.079
Reading a log-wage regression
Section titled “Reading a log-wage regression”When the dependent variable is in logs, a coefficient is a semi-elasticity: multiplied by 100, it is the approximate percent change in the wage when the variable rises by one unit. In Figure 1, , so one more year of schooling is associated with wages about 10 percent higher. The exact change is percent, here 10.5 percent; the approximation is close for coefficients below about 0.1 and understates larger ones.
Multiple regression adds variables. In , the coefficient measures the effect of schooling holding constant, that is, comparing people with the same . A typical output, with made-up numbers and standard errors in parentheses:
Among workers with the same experience, a year of schooling is associated with wages about 8.2 percent higher.
How precise is an estimate?
Section titled “How precise is an estimate?”- The standard error measures how much an estimate would vary across samples. A rough 95 percent confidence interval is the estimate plus or minus two standard errors: .
- The t-statistic is . If exceeds about 2, the estimate is statistically significant: the hypothesis is rejected at roughly the 5 percent level. Here .
- is the fraction of the variation in the dependent variable explained by the regressors, between 0 and 1. Individual wages depend on much that data do not record, so low values are common in wage regressions and say nothing about whether is right.
Statistical significance is not economic importance: a large sample can make a trivial effect significant.
Correlation is not causation
Section titled “Correlation is not causation”The error term contains every omitted influence on wages. If one of them is correlated with schooling, picks up its effect too: omitted variable bias. People with more ability tend to get more schooling and would earn more at any level of schooling, so a regression without ability overstates the return to schooling. The same problem appears as selection bias when people choose a treatment, such as a training program, because they differ in ways that also affect the outcome (evaluating training programs).
The fix is a source of variation unrelated to those omitted factors: a randomized experiment, or a natural experiment.
Difference in differences
Section titled “Difference in differences”A natural experiment is a policy change, rule or event that affects a treated group but not a similar comparison group (or control group), for reasons unrelated to the outcome. With outcome means for each group before and after the change,
Each simpler comparison is biased. The treated group’s before-after change mixes the effect with everything else that changed over time, such as the business cycle. The after-only gap between the groups mixes the effect with differences that existed before. The comparison group’s change estimates the common trend, and subtracting it removes both biases.
The estimate rests on one assumption, parallel trends: without the treatment, the treated group’s outcome would have changed by the same amount as the comparison group’s. The assumption cannot be checked after the treatment, but parallel movement in the years before it makes it more credible. It fails when the groups were already diverging, or when the treated group was selected for a temporary shock, as with trainees whose earnings dip just before they enrol.
- Change in New Jersey (treated)
- 0.59
- Change in Pennsylvania (comparison)
- −2.16
- Difference in differences
- 2.75
The same estimate comes from the regression , where for the treated group and in the later period: is the difference in differences, and its standard error says how precise it is.
Worked example
Section titled “Worked example”On April 1, 1992, New Jersey raised its minimum wage from $4.25 to $5.05 an hour while neighbouring Pennsylvania did not. David Card and Alan Krueger surveyed more than 400 fast-food restaurants in both states before and after the increase.1 Full-time-equivalent (FTE) employment counts full-time workers and managers plus half of part-time workers.
| Average FTE employment per restaurant | Before (Feb.–Mar. 1992) | After (Nov.–Dec. 1992) | Change |
|---|---|---|---|
| New Jersey (treated) | 20.44 | 21.03 | +0.59 |
| Pennsylvania (comparison) | 23.33 | 21.17 | −2.16 |
| New Jersey minus Pennsylvania | −2.89 | −0.14 | +2.75 |
-
First difference within each state. New Jersey: . Pennsylvania: .
-
Second difference. FTE employees per restaurant. The same number comes from differencing the bottom row: .
-
Compare with the naive estimates. New Jersey’s before-after change, , ignores that employment fell in the comparison state. The after-only gap, , ignores that New Jersey restaurants were smaller to begin with.
-
Interpret. Relative to Pennsylvania, employment in New Jersey rose by 2.75 FTE per restaurant, about 13 percent of its starting level. The competitive model predicts a fall; the result is evidence against a large job loss from this increase, if the two states shared a common trend.
The result was contested. Re-estimating with payroll records from 230 restaurants, David Neumark and William Wascher found a 4.6 percent decline in New Jersey employment relative to Pennsylvania; Card and Krueger replied in the same issue of the journal.2 The debate turned on data quality, not on the method: difference in differences is only as good as the measured outcomes and the parallel-trends assumption (minimum wage).
Evidence: natural experiments in this course
Section titled “Evidence: natural experiments in this course”| Question | Treated group | Comparison group | Finding |
|---|---|---|---|
| Does a daily overtime premium reduce long days? (overtime regulation) | California men, covered by daily overtime pay from 1980 | Men in other states; California women, already covered | Daily overtime among California men fell substantially; the price elasticity of demand for overtime hours is at least 0.7 in absolute value3 |
| How do disasters affect local labour markets? (shocks) | Florida counties hit by hurricanes | Counties not hit | Earnings per worker rise by as much as 4 percent in the quarter after a direct hit and move the opposite way in neighbouring counties4 |
| Do hospitals have monopsony power over nurses? (monopsony) | Veterans Affairs hospitals where the Nurse Pay Act of 1990 raised nurses’ wages to local market levels | Other hospitals in the same local markets, and VA hospitals with smaller raises | Labour supply to an individual hospital is inelastic, about 0.1 in the short run5 |
| Is the GED a signal? (signalling) | Low-scoring test-takers in states with lenient passing scores, who receive the GED | Test-takers with the same scores in strict states, who do not | The credential raises the earnings of young white dropouts by 10 to 19 percent6 |
| Does job training pay? (evaluating training programs) | Trainees | Randomized controls, or non-participants | Non-experimental estimates often fail to reproduce experimental ones7 |
For schooling itself, Canadian census data show the raw pattern that regression starts from.
Median employment income by highest level of education, Canada
Median employment income in 2020, full-year full-time workers aged 25 to 54 (2021 Census)
Show the data and notes
The Labour Force Survey publishes no annual table of wages by education, so this uses the 2021 Census. Restricting to people who worked 49 or more weeks in 2020, mostly full time (30+ hours a week), holds hours roughly constant, so the gaps approximate differences in pay rates. Employment income = wages, salaries and commissions plus net self-employment income; both genders. Pandemic benefits such as CERB are government transfers and are not included. This table does not split degrees above the bachelor's level.
| Category | Median employment income |
|---|---|
| No certificate, diploma or degree | $44,800 |
| High school diploma | $54,000 |
| Apprenticeship or trades certificate | $60,800 |
| College or CEGEP diploma | $61,600 |
| University certificate below bachelor's | $63,600 |
| Bachelor's degree or higher | $81,000 |
The log gap between a bachelor’s degree and a high school diploma is . Spread over the roughly four extra years of school, that is about 0.10, or 10 percent per year. It is a raw comparison: graduates differ from non-graduates in ability, family background and field, so it is an upper bound on the causal return only if those omitted factors raise both schooling and earnings (returns to schooling).
Common mistakes
Section titled “Common mistakes”Check yourself
Section titled “Check yourself”A regression of the log hourly wage on years of schooling gives a schooling coefficient of 0.07 with a standard error of 0.01. What does the coefficient mean?
A province raises its minimum wage; a neighbouring province does not. Average employment per restaurant:
| Before | After | |
|---|---|---|
| Province that raised its minimum wage | 18.0 | 17.2 |
| Neighbouring province | 21.0 | 21.4 |
What is the difference-in-differences estimate of the effect of the minimum wage on employment per restaurant?
What assumption makes a difference-in-differences estimate a valid estimate of a causal effect?
Sources
Section titled “Sources”-
Card, D. and Krueger, A. B. (1994). Minimum wages and employment: A case study of the fast-food industry in New Jersey and Pennsylvania. American Economic Review, 84(4), 772 to 793. Means computed from the authors’ public data set, njmin. ↩
-
Neumark, D. and Wascher, W. (2000). Minimum wages and employment: A case study of the fast-food industry in New Jersey and Pennsylvania: Comment. American Economic Review, 90(5), 1362 to 1396; the 4.6 percent estimate is from the working paper version, NBER working paper 5224. Card, D. and Krueger, A. B. (2000). Reply. American Economic Review, 90(5), 1397 to 1420. ↩
-
Hamermesh, D. S. and Trejo, S. J. (2000). The demand for hours of labor: Direct evidence from California. Review of Economics and Statistics, 82(1), 38 to 47. NBER working paper 5973. ↩
-
Belasen, A. R. and Polachek, S. W. (2009). How disasters affect local labor markets: The effects of hurricanes in Florida. Journal of Human Resources, 44(1), 251 to 276. IZA discussion paper 2976. ↩
-
Staiger, D. O., Spetz, J. and Phibbs, C. S. (2010). Is there monopsony in the labor market? Evidence from a natural experiment. Journal of Labor Economics, 28(2), 211 to 236. NBER working paper 7258. ↩
-
Tyler, J. H., Murnane, R. J. and Willett, J. B. (2000). Estimating the labor market signaling value of the GED. Quarterly Journal of Economics, 115(2), 431 to 468. doi:10.1162/003355300554818. ↩
-
LaLonde, R. J. (1986). Evaluating the econometric evaluations of training programs with experimental data. American Economic Review, 76(4), 604 to 620. Ashenfelter, O. (1978). Estimating the effect of training programs on earnings. Review of Economics and Statistics, 60(1), 47 to 57. ↩