Announcement

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

  • How to get constant term in -csdid- ?

    I am using -csdid- and need to see the constant term in the results table to interpret the output. Is this possible? My code is given below.

    Code:
     csdid `outcome' `covariates', time(year) gvar(gvar) cluster(regionID)
                
               scalar ss = e(N)
                estat simple, estore(`est_name')
                estat pretrend
                cap scalar pval = r(pchi2)

  • #2
    There is no Constant
    CSDID basically gives you the difference (adjusted) between observed and potential outcomes
    F

    Comment


    • #3
      I see.
      What if I want to say something like "The average difference pre-intervention was X units , and now is it lower by Y units"? Can I show X in the table, so that the comparison is meaningful with respect to a baseline?

      Comment


      • #4
        Ahh, Unfortunately no. CSDID was not written with that in mind ( the outcome is never estimated)

        you would need use a different estimator perhaps.

        Comment


        • #5
          Thanks for clarifying.

          Last question:
          Suppose I want to show the control group's mean post-treatment (Z). So, that I can say "Without the treatment, the treated group's average outcome would have been Z, but now it is lower/higher by Y".
          If we use -estat event-, the first two lines in the output table give "pre-average" and "post-average". Can these be used in any way to (manually) get my intended estimate? Or any other command that I could use?

          Thanks for all your help!

          Comment

          Working...
          X