Hi Mr. Clyde Schechter,
I am working with a panel dataset containing the 50 states (+D.C) containing information the states' stress abstinence policy for teenagers for the years 2003 to 2012. I need help on how I can create 1. variable indicating the control and treatment groups and 2) pre and post-treatment (pre-being before the stress abtsinence policy was enacted, and post-being years after the enactment)so that I can carry out a difference in difference estimation in Stata. I already have a variable that says stress abstinence (equal to 1 for stress, and 0 elsewhere).
I'd appreciate any help. Thank you.
Related Posts with Diff-in-diff estimation in stata
Specific Values of Variables and creating a new VariableHello, I am trying to takes 3 variables and take a specific value from that variable, and create a …
Terrible parallelization performance in MataI just ran an example from the SJ paper about boottest ("Fast and Wild") and was surprised at its po…
Lincom for interpreting interactions in logistic regressionHello, I am estimating, for example, the following double-difference / difference-in-difference log…
Plot Transition Matrix on a GraphHi all, I would like to plot in a graph the transition matrix from employment to employment (EtoE),…
Replace missing values with those of previous values or those of the partnerHi Statalist. I am using annual survey responses on marital status from a panel study (for each par…
Subscribe to:
Post Comments (Atom)
0 Response to Diff-in-diff estimation in stata
Post a Comment