Skip to content
Prev 381247 / 398502 Next

Creating a before-and-after variable in R

Hi, 

I was thinking that it could simply show the negative counts. For ex: if a country hasn?t introduced the policy X, and it's in the dataset from 1982 to 2014, then the treatment variable would take a value -33 in 1982 and -1 in 2014. 

Best, 
Faradj