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()
Panel Var IRF standard deviation reportDear experts, I used pvar syntax by Abrigo and Love(2015) because of unbalanced panel data. Fore m…
Multiple variables grouped by one variable, on one bar graph showing median and IQRHi, I am trying to create a similar graph as below on STATA, displaying different independent varia…
Regression analysis to detect herd behaviorDear all, I am new to this forum and also new to Stata. Therefore, I would like to apologize for an…
Maximum Likelihood Estimation cannot find starting values in StataI am attempting to use Deal or No Deal Data to test for risk aversion parameters using Maximum Likel…
Determine number of unique values groupwiseHey community, I have grouped my observations by the variable companyid so that there are multiple …
Subscribe to:
Post Comments (Atom)
0 Response to Margins after xtnbreg, fe exposure()
Post a Comment