R/lee2008.R

#' @title Data set used in Lee (2008)
#' @description Randomized experiments from non-random selection in U.S. House elections
#' @format A data frame with 6558 observations and two variables:
#' \describe{
#'     \item{demsharenext}{Democrat vote share election t+1}
#'     \item{difdemshare}{Running variable. Diff. democratic share}
#'     \item{demshareprev}{Democrat vote share t-1}
#'     \item{demwinprev}{Democrat win t-1}
#'     \item{demofficeexp}{Democrat political experience t}
#'     \item{othofficeexp}{Oppositions political experience t}
#'     \item{demelectexp}{Democrat electoral experience t}
#'     \item{othelectexp}{Oposition electoral experience t}
#' }
#' @source Mostly Harmless Econometrics Data Archive: \url{https://economics.mit.edu/people/faculty/josh-angrist/mhe-data-archive}
#' @references   Lee, D. (2008) Randomized experiments from non-random selection in U.S. House elections, \emph{Journal of Econometrics}, 142, 675-697
#' @name lee2008
NULL

Try the RATest package in your browser

Any scripts or data that you put into this service are public.

RATest documentation built on Sept. 29, 2022, 9:08 a.m.