Hello -
i'm having some trouble running a churdle model. I have observational data (4,800 observations) and i want to look at the association between minutes spent exercising and perceived safety of neighbourhood (categorical variable - 3 responses). There are a large number of 0's in the minutes of exercise hence why i'm trying a hurdle model. Other variables i want to consider in the model are ethnicity, family income and education but i'm not entirely sure where to put these!
i have tried a basic code so far which just seems to run for ages and ages and give no output:
churdle linear MVPA i.safety, select (i.safety) ll(0)
i also tried just running the first part of the model with truncreg MVPA i.safety, ll(0) - this came with an error message of 'cannot compute an improvement -- discontinuous region encountered'
Any help or advice would be much appreciated!
thanks
Related Posts with Help with hurdle model
Out-of-sample prediction with threshold regressionHi, I'd like to do out-of-sample prediction after estimating a threshold model. I follow the exampl…
Factor variables may not contain noninteger valuesI am attempting to fit a regression model in STATA. My variables are are all continuous variables of…
appropriate filterDear community, It is my first time using STAT and I am stuck with an assignment. It says: "In Stat…
Lognormal regression & Trucated normal regression in hurdle modelI want to estimate the effect of socio-economic status on private tuition expenditure (cross section…
How to remove (horizontal) blue lines when using coefplotI am using coefplot in Stata and I wanted to ask if anyone in this forum knows how to remove the (ho…
Subscribe to:
Post Comments (Atom)
0 Response to Help with hurdle model
Post a Comment