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
problems with Generalized Least SquareHi Forum! I have a problem with GLS method. I'm not sure that the Stata command "xtgls" is correct f…
Heckman Correction Rho=1 and some other issuesDear Statalisters, I have several issues and questions concerning the use of the Heckman correction…
Error r198 when using qui { commandI'm recreating a study for my final project and I'm using the code the economists used in the study …
META ANALYSIS - meta regression -Prevalence studyHi everybody, I have to do a meta-analysis. The aim of this meta-analysis (37 studies) is THE preva…
extract duplicates list for which some other variable takes both possible valuesHello, I have data with 3 variables: Company_name (uniquely defined), owner_name (not uniquely defin…
Subscribe to:
Post Comments (Atom)
0 Response to Diff-in-diff estimation in stata
Post a Comment