A Line That Predicts Earnings

Guess, fit a straight line in R, read its two numbers, then ask how good it is.

The lalonde data (Matching package): 445 men in a job-training experiment

Six of the 445 rows. Earnings are in dollars.

age
age in years
educ
years of schooling
black, hisp
1 = Black / Hispanic, 0 = not
married
1 = married, 0 = not
nodegr
1 = no high-school diploma, 0 = has one
re74, re75, re78
real earnings in 1974, 1975 and 1978
u74, u75
1 = no earnings that year, 0 = some
treat
1 = in the job-training program in 1976, 0 = not

1. What would you predict, and from what?

A model can predict one column from other columns. The column you predict is the dependent variable; the columns you predict it from are the independent variables.

As a group: which column would you most like to predict, and which columns would you use? Name the dependent and the independent variables, and say why those independent variables might help.

Points to compare
  • The dependent variable is the one you want to know; the independent ones are what you already know when you predict.
  • Time order helps: 1974 and 1975 earnings are known before 1978, so they can predict re78. A model can't use information that arrives after the thing it predicts.
  • The study itself compared re78 between men with treat = 1 and treat = 0, to see whether training raised earnings.
Assumptions

Left out: checking predictions on new data, and whether 1974 earnings cause 1975 earnings (the line only predicts).