I would like to estimate a random effects model and a 2 way fixed effects model (including time as well as country dummies) as a robustness check. In my main model I used xtpcse and cor(ar1) since I would like to report the panel corrected standard errors and preform the prais-winsten transformation. I do not know how to do both a random effects model and use pcse with cor(ar1), or how to do pcse with cor(ar1) with a 2 way fixed effects model. Would anyone be able to provide me with the appropriate code?
Related Posts with pcse for random effects model or 2 way fixed effects model
What are the requirements to make causal inference when using correlated random effects (CRE)?Hello all, I am now self-learning how to use the correlated random effects model from the IZA confe…
Counting the number of groups in a permutation testI am trying to do a permutation test with yearly panel data. The treatment variable, "treat", has 7 …
Line disappearsDear all, I'm doing a scatter plot (potassium levels in 2 distinct moments) with this code (which w…
variable HHID does not uniquely identify observations in the master dataHi! I am a beginner. I wanted to merge two datasets with a common HHID variable. I have tried the …
Can we use fre command in Stata 16?I checked my ado/plus folder. Clearly, fre is already installed. But when I tried to use fre command…
Subscribe to:
Post Comments (Atom)
0 Response to pcse for random effects model or 2 way fixed effects model
Post a Comment