Estimation of Two-States Proportional Hazard Rates Models with Unobserved Heterogeneity

This article examines two-state proportional hazard rate models with unobserved heterogeneity specific to each state, a framework that is especially relevant for labor market transitions. To make estimation feasible in large longitudinal datasets, we implement hshaz2s, a Stata routine that uses anal...

Descripción completa

Detalles Bibliográficos
Autores: Congregado Ramírez de Aguilera, Emilio, Troncoso Ponce, David, Rubino, Nicola, Morales Kirioukhina, Alejandro
Tipo de recurso: artículo
Fecha de publicación:2026
País:España
Institución:Universidad de Huelva (UHU)
Repositorio:Arias Montano. Repositorio Institucional de la Universidad de Huelva
Idioma:inglés
OAI Identifier:oai:dnet:ariasmontano::c6d3ed4cfa2748090cb99411128b0380
Acceso en línea:https://hdl.handle.net/10272/28264
Access Level:acceso abierto
Palabra clave:Duration models
Unobserved heterogeneity
D2 ml method
Hshaz2s
Gradient vector
Hessian matrix
Multistate duration models
Proportional hazard rates models
5302 Econometría
Descripción
Sumario:This article examines two-state proportional hazard rate models with unobserved heterogeneity specific to each state, a framework that is especially relevant for labor market transitions. To make estimation feasible in large longitudinal datasets, we implement hshaz2s, a Stata routine that uses analytical expressions for the gradient vector and Hessian matrix of the log-likelihood function through the dual second-order moment (d2 ml) method. The empirical application estimates a discrete-time duration model for transitions between employment and unemployment using Spanish labor market microdata for young low-skilled workers over 2000–2019. The results show that apprenticeship contracts are associated with lower exit rates from employment than other temporary contracts, but not with faster transitions from unemployment back into employment. The estimates also reveal substantial state-specific unobserved heterogeneity, with a large latent group characterized by persistent spells in both states. Analytical second-order information also markedly reduces convergence time under richer heterogeneity structures. Overall, the article makes this class of two-state hazard models operational for applied research and provides new evidence on apprenticeship and temporary contracts in Spain.