I would like to estimate a log-gamma model for panel data, using individual fixed effects (i.e. a within-estimator).
My outcome variable is continuous with excess zeros and right-skewed.
This is what my model would look like for NON-panel data:
Code:
glm yvar xvars, link(log) family(gamma) vce(cluster id)
Ideally, I would like the equivalent to
Code:
xtreg yvar xvars, fe vce(cluster id)
I am using Stata 16 on Windows.
Thank you very much for your time!
Best wishes,
Stephanie
0 Response to Log-gamma model for panel data (GLM with individual fixed effects)
Post a Comment