Faster estimation of discrete time duration models with unobserved heterogeneity using hshaz2

  1. David Troncoso Ponce 1
  1. 1 Universidad Pablo de Olavide, España
Journal:
Documentos de trabajo ( FEDEA )

ISSN: 1696-7496

Year of publication: 2017

Issue: 6

Pages: 1-25

Type: Working paper

More publications in: Documentos de trabajo ( FEDEA )

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