Data dictionary: policy_data.csv

Data from a randomised evaluation of a job-training programme: what each variable means and how the random forest uses it.

Select a column name to jump to its description.

FeatureControl featureTarget and the true effect behind itNot used by the forest

What the data are

Data from a randomised experiment evaluating a publicly funded job-training programme for unemployed workers. Each row is one person. Training was offered to a random half of the participants; earnings were measured 12 months later.

PropertyValue
Filepolicy_data.csv (comma-separated, decimal point, header row, UTF-8)
Rows20,000 (one per person)
Columns13
Missing valuesnone
Programme cost per participant3,000 EUR (used to define the target worthwhile)

Columns

Each card gives the type, the range, the meaning and the role of one column. The colour of the top edge shows the role.

Identifier

idinteger

Row identifier.

Values and unit
1 to 20,000
Role in the forest
Not used

Characteristics of the person (measured before the programme)

educationinteger

Years of completed schooling.

Values and unit
years, 9 to 20
Role in the forest
Feature
prior_earningsnumeric

Annual earnings in the year before the programme. Right-skewed (log-normal).

Values and unit
EUR per year, about 1,400 to 112,000
Role in the forest
Feature
unemp_monthsinteger

Number of months the person has been unemployed.

Values and unit
months, 0 to 36
Role in the forest
Feature
ageinteger

Age of the person.

Values and unit
years, 20 to 59
Role in the forest
Feature
femalebinary

Sex of the person.

Values and unit
1 = female, 0 = male
Role in the forest
Feature
urbanbinary

Place of residence.

Values and unit
1 = lives in an urban area, 0 = otherwise
Role in the forest
Feature
childreninteger

Number of dependent children.

Values and unit
0 to 3
Role in the forest
Feature
noisenumeric

Pure random number with no relation to any other variable. It is a control variable: a sound variable-importance method should rank it at or near zero.

Values and unit
standard normal (mean 0, sd 1)
Role in the forest
Feature (control)

Programme and outcome

treatedbinary

Randomly assigned (probability 0.5), so it is independent of all characteristics above. About 50% of rows are 1.

Values and unit
1 = offered the training programme, 0 = control group
Role in the forest
Not used in the classification scripts
earnings_12mnumeric

Annual earnings 12 months after the programme. Observed for everyone. Floored at 0.

Values and unit
EUR per year, 0 to about 65,000
Role in the forest
Not used in the classification scripts

True effect

tau_truenumeric

The true individual treatment effect: how much the person’s annual earnings change because of the programme.

Values and unit
EUR per year, about -11,800 to 12,600
Role in the forest
Not used (it defines the target)

Target variable

worthwhilebinary

1 if the programme is worthwhile for this person, that is, the true effect exceeds the programme cost: tau_true > 3000. 0 otherwise. About 44% of rows are 1.

Values and unit
1 = POSITIVE class, 0 = NEGATIVE class
Role in the forest
Target

Positive and negative class

Positive class (1): worthwhile = 1. The programme is worthwhile for the person, so the person should be treated.
Negative class (0): worthwhile = 0. The programme is not worthwhile for the person.

The random forest predicts P(worthwhile = 1 | characteristics), the probability of the positive class. A person is treated if this probability is at least the cut-off.