Announcement

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

  • Estimation of Time Fixed Effect and Population Exposure in Correlated Random Effect Model

    Hi everyone,

    I am estimating the effect of time-varying and time-invariant variables on an outcome using correlated random effect (CRE) model using STATA 19, but the problem I am facing right now is the inability to account for time fixed-effect (FE) and population differences. Since the model decomposes the variables into within-units and between-units components (see https://www.stata.com/new-in-stata/c...effects-model/), including time FE will lead to collinearity and hence, the coefficients for time will be omitted because time is static across the panels (beat_id). I could have considered the traditional FE model, but my covariates are time-invariant (they do not really change over time - 12 months). Relatedly, I could not use random effect, but it assumes that the individual effects (the random component) are uncorrelated with the explanatory variables, and this assumption is hard to be met given the nature of my analysis. So, my question is how can I treat "i.time" in a way that CRE won't decompose it into within-units and between-units component? For population exposure, it is possible to do this using "exposure(population)" in traditional FE, but how can I do the same in CRE model? CRE does not allow for exposure.

    Note: I use this code "xtreg, DV IVs, cre vce(cluster, beat_id)" for estimation and it can be done in STATA 19 only. I do not mind using a different approach to achieve similar results. Thank you for your time!

  • #2
    Aliu:
    welcome to this forum.
    The -exposure()- option is availabe for the -gee- (-xtgee-) estimator.
    In addition, why clustering on -timevar- instead of -panelid-?
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment


    • #3
      Hi Carlo,

      Thank you for your reply. I was wondering if GEE will do the same job like CRE and I learned that it is suitable for a binary or count outcome variable. I am clustering on panelid which is "beat_id".

      Comment


      • #4
        Ali (sorry for having mispelled your given name in my previous reply):
        you may want to take a look at: deciding between xtgee and xtreg, re - Statalist
        Kind regards,
        Carlo
        (Stata 19.0)

        Comment


        • #5
          Originally posted by Carlo Lazzaro View Post
          Ali (sorry for having mispelled your given name in my previous reply):
          you may want to take a look at: deciding between xtgee and xtreg, re - Statalist
          Carlo,

          You were actually right with the spelling of my name. I just changed it after you replied. I will look at the thread. Thank you!

          Comment

          Working...
          X