Hello,
I am running negative binomial regression on panel data of counts (panel = county, time = date) and running into issues with postestimation.
After my regression:
xtnbreg cases i.exposure [covariates] i.calendar_week, exposure(county_population) irr fe
...I would like to predict incidence (cases per county population) over exposure. I use the command
margins i.exposure, predict(iru0)
However, the predicted margins are more than 10 times smaller than typical incidence rates in my sample (e.g. the margins command predicts a marginal incidence of 0.2 cases per 100,000 population, whereas the mean incidence in my sample is 8.2 cases per 100,000 population.)
Any suggestions as to what's going on would be much appreciated. Thank you!
Related Posts with Margins after xtnbreg, fe exposure()
Cross Sectional DependenceHi Dear, Can you please tell me if there is any requirement like N should be greater than T or T sh…
How to run a do file using a loop with captureHi, I got a do file that only label variables and I need to use it by running it inside another 2 do…
Coefplot over different yearsHi All, I am currently running a regression of y on x, every year, for 100 years. I wish to display…
one-tail test commandDear All I have a quick question here regarding one-tail test command in Stata. My alternate hypot…
Saving multiple simulated data using foreach commandDear all, I am a newbie in a simulation study. Here I created one simulated data using foreach comm…
Subscribe to:
Post Comments (Atom)
0 Response to Margins after xtnbreg, fe exposure()
Post a Comment