Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Difference-in-Difference in Stata

    Hi there, apologies in advance if this question is a bit novice.

    I am tasked with a school assignment to write a D-I-D paper comparing the effects of a policy change in one state vs. a similar state that did not experience the policy change. We were asked to make a Descriptive Statistics table containing the mean, SD, min, and max for every variable included in the regression (including controls), as well as the p-value for those differences in means. Even more, I have to report these things for each state before AND after the policy. Is there one nice and compact command that spits all of this out into a table? Seems like a lot.

    Thank you very much in advance for any guidance on this!

  • #2
    Anna:
    welcome to this forum.
    As you might be aware of (please, see the FAQ if that were not the case), queries related to school assignments are not encouraged on this forum, especially when the poster seems to ask for the solution of what should be a fair challenge between students and their teacher.
    Things may be different if the poster sketch something in Stata by herself/himself, post what she/he typedna d what Stata gave her/kim back (via CODE delimiters, please) and try to elicit the opinion of interested listers on what she/he did.
    That said, as far as DID is concerned, you can take a look at http://www.princeton.edu/~otorres/DID101.pdf, whereas you can see -help tabstat- for descriptive statistics (sidelight: asking for descriptive statistics cannot be considered squeezing the students!).
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment

    Working...
    X