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
Help with hetroskedasticity in time seriesHi! I am doing a project where I look for seasonalities in stock prices. E.g. we have created dummi…
pweights in mvreg?Hi All, Long time reader, first time poster. I am attempting to use inverse probability weights in …
Assigning new variable using max value of a different variableHi. I have a dataset which looks like the following. I want to create a variable industry_new such t…
meqrlogit with endogenous variableHello. I have survey data for 20+ countries and my dependent variable is a dichotomous variable. Sca…
Correlation between two different samplesI have an appended dataset where one sample was assessed on one version of a math test and another s…
Subscribe to:
Post Comments (Atom)
0 Response to Help with hurdle model
Post a Comment