scunning1975 / mixtape

Data and Program files for Causal Inference: The Mixtape
Other
398 stars 217 forks source link

Issues with lmb_5.R and lmb_6.R #12

Closed kylebutts closed 3 years ago

kylebutts commented 3 years ago

lmb_data %>% mutate(demvoteshare_sq = demvoteshare_c^2)

need lmb_data <- lmb_data %>% mutate(demvoteshare_sq = demvoteshare_c^2)

stnavdeev commented 3 years ago

To be able to replicate the results and have 2441 observations, it has to be: lmb_subset <- lmb_subset %>% filter(lagdemvoteshare > .45 & lagdemvoteshare < .55)