I am trying to run a truncated negative binomial model using survey data where my dependent variable is hospital discharges. When I run the model specifying the survey data, the model doesn't do anything, even if I leave it to run overnight. (FYI the range of the dependent variable when truncated at 0 is 1 to 17). Code/output:
svy linearized, subpop(SPD): tnbreg hptotdis i.yearind i.sex i.race i.hispyn i.region i.married ib4.education i.natstat c.pcs ib1.agecat ib4.povcat i.insstat1 if hptotdis>0
(running tnbreg on estimation sample)
If I run this a a truncated poisson model, the model works.
Just to see what would happen, I ran the negative binomial model without the svy specification and found that the model didn't converge.
Is there something I am doing wrong or is this an indication that a Poisson model is a better fit?
Related Posts with Truncated negative binomial model not running/converging
Can I define the cell contents of a table (or matrix)?New here, new to Stata (v17) I'm trying to create a table to later be exported to Excel. I would li…
Cox regression hazard ratio interpretation----------------------- Code: * Example generated by -dataex-. For more info, type help dataex clea…
Deleting household member when panelist and moving other household members into the gapHi, I’ve been working on a large panel study. We’ve reshaped a database for the entire population by…
Number of instruments more than number of groups in estimation resultI am a first-time user of STATA. I am trying to use system GMM to estimate a social welfare function…
calculation odd ratio for interaction terms using LincomI am doing logistic regression to look at several predictors for a certain outcome. I checked the in…
Subscribe to:
Post Comments (Atom)
0 Response to Truncated negative binomial model not running/converging
Post a Comment