Hi Stata members,
I'm currently running -xtnbreg- to explore the association between No_admission (Number of hospital admissions) and phi (private health insurance status) with a rich set of covariates (interaction term, secondary care, expenditure and so on) in Stata/SE 16 . As a dependent variable, No_admission is an integer variable, ranging from 0 to 120. It is not continuous and takes only certain values. And phi is a binary variable where 0 refers to 'Without insurance' 1 refers to 'Insured'. This panel data involves 3 waves of survey and information on around 1000 observations and 500 groups/
When I run the following codes, the process takes forever until I click the 'Break' button. Then Stata will pop up a warning: an error occurred when jackknife/bootstrap executed xtnbreg. I have also tried to report the type of std. err. by default or by vce(oim) option, the Stata showed continuous messages such as 'Iteration 1..: log likelihood = -44xx.xxxx (not concave)'
I'm wondering what happened to my dataset? Does the warnings suggest that I'm using wrong method to predict the impacts of phi on the number of hospital admissions? Because I have read previous post Model for dependent variable with integer values of certain magnitude - Statalist and am currently think about trying other model to explore the association.
Warm regards,
Geralt
I'm currently running -xtnbreg- to explore the association between No_admission (Number of hospital admissions) and phi (private health insurance status) with a rich set of covariates (interaction term, secondary care, expenditure and so on) in Stata/SE 16 . As a dependent variable, No_admission is an integer variable, ranging from 0 to 120. It is not continuous and takes only certain values. And phi is a binary variable where 0 refers to 'Without insurance' 1 refers to 'Insured'. This panel data involves 3 waves of survey and information on around 1000 observations and 500 groups/
When I run the following codes, the process takes forever until I click the 'Break' button. Then Stata will pop up a warning: an error occurred when jackknife/bootstrap executed xtnbreg. I have also tried to report the type of std. err. by default or by vce(oim) option, the Stata showed continuous messages such as 'Iteration 1..: log likelihood = -44xx.xxxx (not concave)'
Code:
xtnbreg No_admission hos_status interaction_phi secondary_care all_expenditure $xvars_fe, re vce(boot) i(waveid) xtnbreg No_admission hos_status interaction_phi secondary_care all_expenditure $xvars_fe, fe vce(jacknife) i(waveid)
Warm regards,
Geralt
Comment