Hi everyone,
I'm an undergrad and trying to understand what Stata does when I run a diff-in-diff command (TWFE). I have the following data:
Treated (Before): 50
Treated (After): 25
Untreated (Before): 55
Untreated (After): 100
I'm running a simple TWFE estimation in Stata (Y = B0 + B1Treated + B2After +B3Treated*After + error). How do I get this result by hand in this simple example? I'm trying to understand what's going on in Stata when I run this diff-in-diff so that I can understand more complicated examples.
Thank you!
Related Posts with Diff in Diff by Hand and Stata
Creating Latex Table with frmttableDear Stata-Community, I am using the actual version of Stata and want to present my results with ta…
New to SSC: ghsurv Survival models using cross-section data. Guell and Hu (2006) estimatorDear all, Thanks to Prof Baum, a new command is available on SSC. Its call "ghsurv". This command im…
Testing for significant differences with a categorical variableDear all, I have a categorical variable with educational attainment (1-5) and want to do a statisti…
Understanding ZINB & Post Estimation betterI have a dataset with 3,810 zero observations and 906 nonzero observations. Code: . zinb dp_ mig2g…
Heckman output does not show with Oaxaca-Blinder DecompositionWhen using the Heckman selection model with the O-B decomposition for whether an individual is disab…
Subscribe to:
Post Comments (Atom)
0 Response to Diff in Diff by Hand and Stata
Post a Comment