Displaying 1 result from an estimated 1 matches for "hwover".
Did you mean:
hover
2009 May 01
0
Confusion going from Stata -> R
...reatment and control groups in 1976, and residents surveyed in 1976 and 1985
# i.year indicates the year the respondent was surveyed
# i.st is a factor indicating the respondent's state of residence
# i.treatment is a dummy indicating whether that individual was resident in a treatment state
# hwover is the binary response variable of interest
load(url("http://h1.ripway.com/rdump/d.rdata"))
# load data frame "d" (slow to load, retry if 404)
# Code i.st as a factor
d$i.st <- factor(d$st)
n.i.st <- length(levels(d$i.st))
levels(d$i.st)[14] # Level 14 == "ME"...