Announcement

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

  • #61
    Hi Ridwan
    So "pretrend" simply does the following
    test pre1 pre2 pre3
    assuming pre* are the pretreatment estimates
    and the null is that all are zero

    you can achieve exactly the same using the estat event with post option,
    then using "test" for joint test

    Test produces different tests based on Standard errors and model assumptions. So check on the manual for more details

    So two options:
    estat event, predict(xb) pretrend window(-4 -1)


    or estat event, predict(xb) post window(-4 -1)

    then check coef names
    then run Test

    Comment


    • #62
      Thank you very much FernandoRios. It really helped.

      Code:
      estat event, predict(xb) pretrend window(-4 -1)
      or using an indirect approach

      Code:
      estat event, predict(xb) post window(-4 -1)
      
      ereturn list
      matrix list e(b)
      
      test  15.__event__ 16.__event__ 17.__event__ 18.__event__
      Yes, both these approach produce same Wald test statistic (Chi2 and p-value).

      Thank you,
      (Ridwan)

      Comment


      • #63
        Fernando's point about the treatment cohort is important when outcomes are dropped. I would first construct the first-treatment date from the treatment history or administrative source, then keep that cohort code fixed when creating the different outcome samples.

        For a numerical comparison, align the actual estimation rows, control group, reference period, and covariate interactions. Also compare cohort-by-date effects before comparing event-study averages, since changing cohort weights can change the average. His reply already notes that the commands' never options need not specify the same comparison.

        With incomplete panels, I would also inspect which people supply each outcome change. Removing permanent individual differences still leaves the question of whether the observed changes represent the cohort. Measured characteristics can predict both observation and outcome growth.

        You can use cdid for stata (ssc cdid or https://github.com/dvbn/cdid-stata). Its cohort-by-date preset lets you fit the documented linear unit-and-date-effects specification within the same interface used for chained estimation. The guide states the matched specification and the covariance conventions:

        The chained route combines supported within-person changes across overlapping intervals. It also offers observation weighting, actual-change imputation, and an augmented correction when mean changes are representative conditional on the measured characteristics, with the required support. The chained DiD paper spells out these identification conditions formally: https://arxiv.org/abs/2301.01085

        Comment

        Working...
        X