Learn R Programming

rddtools (version 1.6.0)

house: Dataset used in Lee (2008)

Description

Randomized experiments from non-random selection in U.S. House elections

Dataset described used in Imbens and Kalyamaran (2012), and probably the same dataset used in Lee (2008),

Arguments

Format

A data frame with 6558 observations and two variables:

x

Vote at election t-1

y

Vote at election t

References

Imbens, Guido and Karthik Kalyanaraman. (2012) 'Optimal Bandwidth Choice for the regression discontinuity estimator,' Review of Economic Studies (2012) 79, 933-959

Lee, D. (2008) Randomized experiments from non-random selection in U.S. House elections, Journal of Econometrics, 142, 675-697

Examples

Run this code
# NOT RUN {
data(house)
rdd_house <- rdd_data(x=x, y=y, data=house, cutpoint=0)
summary(rdd_house)
plot(rdd_house)
# }

Run the code above in your browser using DataLab