STAR_MHE: Transformation of the STAR dataset as used in Angrist and...

STAR_MHER Documentation

Transformation of the STAR dataset as used in Angrist and Pischke (2008)

Description

Transformation of the STAR dataset as used in Table 8.2.1 of Angrist and Pischke (2008)

Format

A data frame containing 5743 observations and 6 variables. The first variable is from the original dataset, all other are created by Angrist and Pischke STAT code.

schidkn

School ID in kindergarden (original variable, schoolidk in STAR)

pscore

The propensity score (computed by A & P)

classid

The id of the class (computed by A & P)

cs

Class size (computed by A & P)

female, nwhite

Various covariates (computed by A & P)

Details

). This is a transformation of the dataset from the project STAR (Student/Teacher Achievement Ratio. The full dataset is described and available in package AER, STAR. The transformed data was obtained using the STATA script krueger.do, obtained from Joshua Angrist website, on the webstar.dta.

Source

Data obtained using the script krueger.do on data webstar.rda, found on J. Angrist website

References

Krueger, A. (1999) 'Experimental Estimates Of Education Production Functions,' The Quarterly Journal of Economics, Vol. 114(2), pages 497-532, May.

Angrist, A. ad Pischke J-S (2008) Mostly Harmless Econometrics: An Empiricist's Companion, Princeton University press

See Also

STAR for the original dataset.

Examples

data(STAR_MHE)

# Compute the group means:
STAR_MHE_means <- aggregate(STAR_MHE[, c('classid', 'pscore', 'cs')],
                            by=list(STAR_MHE$classid), mean)

# Regression of means, with weighted average:
reg_krug_gls <- lm(pscore~cs, data=STAR_MHE_means, weights=cs)
coef(summary(reg_krug_gls))[2,2]

bquast/RDDtools documentation built on Nov. 16, 2023, 3:28 a.m.