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()
Bootstrap two stagesHi all, I am trying to perform the following: extract n bootstrap samples from a strongly balanced …
Calculating cost of equity through fama and french 3 factor modelHello, I have to calculate the cost of equity capital based on fama and french 3 factor model. For …
Multiple observations with some different covariates and non-integer weightsHi. I have a dataset with some multiple observations, but the observations are different for one sp…
discrete-time survival analysis xtcloglog late entryDear members, I am running a discrete-time survival analysis on an unbalanced panel data by using x…
georouteHello, I've a list of pair of coordinates for varX and varY and I'm using georoute to calculate the …
Subscribe to:
Post Comments (Atom)
0 Response to Margins after xtnbreg, fe exposure()
Post a Comment