angrist: Angrist data set for education and wages

Description Format Details Source References Examples

Description

A random sample of 1000 observations from the data set used by Angrist and Krueger in their investigation of the impact ' of education on future wages.

Format

A data frame with 1000 observations on the following 7 variables.

wage

a numeric vector

educ

a numeric vector

qob

a numeric vector

IV

a numeric vector

age

a numeric vector

married

a numeric vector

race

a numeric vector

Details

This data set is a random sample of 1000 observations from the URL listed below.

Source

http://economics.mit.edu/faculty/angrist/data1/data/angkru1991

References

Angrist JD, Krueger AB (1991). Does Compulsory School Attendance Affect Schooling and Earnings? The Quarterly Journal of Economics, 106(4), 979-1014.

Examples

1
2
3
library(nearfar)
str(angrist)
## maybe str(angrist) ; plot(angrist) ...

Example output

Loading required package: nbpMatching
Notice:
Formerly the gendistance() function scaled the Mahalanobis distances into large
integers, as required by the nonbimatch() function. Starting in version 1.5.0,
gendistance() will return unscaled distances. This facilitates comparison to an
appropriate F distribution for multivariate normal data. Any required scaling
will happen invisibly within nonbimatch(). This notice will be removed in a
future version of nbpMatching.
'data.frame':	1000 obs. of  7 variables:
 $ wage   : num  5.12 5.37 5.79 6.38 6.29 ...
 $ educ   : int  12 18 12 16 10 13 16 17 9 15 ...
 $ qob    : int  1 2 1 4 1 3 1 3 2 2 ...
 $ IV     : int  4 3 4 1 4 2 4 2 3 3 ...
 $ age    : int  43 34 35 44 46 32 41 30 47 32 ...
 $ married: int  1 0 1 1 1 0 1 1 1 1 ...
 $ race   : int  0 0 0 0 0 1 0 0 0 0 ...

nearfar documentation built on May 2, 2019, 3:29 p.m.