Announcement

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

  • Mean t-test including fixed effects

    I would like to do a Mean t-test which takes out fixed effects. Does anyone know a Stata formula for that?



  • #2
    One option is to use OLS and include the FE as a control variable, like

    Code:
    regress outcome treatmentvar i.fevar
    The coef of treatmentvar is then the estimator corresponding to the t-test.
    Best wishes

    (Stata 16.1 MP)

    Comment

    Working...
    X