Abstract

This article presents hshaz2, a new Stata command that uses d2 ml method to estimate discrete time duration models with unobserved heterogeneity. The main advantage of using hshaz2 is the gain in computation speed, that takes special relevance as the sample size increases. Estimation results show that, on a sample size of 568,042 observations, hshaz2 spends 0.42 and 1.13 minutes to achieve the convergence of a discrete time proportional hazard model with two and three points of support, respectively. Furthermore, hshaz2 allows for the estimation of multispell duration models, where individuals may be observed at risk of exiting more than once. Using a sample with 1,547,507 observations, hshaz2 spends 1.17 and 2.17 minutes to achieve convergence of a multispell discrete time proportional hazard model with two and three points of support, respectively.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call