Stata hurdle regression
HTML-код
- Опубликовано: 11 сен 2024
- Learn how to carry out a Cragg hurdle regression in Stata.
The following code will come in handy for this tutorial:
webuse fitness
hist hours
churdle linear hours age i.smoke distance i.single, select(commute whours age) ll(0)
margins, dydx(_all)
marginsplot
I think one interesting issue in this particular case is that age is negatively related to hours in the selection model but positively related to hours in the linear model. That is, older people are less likely to exercise at all, but among people who do exercise, older people exercise more hours. This is something unique that you can only get from hurdle models.
Hi! Do you know what the difference is between using the churdle and craggit estimator? Thank you, Elina
how can you use this for willingness to pay, i.e what variables for select?
I tried to do hurdle regression but it was end up with convergence not achieved. What is the matter.?
i am getting intial values not feasible error while running this codes. what may be the reason?
Thanks a lot!
thanks a lot for this. I have a small doubt. If the dependant variable is ordinal and not continuous, can we still use the churdle ?
You can, but we won't use the linear version as it's done here.
how to interpret the marginal effect on a log transformed variable? percent-wise as usually? what about the probability of overcoming the hurdle?
did you get the answer?
@@annewambui68 no
@@RPDBY argh okay
Hi! Is it impossible to put the same variables (all the independent variables) in both stages?
Yes
please tell me about double hurdle regression command
What is the alternative to this command in Stata 12?
it is available only starting from version 15
truncreg