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()
Regression with double loop (chaning dependent and independent)Hi, i want to do a multiple regression on times series of 100 corporates. The problem is that not j…
SFA with sf_modelhi everyone, I met one problem when I use the SFA model to calculate the TFP. I am very grateful if …
Clustering TendencyDear Stata Users, I want to evaluate the clustering tendency of my data set consisting of the observ…
estat icc reporting of Intra-cluster correlation in three-level linear regression (mixed) different from manually calculation...Hi, I'm analyzing a three-level model I've run with mixed. It produces the following table for the …
preserve / restore through a do fileHello, it seems as if the commands preserve and restore don't function properly when they're execut…
Subscribe to:
Post Comments (Atom)
0 Response to Margins after xtnbreg, fe exposure()
Post a Comment