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
Controling for fixed effects (time, industry, law)Hi all, I am running a form of OLS regression, where I am trying to determine the effect of nationa…
Controling for fixed effecttHi all, I am running a form of OLS regression, where I am trying to determine the effect of nationa…
Time-varying betaDear all, I am currently studying mutual equity fund returns in regard to the four-factor model of …
quietly use ado which insists in noisily displayingI'm hoping to get advice on how to silence an ado which I cannot edit. Code: log using mylog.log,…
test for no change in population after policy (with categorical variables)Hi all, I am trying to test whether the class of people in a marriage are the same after a policy. …
Subscribe to:
Post Comments (Atom)
0 Response to Help with hurdle model
Post a Comment