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
Marginsplots for different values of xHello, first post so apologies if something similar has been asked before. I'm investigating the rel…
'End Duplicates' error in mata programing Hello, everyone. I'm Zhang. I would like to ask you a question about an 'End Duplicates' error in …
Generating data according to a patternHello list, I am trying to generate data according to the following pattern: Obs A B C ------------…
Comparing two probit models with clustered standard errorsHey everyone, I would like to compare two probit models (that are nested) to see whether the additi…
Testing of adjusted Kaplan-Meier survivalHow to test for adjusted kaplan-meier survival analysis ? I am able to create adjusted KM graph but …
Subscribe to:
Post Comments (Atom)
0 Response to Truncated negative binomial model not running/converging
Post a Comment