I have annual state panel data. Each state implemented a state reform at different times (year). I have information on the month and year of implementation. I want to generate a treatment dummy variable for the timing (year) of the reform implementation. I can generate a dummy variable equal to 1 or 0 by the year. However, in some cases like when the reform was implemented in November 2014, would the dummy receive a 1 in 2014 or a 0? Is there a way to create a dummy variable that would allow me to somehow capture the month in generating the dummy treatment variable? Note I don't have monthly state data, it is a panel of state annual data so I need to keep the year dimension in the data set.
Thanks in advance!
Marilyn
Related Posts with State Panel data - generating a year treatment variable with a month component?
Panel bootstrap after Wooldridge (1995) two-step estimatorDear Statalisters, I have a panel data set which suffers from sample selection bias. I am following…
A dates conversion questionI have a variable of type integer. It contains years as YYYY. I wish to convert it to double type an…
Mean Table by two subgroups and transfer to latexDear all, I'm currently trying to generate a output table of the mean values of accumulated labour …
Users' Written Command update and Stata versionIs there a way to make Stata not update the commands to a version higher than that of Stata. Some c…
Special characters issue PC to MacHello all, I am working on a survey project where the variable and value labels are in French, mean…
Subscribe to:
Post Comments (Atom)
0 Response to State Panel data - generating a year treatment variable with a month component?
Post a Comment