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
How to print values in parenthesis when using a matrix with esttab?So I generate a lot of tables where I have to use parenthesis (e.g mean (SD) format). The problem is…
Issue with svyset, getting "command svyset_8 is unrecognized"Hello all, I am in the process of analyzing some data from the National Readmissions Database (NRD)…
cmissing having no effectI am trying to create a line graph that does not connect when there are observations with missing da…
xtbcfe erroeDear All, I am trying to use the user written routine xtbcfe for bias corrected fixed effect estima…
Accidentally saved as txt fileHello I imported a txt file and then accidentally overwrote it as a txt file. I did not change any o…
Subscribe to:
Post Comments (Atom)
0 Response to Diff in Diff by Hand and Stata
Post a Comment