‹ Volver a la ficha Doc. dt2018-03

Documento de Trabajo - 2018/03

Estimation of competing risks duration models with unobserved heterogeneity using hsmlogit

David Troncoso Ponce (Universidad Pablo de Olavide)

fedea

Las opiniones recogidas en este documento son las de sus autores y no coinciden necesariamente con las de FEDEA.

Estimation of competing risks duration models with unobserved heterogeneity using hsmlogit

David Troncoso Ponce

Universidad Pablo de Olavide

RESUMEN

Este artículo presenta hsmlogit, un nuevo comando de estimación que estima modelos de duración en tiempo discreto con riesgos en competencia y presencia de heterogeneidad inobservable. hsmlogit permite la estimación de uno, dos y hasta tres riesgos en competencia, así como la especificación (por parte del usuario) de un máximo de cinco puntos-masa para la identificación no paramétrica de la distribución de heterogeneidad inobservable (Heckman y Singer, 1984).

La contribución de este comando es mostrada en el presente trabajo mediante la estimación de un conjunto de modelos de duración, cuyo objetivo es evaluar el impacto que un determinado tipo de contrato laboral, introducido en España a principios de los años noventa, denominado Contrato para la Formación y el Aprendizaje, ha tenido sobre una muestra de trabajadores jóvenes en el mercado laboral español durante el periodo 2000-2014. Dicha muestra ha sido extraída de la Muestra Continua de Vidas Laborales (MCVL), y contiene los historiales laborales completos de un total de 48.246 entrantes al mercado laboral con edades comprendidas entre 16 y 24 años, y un bajo nivel educativo. Una vez expandido cada episodio laboral en observaciones de periodicidad mensual, la muestra final de estimación tiene 1.316.611 observaciones.

Los resultados obtenidos muestran la relevancia de modelizar más de un riesgo en competencia en la estimación del efecto potencial del contrato de formación y aprendizaje sobre las tasas de transición desde el empleo. Concretamente, la estimación de un modelo de duración con tres riesgos en competencia ha permitido descubrir el posible papel que juegan las subvenciones públicas a la conversión de los contratos de formación y aprendizaje en contratos indefinidos sobre las tasas directas (sin pasar por un episodio de desempleo intermedio) de salida hacia un empleo indefinido tras la finalización del contrato de formación.

Finalmente, hsmlogit proporciona las expresiones algebraicas tanto del vector gradiente como de la matriz Hessiana, lo cual reduce significativamente los tiempos de computación necesarios para alcanzar la convergencia del modelo, y además, mejora la precisión de los errores estándar de los coeficientes estimados. La posibilidad de estimar modelos de duración con riesgos en competencia y presencia de heterogeneidad inobservable, unido a la significativa reducción en los tiempos de computación, permiten al investigador explotar adecuadamente la complejidad y riqueza de bases longitudinales de microdatos de gran tamaño.

David Troncoso Ponce

Pablo de Olavide University

Seville, Spain

Email: dtropon@upo.es

Abstract.

This article presents hsmlogit, a new Stata command that estimates multispells discrete time competing risks duration models with unobserved heterogeneity. hsmlogit allows for the estimation of one, two and up to three competing risks, as well as a maximum of five points of support for the identification of unobserved heterogeneity distribution ([Heckman and Singer, 1984]). The main contribution of hsmlogit is that allows for exploiting the richness of large longitudinal micro datasets, by estimating competing risks duration models, instead of one-risk models (such as hshaz and hshaz2), as well as it takes into account the presence of unobserved heterogeneity afecting transition rates. In addition to this, and taking into account the larger size of longitudinal micro datasets used for the estimation of discrete time duration models, hsmlogit also provides the algebraic expressions of both first and second order derivatives that, respectively, define the gradient vector and Hessian matrix, which significantly reduce time required to achieve model convergence.

Keywords: Duration analysis, Unobserved heterogeneity, d2 ml method, hshaz, hshaz2, hsmlogit, Hessian matrix

Acknowledgement

I am greatful to professor Stephen Jenkins for his helpful comments and suggestions that have contributed to significantly improve this work, and for allowing me to use Stata code of his hshaz’s command syntax. I also thank financial support of research project SEJ-6882 from Junta de Andalucía.

1 Introduction

Empirical estudies on individual decisions have experienced an important increase in recent years due to the boost of large and rich longitudinal micro datasets put available to the research community. Specially for the field of empirical Labor Economics focused on the estimation of labor market transition rates, the recent availability of large longitudinal micro datasets allows for capturing the presence of unobserved heterogeneity (UH, hereafter) components that afect the estimated transition rates. However, an important number of these empirical estudies that incorporates the presence of UH mainly focused on one-risk duration models,1 that analyze transition rates towards an only destination (for example, transitions from employment to unemployment, ignoring the existence of other destinations, such as inactivity, or finding another job). This article presents hsmlogit, a new Stata command that estimates multispells discrete time competing risks duration models with UH. hsmlogit allows for the estimation of one, two and up to three competing risks, as well as a maximum of five points of support for the identification of unobserved heterogeneity distribution ([Heckman and Singer, 1984]).

The main contribution of hsmlogit is that allows for exploiting the richness of large longitudinal micro datasets, by estimating competing risks duration models, instead of one-risk models (such as hshaz and hshaz2), as well as it takes into account the presence of unobserved heterogeneity afecting transition rates. In addition to this, and taking into account the larger size of longitudinal micro datasets used for the estimation of discrete time duration models, hsmlogit also provides the algebraic expressions of both first and second order derivatives that define the gradient vector and Hessian matrix, respectively, which significantly reduce time required to achieve model convergence [Gould et al., 2010].

The rest of the article estructures as follows: Section 2 describes the longitudinal database used to obtain estimation results; the econometric model and hsmlogit command syntax are explained, respectively, in Sections 3 and 4; Section 5 presents estimation results, and Section 6 shows the advantages of providing the algebraic expressions of both the gradient vector and Hessian matrix. Finally, Section 7 concludes.

2 Database: The Continuous Sample of Working Histories

I analyze a longitudinal sample of workers in the Spanish labor market that comes from the Continuous Sample of Working Histories database (CSWH, hereafter). The CSWH is a longitudinal database that provides the working histories records of more than one million people, who represent a 4% nonstratified random draw from a target population, composed of any person with a contribution relation with the Spanish Social Security Administration. It includes both wage workers and recipients of Social Security benefits, namely, unemployment benefits, disability, survivor pension and maternity leave.2

1An exception is the work presented in [Troncoso-Ponce, 2016], where a two-states multispells discrete time competing risks duration model with UH is estimated to analyze the efect of apprenticeship contracts in the Spanish labor market.
2[García-Pérez, 2008], [Lapuerta, 2010], [Arranz and García-Serrano, 2011] and [Arranz, García-Serrano and Hernanz, 2013] contain a deep exposition about features of CSWH as well as all necessary techniques to perform a duration analysis using working lives information.

The CSWH contains detailed information on each employment and unemployment episodes experienced by workers through their entire working histories. The information provided by the CSWH can be grouped into several categories: First, personal characteristics of workers (gender, age, nationality, educational level, residence place, and other personal characteristics). Second, job characteristics (type of labor contract, part-time coeficient, qualification level, and other job characteristics). Third, information on the employer (firm size, activity sector, and other firm characteristics). Furthermore, an important feature of the CSWH is that provides the beginning and termination dates of all employment and unemployment episodes, which takes special interest for duration analysis.

The estimation sample is composed of 48,246 low-educated and low-qualified young workers in the Spanish labor market for the period 2000-2014. The average age is 22.5 years-old, and 75.5% of them are males. The average number of employment episodes per worker is 8.9, lasting, on average, 7.13 months. Indeed, more than 25% of all employment episodes last 2 months or less, and only 5% last at least 24 months, which highlights the high turnover rate experienced by these workers. Multispell estimation sample has 1,316,611 observations. A describe output is shown below, describing the estimation sample’s full varlist, as well as a summarize outuput to show the main descriptive statistics of the estimation sample’s varlist.

Description of the estimation sample’s varlist

variable namestorage typedisplay formatvalue labelvariable label
codindlong%12.0gid of individual
spellint%9.0gSequential number of the employment episode
jint%9.0gMonth of employment spell
exit3byte%8.0gexit3Exit from employment state (3 competing risks)
exit1byte%8.0gexit1Exit from employment state (1 only risk)
exit2byte%8.0gexit2Exit from employment state (2 competing risks)
cfbyte%8.0gApprenticeship contract (=1)
ctbyte%8.0gTemporary contract (=1)
lnjmpfloat%9.0gLog(t)
lnjmp2float%9.0gLog(t)^2
lnjmp3float%9.0gLog(t)^3
month1byte%8.0gMonth 1
month2byte%8.0gMonth 2
month3byte%8.0gMonth 3
month6byte%8.0gMonth 6
month12byte%8.0gMonth 12
month18byte%8.0gMonth 18
month24byte%8.0gMonth 24
month36byte%8.0gMonth 36
month48byte%8.0gMonth 48
femalebyte%8.0gFemale (=1)
age16tvbyte%9.0gCurrent age - 16
age16tv2int%9.0g(Current age - 16)^2
educcompul1byte%8.0gEducation: Compulsory stage #1
educcompul2byte%8.0gEducation: Compulsory stage #2
educless1byte%8.0gEducation: Less than compulsory stage #1
educless2byte%8.0gEducation: Less than compulsory stage #2
inmigrabyte%8.0gNot Spanish nationality (=1)
manufactorybyte%8.0gEconomic sector: Manufacturing industry
highservbyte%8.0gEconomic sector: High qualified services
lowservbyte%8.0gEconomic sector: Low qualified services
comercebyte%8.0gEconomic sector: Commerce
highqualifbyte%8.0gPrevious job: High qualification
midhighqualifbyte%8.0gPrevious job: Mid-High qualification
midlowqualifbyte%8.0gPrevious job: Mid-Low qualification
lowqualifbyte%8.0gPrevious job: Low qualification
prevunempbyte%9.0gNumber of previous unemployment spells
prevtcint%9.0gNumber of previous temporary contracts
unratedouble%10.0gQuarterly regional unemployment rate (Q.r.u.r.)
unratexlnjmpfloat%9.0g(Q.r.u.r.) x Log(t)
unratexlnjmp2float%9.0g(Q.r.u.r.) x Log(t)^2
gremploymentfloat%9.0gQuarterly employment growth rate (Q.e.g.r.)
gremploymentxlnjmp
float%9.0g(Q.e.g.r.) x Log(t)
gremploymentxlnjmp2
float%9.0g(Q.e.g.r.) x Log(t)^2
andalbyte%8.0gSpanish region: Andalucia
aragonbyte%8.0gSpanish region: Aragon
asturbyte%8.0gSpanish region: Asturias
balearbyte%8.0gSpanish region: Baleares
canarbyte%8.0gSpanish region: Canarias
cantabbyte%8.0gSpanish region: Cantabria
castmanbyte%8.0gSpanish region: Castilla La Mancha
castleonbyte%8.0gSpanish region: Castilla Leon
valencbyte%8.0gSpanish region: Valencia
extrembyte%8.0gSpanish region: Extremadura
galicbyte%8.0gSpanish region: Galicia
murciabyte%8.0gSpanish region: Murcia
navarrbyte%8.0gSpanish region: Navarra
vascobyte%8.0gSpanish region: Pais Vasco
riojabyte%8.0gSpanish region: La Rioja

Sorted by: codind spell j

Descriptive statistics of the estimation sample’s varlist

VariableObsMeanStd. Dev.MinMax
codind1,316,6113800765257975818681.00e+07
spell1,316,6118.95100213.466251435
j1,316,6117.1323859.236051108
exit31,316,611.3740976.718615703
exit11,316,611.2373564.425462601
exit21,316,611.369709.705499802
cf1,316,611.16471.370918801
ct1,316,611.83529.370918801
lnjmp1,316,6111.4077231.03973704.682131
lnjmp21,316,6113.0627373.439172021.92235
lnjmp31,316,6117.6651411.913130102.6433
month11,316,611.2119381.408681401
month21,316,611.1404713.347475401
month31,316,611.1057419.307507201
month61,316,611.054834.22765601
month121,316,611.0209416.143189101
month181,316,611.0090034.094458301
month241,316,611.0052263.07210401
month361,316,611.0014818.038466101
month481,316,611.0005301.023018901
female1,316,611.2444549.429763701
age16tv1,316,6115.5736533.642791022
age16tv21,316,61144.3355253.20660484
educcompul11,316,611.1649796.371162301
educcompul21,316,611.4394009.496314301
educless11,316,611.2096162.407034901
educless21,316,611.1860033.389109501
inmigra1,316,611.1212887.326462601
manufactory1,316,611.1599212.366533101
highserv1,316,611.0580111.233764501
lowserv1,316,611.1449327.352033101
comerce1,316,611.1784703.382908301
highqualif1,316,611.0061841.078395301
midhighqua-f1,316,611.0349579.183673401
midlowqualif1,316,611.3149009.464476601
lowqualif1,316,611.6439571.478828301
prevunemp1,316,6111.9882242.428205025
prevtc1,316,6115.62192312.123240431
unrate1,316,61111.857965.195473.936.87
unratexlnj-p1,316,61117.453917.608280169.4221
unratexlnj-21,316,61139.3493158.86460778.5148
gremployment1,316,6112.1025683.801228-14.0010510.99764
gremployme-p1,316,6112.4427927.083604-62.0360838.71074
gremployme-21,316,6114.29482419.12216-274.8705142.1837
andal1,316,611.2453321.430284101
aragon1,316,611.0239395.152860801
astur1,316,611.0198137.139359901
balear1,316,611.0305026.171965601
canar1,316,611.046025.209539301
cantab1,316,611.013935.117221401
castman1,316,611.0572325.232286501
castleon1,316,611.0449579.207211701
valenc1,316,611.1079005.310254801
extrem1,316,611.0249443.155955601
galic1,316,611.0732874.260607801
murcia1,316,611.0322449.176649901
navarr1,316,611.0085128.091871101
vasco1,316,611.0262386.159844101
rioja1,316,611.0053638.073041101

3 Econometric model

This Section briefly describes the main features of the econometric models that will be estimated in Section 5. The main goal of this kind of models is to analyze duration spent by a population in a specific state (in this example, employment state), as well as to analyze the set of factors, observable and specially unobservable, that afect time spent in that state (see [Lancaster, 1992], [Allison, 1982] and [Jenkins, 1995]).

Let’s consider an individual beginning an employment episode at time (time T is measured in month intervals). The worker is observed monthly during the employment episode until either he/she exits to another modeled state (such as, unemployment, or finding a new job), or the observation window ends (right censored observations). Employment duration is analyzed by estimating the hazard rate out of employment at each observed month. Depending on the number of exits (i.e. risks) modeled by the command’s user, hsmlogit can estimate two diferent functional forms for the hazard rate.

Single-risk models use a Logit functional form to characterize the hazard rate, given by the following expression:

\[h (t | x, \eta) = \frac {e x p (\lambda (t) + x \beta + \eta)}{1 + e x p (\lambda (t) + x \beta + \eta)}\tag{1}\]

And competing risks models use a Multinomial Logit functional form to characterize the hazard rates:

\[h _ {d} (t | x _ {d}, \eta) = \frac {\exp (\lambda_ {d} (t) + x _ {d} \beta_ {d} + \eta)}{1 + \sum_ {d = 1} ^ {D} \exp (\lambda_ {d} (t) + x _ {d} \beta_ {d} + \eta)}\tag{2}\]

Assuming that , where and depending on the total number of risks modeled by the command’s user.

As the two expressions above show, the hazard rate at month depends on time (months) spent in the current unemployment state (i.e. duration dependence), captured by , as well as on a set of covariates summarized by x vector, that may contain both time-fixed and time-varying covariates. Furthermore, the hazard rate also depends on an unobserved component given by , that mesasures factors, such as job search efort, job networking, motivation, ability, etc, that are unobserved to the researcher and may afect the transition rate out of employment.

For the case of one-risk models, the contribution to the likelihood function of an individual i is given by the following expression:

\[L _ {i} = \sum_ {j = 1} ^ {P} \pi_ {j} \{\prod_ {t = 1} ^ {T _ {i}} \frac {h (T = t | \lambda (t) , x _ {i t} , \eta_ {j}) ^ {y _ {i t}}}{(1 - h (T = t | \lambda (t) , x _ {i t} , \eta_ {j})) ^ {(1 - y _ {i t})}} S (T = t | \lambda (t), x _ {i t}, \eta_ {j}) ^ {(1 - y _ {i t})} \}\tag{3}\]

Where dependent variable denotes a dummy variable that takes value 1 if worker i exits out from employment at month , and takes value zero otherwise.3 Expression given by denotes the hazard rate observed at month and denotes the survival rate observed at month , that estimates the cummulative probability of being employed (from the month until the month , and that is given by the following expression:

\[S (T = t | \lambda (t), x _ {i t}, \eta_ {j}) = \prod_ {s = 1} ^ {t} (1 - h (T = s | \lambda (s), x _ {i s}, \eta_ {j}))\tag{4}\]

As expressions 1 and 4 show, the hazard rate observed at month is conditional on the duration dependence and on the set of covariates And the survival rate at month is conditional on and on the set of covariates observed at months . Both the hazard and the survival rates also depend on belonging to the type of employed workers with unobserved characteristics given by 4

The total likelihood function of single-risk models is given by:

\[L = \prod_ {i = 1} ^ {N} \sum_ {j = 1} ^ {P} \pi_ {j} \{\prod_ {t = 1} ^ {T _ {i}} \frac {h (T = t | \lambda (t) , x _ {i t} , \eta_ {j}) ^ {y _ {i t}}}{(1 - h (T = t | \lambda (t) , x _ {i t} , \eta_ {j})) ^ {(1 - y _ {i t})}} S (T = t | \lambda (t), x _ {i t}, \eta_ {j}) ^ {(1 - y _ {i t})} \}\tag{5}\]

hsmlogit command maximizes, using d2 ml method, the natural logarithm of L to estimate the model parameters.

4It is assumed that unobserved characteristics do not vary with time and are not correlated to the rest of explanatory variables included in the specification of the hazard rate.
3Dependent variable refers to dead(deadvar) of hsmlogit command.

For the case of competing risks models, the contribution to the likelihood function of an individual i is given by the following expression:

\[L _ {i} = \sum_ {j = 1} ^ {P} \pi_ {j} \{\prod_ {t = 1} ^ {T _ {i}} \prod_ {d = 1} ^ {D} \{h _ {d} (T _ {d} = t | \lambda_ {d} (t), x _ {i t} ^ {d}, \eta_ {j}) ^ {y _ {i t} ^ {d}} \} S (T = t - 1 | \lambda (t), x _ {i t}, \eta_ {j}) ^ {(1 - \sum_ {d = 1} ^ {D} y _ {i t} ^ {d})} \}\tag{6}\]

Where denotes the hazard rate for the especific risk observed at month , conditional on the duration dependence , on the set of covariates , and on belonging to the type of employed workers with unobserved characteristics given by . Dependent variable , for , denotes a dummy variable that takes value 1 if worker i exits out from employment towards the destination d at month , and takes value zero otherwise.

Unlike single-risk models, the survival function for competing risks takes into account the all possible risks faced by the individual at month , and therefore takes the following expression:

\[S (T = t - 1 | \lambda (t - 1), x _ {i t - 1}, \eta_ {j}) = \prod_ {s = 1} ^ {t - 1} (1 - \sum_ {d = 1} ^ {D} h _ {d} (T _ {d} = s | \lambda_ {d} (s), x _ {i s} ^ {d}, \eta_ {j}))\tag{7}\]

Similarly to single-risk models, the total likelihood function for competing risks is given by:

\[L = \prod_ {i = 1} ^ {N} \sum_ {j = 1} ^ {P} \pi_ {j} \{\prod_ {t = 1} ^ {T _ {i}} \prod_ {d = 1} ^ {D} \{h _ {d} (T _ {d} = t | \lambda_ {d} (t), x _ {i t} ^ {d}, \eta_ {j}) ^ {y _ {i t} ^ {d}} \} S (T = t - 1 | \lambda (t), x _ {i t}, \eta_ {j}) ^ {(1 - \sum_ {d = 1} ^ {D} y _ {i t} ^ {d})} \}\tag{8}\]

And likewise single-risk models, hsmlogit command maximizes, also using d2 ml method, the natural logarithm of L to estimate the model parameters for competing risks models.

3.1 The non-parametric identification of the UH distribution

Regarding the estimation of UH distribution, we assume the existence of unobserved factors afecting hazard rates, that if are ignored, may lead to spurious duration dependence, captured by λ(t) ([Van Den Berg, 2001]). A well known method to capture the efect of UH on the hazard rates is the proposed by [Heckman and Singer, 1984], by which the UH components are captured without imposing any parametric distribution function for the identification of UH distribution, but as a discrete mixture of several types of individuals with diferent values of UH components. Thus, it is assumed the presence of diferent types of workers who characterize themselves by having diferent levels of unobserved variables (such as, ability, cognitive and non cognitive skills, social and networking capabilities, etc.), captured by the set of parameters that are estimated as regression’s constant terms.5 For each Type of worker characterized by an associated probability of being observed in the data, given by , is also estimated jointly with the rest of the model parameters. Finally, the non-parametric discrete UH distribution is the result of the combination of these Types of workers, whose diferent values of UH are given by the vector and by their associated probabilities , are estimated jointly with the rest of the model parameters.

Furthermore, likewise hshaz2 command, when more than two mass-points are especified by the command’s user, hsmlogit also properly estimates masspoints probabilities using a Multinomial Logit function, rather than a Logit one, to compute the values of (see [Troncoso-Ponce, 2017]). For example, when the UH distribution is characterized by five points of support, the mass probabilty parameteres computed by hsmlogit take the following expression: , for , and . And for the computation of the standard errors of mass probability parameters, hsmlogit also provides to diparm() command the algebraric expressions of the first order derivatives of each , for each , with respect to each with

4 Command syntax

The hsmlogit’s command syntax follows the same design that hshaz and hshaz2’s. The only diference between hsmlogit’s command syntax and hshaz2’s is added by dead(deadvar) option. Unlike hshaz2, the dead(deadvar) option of hsmlogit command identifies whether the dependent variable typed by the command user in the dead(deadvar) option takes one, two or three risks. Therefore, hsmlogit, depending on the number of the values taken by the dependent variable, estimates, respectively, a single, a two, or a three competing risks duration model. The rest options of hsmlogit’s command syntax are the same that hshaz2’s (see [Troncoso-Ponce, 2017]).

The hsmlogit command syntax is:

hsmlogit varlist- weight -if exp -in range - , id(idvar) dead(deadvar) seq(seqvar) spell(spellvar) nmp(#) m2(#) p2(#) m3(#) p3(#) m4(#) p4(#) m5 eform nocons nolog nobeta0 maximize options

5As previously mentioned, hsmlogit allows for the estimation of a maximum of five points of support (ie. Types of workers) for the identification of the UH distribution.

5 Estimation results

This Section shows results from the estimation of three duration models, each of them depends on the number of exits modeled. The first model, presented below in the first estimation output (Single risk model with UH using hsmlogit), simply estimates the transition rate out of employment without diferentiating the destination state. The second one, shown below in the second estimation output (Two competing risks model with UH using hsmlogit), estimates a two risks duration model, by which the two modeled risks are: i) exiting to unemployment; and ii) a job-to-job transition to another employment. Finally, the third model, shown below in the third estimation output (Three competing risks model with UH using hsmlogit), allows for distinguishing the type of labor contract of the new employment found in the job-to-job transition. Specifically, the model difers between finding a fixed-term contract, and an open-ended one. Therefore, these three competing risks are: i) exiting to unemployment; ii) finding a fixed-term contract; and iii) finding an open-ended contract.

As mentioned in Section 3, the functional form of the hazard rate estimated in the first model is given by a Logit function, whereas the hazard rates of the second and third models are given by Multinomial Logit functions with two a three competing risks, respectively. The mentioned three tables with the estimation output show estimation results of fitting multispells duration models with two mass-points of unobserved heterogeneity.6

For the three estimated models, the set of covariates included in the specification of the hazard rates controls for the efect of: i) personal characteristics of the employed workers, such as, gender, age (age16tv) and squared age (age16tv2),7 nationality,8 and educational level9; ii) business cycle efects, by including the quarterly unemployment rate (unrate) and the product of the unemployment rate with the natural logarithm of the current employment spell (unratexlnjemp), and its squared (unratexlnjemp2); iv) a set of dummy variables that identify the Spanish regions (andal-rioja) to capture regional efects. Additionally to the duration dependence specification (using a three order polynomial of the natural logarithm of the duration of current employment spell), three dummy variables are included to identify months 6, 12, 18 and 24. These dummy variables are included to capture exit peaks related to the duration of temporary contracts in the Spanish labor market. Finally, to capture the efect of holding an apprenticeship contract on the employment exit rate, the dummy variable (cf) takes value one whether the worker is holding an apprenticeship contract, and takes value zero whether the worker has another type of temporary contract diferent from the apprenticeship one.10 The regression coeficients not shown in the estimation output tables are omitted due to space reasons, and are available to the interested reader upon request.

6All estimation results, with and without UH, shown in this article are available to the interested reader upon request.
7Age covariates measure the diference between the current age (time-varying age) with respect to the legal working age in the Spanish labor market, 16 years old.
8Nationality efect is captured using a dummy variable, called inmigra, that takes value one if the employed worker is not Spanish, and zero otherwise.
9The efect of educational level is captured by including two dummy variables: educcompul1 and educcompul2. Dummy variable educcompul1 (educcompul2) takes value one whether the worker has a primary (secondary) compulsory education degree, and takes zero otherwise.
10Hence, the regressions’ constant term contains male native employed workers holding a temporary contract in the Spanish regions Madrid and Catalonia, with less than primary compulsory education.

Single risk model with UH using hsmlogit

. hsmlogit_v4 `varsaleE´ , id(codind) spell(spell) seq(j) d(exit1) nmp(2) difficult Discrete time competing risks hazard model without frailty

Logistic regressionNumber of obs = 1316611
LR chi2(28) = 131531.43
Prob > chi2 = 0.0000
Log likelihood = -655754.83Pseudo R2 = 0.0911
exit1Coef.Std. Err.zP>|z|[95% Conf. Interval]
cf-.8912589.0084509-105.460.000-.9078224-.8746955
lnjemp-1.886904.018425-102.410.000-1.923016-1.850791
lnjemp2.9354424.011412981.960.000.9130735.9578113
lnjemp3-.1648652.0024098-68.410.000-.1695883-.1601421
age16tv-.0211124.0020584-10.260.000-.0251468-.017078
age16tv2.0003848.00014022.750.006.0001101.0006595
educcompul2-.0368489.0044142-8.350.000-.0455005-.0281973
manufactory-.3241511.0066488-48.750.000-.3371825-.3111197
highserv.1818382.008822520.610.000.1645465.1991299
lowserv.1175756.006033919.490.000.1057494.1294018
unrate.0002062.00090340.230.819-.0015644.0019768
unratexlnj~p.0090781.00123257.370.000.0066624.0114938
unratexlnj~2-.0033776.0004145-8.150.000-.00419-.0025653
_cons.0830947.01199886.930.000.0595775.1066118
Discrete time competing risks hazard model, with discrete mixture
Log likelihood = -635096 Number of obs = 1,316,611
exit1Coef.Std. Err.zP>|z|[95% Conf. Interval]
hazard
cf-.913632.0092041-99.260.000-.9316717-.8955923
lnjemp-1.437325.0194947-73.730.000-1.475534-1.399116
lnjemp2.7870148.011897266.150.000.7636968.8103328
lnjemp3-.1451242.0024777-58.570.000-.1499804-.1402681
age16tv-.0277728.0023687-11.730.000-.0324153-.0231303
age16tv2.0004827.00016262.970.003.000164.0008014
educcompul2-.0291969.005713-5.110.000-.0403942-.0179996
manufactory-.3281004.0074911-43.800.000-.3427826-.3134182
highserv.077762.01004457.740.000.0580751.097449
lowserv.0705415.006896610.230.000.0570244.0840586
unrate.0023788.00100972.360.018.0003999.0043578
unratexlnjemp.0099583.00129897.670.000.0074125.0125041
unratexlnjemp2-.0040484.0004267-9.490.000-.0048848-.0032121
_cons-.4461856.0145465-30.670.000-.4746963-.417675
m2
_cons1.588835.0089093178.330.0001.5713731.606297
logitp2
_cons-1.742683.0211864-82.250.000-1.784207-1.701158
Prob. Type 1.8510275.002686316.840.000.8456859.8562156
Prob. Type 2.1489725.00268655.460.000.1437844.1543141

Note: m1 = 0

Two competing risks model with UH using hsmlogit

. hsmlogit_v4 `varsaleE´ , id(codind) spell(spell) seq(j) d(exit2) nmp(2) difficult Discrete time competing risks hazard model without frailty

Multinomial logistic regressionNumber of obs = 1316611
LR chi2(56) = 149758.52
Prob > chi2 = 0.0000
Log likelihood = -861174.84Pseudo R2 = 0.0800
exit2Coef.Std. Err.zP>|z|[95% Conf. Interval]
EU
cf-.7949866.0109422-72.650.000-.816433-.7735403
lnjemp-.9706289.0245682-39.510.000-1.018782-.922476
lnjemp2.5054906.015270633.100.000.4755607.5354205
lnjemp3-.1151439.0033619-34.250.000-.1217332-.1085547
age16tv-.0874133.0026712-32.720.000-.0926488-.0821778
age16tv2.0039427.000182621.600.000.0035849.0043005
educcompul2-.1047359.0060011-17.450.000-.1164979-.0929739
manufactory-.1986758.0088302-22.500.000-.2159827-.1813689
highserv.2298115.011843419.400.000.2065989.2530242
lowserv.2196708.007935327.680.000.204118.2352237
unrate.0225876.001225918.430.000.0201849.0249904
unratexlnj-p-.0009619.0016357-0.590.557-.0041678.0022441
unratexlnj-2.0002686.00054610.490.623-.0008018.0013389
_cons-1.011903.0163099-62.040.000-1.04387-.9799364
EE
cf-1.011942.0122039-82.920.000-1.035861-.9880226
lnjemp-2.53216.0241991-104.640.000-2.57959-2.484731
lnjemp21.255083.015354781.740.0001.2249881.285178
lnjemp3-.2022639.0031734-63.740.000-.2084836-.1960442
age16tv.043099.002710315.900.000.037787.0484111
age16tv2-.0031777.000185-17.180.000-.0035402-.0028152
educcompul2.0220555.0055693.960.000.0111405.0329705
manufactory-.4401769.0088543-49.710.000-.4575309-.4228228
highserv.1415707.010901312.990.000.1202046.1629368
lowserv.0282416.00769633.670.000.0131571.0433262
unrate-.0165131.0010909-15.140.000-.0186511-.0143751
unratexlnj-p.0118484.00162187.310.000.0086697.0150271
unratexlnj-2-.0052452.0005698-9.210.000-.006362-.0041284
_cons-.3861184.0145517-26.530.000-.4146391-.3575977

(exit2==no exit is the base outcome)

Discrete time competing risks hazard model, with discrete mixture Log likelihood = -840603.57 Number of obs = 1,316,611

log likelihood = -840603.57Number of obs = 1,316,611
exit2Coef.Std. Err.zP>|z|[95% Conf. Interval]
hazard1
cf-.8244588.0115585-71.330.000-.8471131-.8018045
lnjemp-.5313624.0253333-20.970.000-.5810148-.4817099
lnjemp2.3610352.0156123.130.000.3304402.3916302
lnjemp3-.0957306.0034033-28.130.000-.102401-.0890603
age16tv-.0934056.0028976-32.240.000-.0990848-.0877263
age16tv2.0039949.000199220.060.000.0036046.0043852
educcompul2-.0968852.0069518-13.940.000-.1105105-.08326
manufactory-.211835.0094664-22.380.000-.2303887-.1932812
highserv.1350418.012714710.620.000.1101215.1599621
lowserv.1745412.008562620.380.000.1577589.1913235
unrate.024601.001304518.860.000.0220443.0271577
unratexlnjemp.0004602.00168380.270.785-.0028401.0037605
unratexlnjemp2-.0005451.0005548-0.980.326-.0016324.0005422
_cons-1.540267.0182031-84.620.000-1.575944-1.504589
hazard2
cf-1.02528.0127572-80.370.000-1.050284-1.000277
lnjemp-2.078786.0250507-82.980.000-2.127885-2.029688
lnjemp21.107497.01572270.440.0001.0766831.138312
lnjemp3-.1831092.0032193-56.880.000-.1894189-.1767995
age16tv.038407.002983912.870.000.0325588.0442553
age16tv2-.0031854.000205-15.540.000-.0035871-.0027836
educcompul2.0336721.00672715.010.000.0204872.0468571
manufactory-.4384897.0095412-45.960.000-.45719-.4197893
highserv.0295985.01199482.470.014.006089.0531079
lowserv-.0230854.0084529-2.730.006-.0396528-.0065181
unrate-.0144479.0011802-12.240.000-.0167611-.0121346
unratexlnjemp.0123513.00167257.380.000.0090732.0156294
unratexlnjemp2-.0058043.0005786-10.030.000-.0069384-.0046703
_cons-.9270718.0167796-55.250.000-.9599592-.8941844
m2
_cons1.584087.0088521178.950.0001.5667371.601437
logitp2
_cons-1.730903.0210766-82.120.000-1.772212-1.689593
Prob. Type 1.8495279.0026942315.310.000.8441707.8547326
Prob. Type 2.1504721.002694255.850.000.1452674.1558293

Note: m1 = 0

Three competing risks with UH using hsmlogit

. hsmlogit_v4 `varsaleE´ , id(codind) spell(spell) seq(j) d(exit3) nmp(2) difficult Discrete time competing risks hazard model without frailty

Multinomial logistic regressionNumber of obs = 1316611
LR chi2(84) = 160654.70
Prob > chi2 = 0.0000
Log likelihood = -881090.49Pseudo R2 = 0.0836
exit3Coef.Std. Err.zP>|z|[95% Conf. Interval]
EU
cf-.7986611.0109406-73.000.000-.8201043-.7772179
lnjemp-.9709934.0245729-39.510.000-1.019155-.9228314
lnjemp2.5069499.015277533.180.000.4770066.5368933
lnjemp3-.1157149.0033656-34.380.000-.1223114-.1091185
age16tv-.0881035.0026718-32.980.000-.0933401-.0828668
age16tv2.0039923.000182621.860.000.0036344.0043502
educcompul2-.105202.0060017-17.530.000-.1169652-.0934388
manufactory-.2006661.0088305-22.720.000-.2179736-.1833587
highserv.2296968.011845319.390.000.2064804.2529132
lowserv.2180955.007936327.480.000.2025406.2336503
unrate.022578.001226118.410.000.0201749.0249811
unratexlnj-p-.0011119.0016364-0.680.497-.0043191.0020953
_cons-1.009577.0163131-61.890.000-1.04155-.9776039
ET
cf-1.214204.0134696-90.140.000-1.240604-1.187804
lnjemp-2.566013.0252271-101.720.000-2.615457-2.516569
lnjemp21.310668.016532279.280.0001.2782661.343071
lnjemp3-.2269325.0035308-64.270.000-.2338528-.2200123
age16tv.0348604.002745212.700.000.0294799.0402409
age16tv2-.002567.0001871-13.720.000-.0029338-.0022002
educcompul2.0164089.00566872.890.004.0052985.0275193
manufactory-.4715925.0091037-51.800.000-.4894354-.4537496
highserv.1380367.011053312.490.000.1163726.1597009
lowserv.0082154.00782951.050.294-.0071302.023561
unrate-.0164156.001101-14.910.000-.0185736-.0142576
unratexlnj-p.0097402.00168965.760.000.0064288.0130517
_cons-.3760623.0146951-25.590.000-.4048642-.3472603
EP
cf.7109967.03560419.970.000.6412142.7807791
lnjemp-2.083359.1148221-18.140.000-2.308406-1.858312
lnjemp21.077243.05683318.950.000.96585191.188633
lnjemp3-.1234547.0099939-12.350.000-.1430423-.1038671
age16tv.2424454.015619215.520.000.2118325.2730584
age16tv2-.0191269.0011496-16.640.000-.0213801-.0168737
educcompul2.151788.02681595.660.000.0992299.2043462
manufactory.149392.03550044.210.000.0798125.2189714
highserv.2252933.0570293.950.000.1135184.3370681
lowserv.5072968.036002714.090.000.4367328.5778609
unrate-.0802567.0089966-8.920.000-.0978896-.0626237
unratexlnj-p.0610449.00897996.800.000.0434446.0786453
_cons-4.808289.1012222-47.500.000-5.006681-4.609897

(exit3==no exit is the base outcome)

Discrete time competing risks hazard model, with discrete mixture Log likelihood = -860570.7 Number of obs = 1,316,611

log likelihood = -860570.7 Number of obs = 1,316,611
exit3Coef.Std. Err.zP>|z|[95% Conf. Interval]
hazard1
cf-.8317648.0115702-71.890.000-.8544421-.8090876
lnjemp-.5323972.0253395-21.010.000-.5820617-.4827327
lnjemp2.3637062.015617123.290.000.3330973.3943152
lnjemp3-.0965266.0034067-28.330.000-.1032035-.0898496
age16tv-.0946958.0028946-32.710.000-.1003691-.0890224
age16tv2.0041084.000198620.680.000.003719.0044977
educcompul2-.098385.0069564-14.140.000-.1120192-.0847508
manufactory-.2151223.0094659-22.730.000-.2336751-.1965695
highserv.1342664.012715110.560.000.1093452.1591875
lowserv.1714203.008566420.010.000.1546305.1882101
unrate.0246167.001304418.870.000.02206.0271733
unratexlnjemp.0002379.00168470.140.888-.003064.0035398
_cons-1.537957.0182095-84.460.000-1.573647-1.502267
hazard2
cf-1.230282.0139993-87.880.000-1.25772-1.202843
lnjemp-2.109857.0260808-80.900.000-2.160975-2.05874
lnjemp21.161366.016904968.700.0001.1282331.194499
lnjemp3-.2072636.0035771-57.940.000-.2142745-.2002527
age16tv.0294043.00301839.740.000.0234885.0353201
age16tv2-.002497.000207-12.060.000-.0029027-.0020913
educcompul2.0270498.00684023.950.000.0136433.0404563
manufactory-.4710222.0097941-48.090.000-.4902183-.4518261
highserv.023543.01215291.940.053-.0002762.0473622
lowserv-.0459738.008593-5.350.000-.0628157-.0291318
unrate-.0143704.0011898-12.080.000-.0167023-.0120384
unratexlnjemp.0101926.00174015.860.000.006782.0136031
_cons-.9171136.0169239-54.190.000-.9502838-.8839434
hazard3
cf.6758236.035825918.860.000.6056062.7460411
lnjemp-1.679314.1147489-14.630.000-1.904217-1.45441
lnjemp2.9649278.056830316.980.000.85354251.076313
lnjemp3-.1111428.0099834-11.130.000-.13071-.0915757
age16tv.2357879.015633315.080.000.2051473.2664286
age16tv2-.0190263.0011489-16.560.000-.0212781-.0167745
educcompul2.1549394.02697995.740.000.1020597.2078191
manufactory.134427.0356733.770.000.0645092.2043449
highserv.1660599.05719612.900.004.0539576.2781622
lowserv.4844141.036150513.400.000.4135604.5552679
unrate-.0763687.0089703-8.510.000-.0939502-.0587873
unratexlnjemp.0608414.00894726.800.000.0433051.0783776
_cons-5.338236.101233-52.730.000-5.536649-5.139823
m2
_cons1.583831.0088365179.240.0001.5665121.60115
logitp2
_cons-1.725456.0210304-82.050.000-1.766674-1.684237
Prob.Type 1.8488302.0026986314.550.000.8434647.8540436
Prob.Type 2.1511698.002698656.020.000.1459564.1565353

The estimation exercise shown in this Section is addressed only to highlight the importance of allowing for modelling more than one single risk in a duration model that also takes into account the presence of UH. For that reason, analogously to [Troncoso-Ponce, 2017], the main purpose of these regressions is not intended to address a rigorous regression analysis to properly estimate the efect of a set of covariates on the probability of exiting out of employment. Therefore, in this Section, comments on detailed estimation results will be focused mainly on the impact of holding an apprenticeship contract (captured by the covariate cf in the three estimation outputs presented above) when we allow for modelling more than one single risk.

The single risk duration model estimates a statistically significant negative efect (−0.9136) of holding an apprenticeship contract on the probability of exiting out from the employment state, which may suggest that apprenticeship contracts last longer (ie. seem to be more stable) than regular fixed-term contracts. And when we allow for modelling two competing risks (exiting to unemployment, or a job-to-job transition to another job), the efect of apprenticeship contracts remain negative and statistically significant on both the two risks modeled: exiting to exit to unemployment (−0.8244), and a direct transition to another job (−1.0252).

However, interestingly, the estimated efect of apprenticeship contracts turns positive when we allow for modelling the job-to-job transition separately in two diferent, and mutually exclusive, destinations: i) a direct transition to a fixedterm contract; and i) a direct transition to an open-ended contract. As the third estimation output shows, apprenticeship contracts increase the probability of experiencing a job-to-job transition towards an open-ended contract (0.7109). The main reason of observing this possitive efect is the role played by public financial incentives addressed to the conversion of apprenticeship contracts into open-ended ones. Apprenticeship contracts in Spain benefit from public subsidies for the conversion into open-ended contracts. These subsidies mainly consist of a significant reduction in Social Security contributions paid by the employer during a maximun period of three years, from the starting date of conversion of the apprenticeship contract into an open-ended one. The main goal of these financial incentives is to favour employment stability, and to foster the accumulation of employment experience of apprentices by allowing them to put in practice the work-specific skills acquired during the apprenticeship period. Thus, the possitive coeficient found (0.7109) may be capturing the efect of these public financial incentives provided by Spanish policy makers addressed to the conversion of apprenticeship contracts into open-ended ones.

An axhaustive analysis of the apprenticeship contracts in the Spanish labor market is presented in [Troncoso-Ponce, 2016] and [Jansen and Troncoso-Ponce, 2017]. The first one estimates a multispell and multistate competing risks duration

Table 1: Interpretation of UH coeficients (three competing risks model)

Prob.Emp. to Unemp.Emp. to Fixed-termEmp. to Open-ended
Type I84.88%-1.537957-0.9171136-5.338236
Type II15.12% $0.045874^a$ $0.6667174^b$ $-3.754405^c$
$^a (= -1.537957 + 1.583831)^b (= -0.9171136 + 1.583831)^c (= -5.338236 + 1.583831)$

model with UH especific to both each state and to each destination state, as well as a selection equation that estimates the transition rates to the entry into the labor market holding three diferent types of labor contract: an apprenticeship contract, a fixed-term contract, and an open-ended contract. The second, and more recent, work also estimates a multispell and multistate competing risks duration model with UH, but the selection equation consists of an initial conditions equation, rather than a transition rate equation, that controls for the efect of a set of observable covariates on the probability of having an apprenticeship contract just in the first employment spell of the individual’s working life. Moreover, the empirical strategy followed in this work allows us to disentangle two types of efect: an instant efect, and a subsequent efect of apprenticeship contracts on the employment and unemployment transition rates.

5.1 Some insights on the interpretation of UH coeficients

Regarding the estimation and interpretation of UH coeficients, as we assume that is set to zero,11 the estimated regression’s constant terms (−1.537957, −0.9171136 and −5.338236, for the exit to unemployment, to a fixed-term, and to an open-ended contract, respectively) capture the UH component specific to Type I workers, whereas η captures the unobserved diferential efect of Type II workers with respect to Type I workers. Therefore, the estimated value of UH component specific to Type II workers are the result of the sum of the regression’s constant terms and the estimated coeficient value of η2.

Table 1 shows the estimated coeficients of the UH components of Type I and Type II workers from the estimation results of the three competing risks model. The estimation of the non-parametric UH distribution, characterized by the presence of two types of workers (two points of support), captures Type I and Type II workers who represent, respectively, 84.88% and 15.12% of the estimation sample. As Table 1 shows, Type II workers have unobserved characteristics that positively correlate to the employment hazard rates, which implies that Type II workers face employment transition rates (towards all the three modeled risks) higher than Type I workers’.

11It explains the footnote shown at the estimation output tables with the message ”Note: m1 = 0”, where m1 denotes UH component given by η1. See also [Troncoso-Ponce, 2017] and hshaz command’s oficial Stata helpfile.

In conclusion, the estimation of not only a single or a two competing risks, but a three competing risks duration model has allowed for capturing a positive and statistically significant efect of apprenticeship contracts on the probability of transiting directly (via job-to-job) to an open-ended contract, that otherwise would have remained hidden to the empirical researcher if only one risk, or even two, would have been estimated. Furthermore, given the relevance of UH, and its non parametric identification, in discrete time duration models with multispell observations (see, for example, [Gaure, Roed and Zhang, 2007] and [Abbring and Van den Berg, 2004]), the new Stata command hsmlogit takes especial relevance, as allows for the estimation of discrete time competing risks duration models with UH.

6 The advantages of using ml d2 method

As mentioned in Section 1, hsmlogit provides the algebraic expressions of both the gradient vector and Hessian matrix, allowing for using d2 ml method to achieve the model convergence. An important advantage of programming the Hessian matrix is that allows applied researchers to deal with large longitudinal microdata sets (see for example [Troncoso-Ponce, 2017]). To show the savyings in estimation time, this Section presents time required to estimate multispell both single and competing risks duration models (with 2, 3 and 4 mass-points) using d0, d1 and d2 ml methods,12. Comments in this Section will be focused only on the comparison between d1 and d2 ml methods. The comparison between d0 and d2 ml does reinforce the same conclusions obtained below.

Table 2 reports time spent13 by each of the three ml methods in achieving the models’ convergence.14 Results from Table 2 highlight two relevant diferences between d1 and d2 ml methods: Firstly, d2 method significantly reduces time required to achieve the all models convergence. Diferences in time required seem to be less evident in the estimation of single risk models: for instance, for fitting the two mass-points model, d2 (d1) method needs 46 seconds (6.28 minutes). However it becomes more important as both the number of risks and the number of mass-points increase: for fitting the three competing risks model with four mass-points, d2 method only requires 8.02 minutes, whereas d1 method needs 1.58 hours. On its part, d0 method not even achieve the model convergence:

12The all estimations, whose time required are shown in Table 2, include a set of twenty eight covariates that, as results shown in Section 5, control for duration dependence, personal characteristics, type of labor contract, regional efects and economic cycle. The detailed estimation results are available upon request to the interested reader.
13I work with Stata 14.0 MP - Parallel edition 64 bits. The machine employed to obtain estimation results incorporates an Intel(R) Core(TM) i7-6700HQ CPU at 2.60 GHz, and 12 Gb RAM memory. The operating system is Windows 10 Home.
14In this sample composed of youth Spanish employees, the estimation of five points of support for the identification of the non-parametric unobserved heterogeneity distributuion is not possible, neither fitting single risk models, nor competing riks models.

Table 2: Time required for the estimation of multispell competing risks duration models (Sample size: 1,316,611 observations)

Time (hh:mm:ss)
d0 methodd1 methodd2 methodDiff.=d1-d2Diff.=d0-d2
Single risk
Two mass-points1:37:590:06:280:00:460:05:421:32:17
Three mass-points3:00:160:12:480:02:030:10:452:49:31
Four mass-points18:02:160:21:010:06:520:14:0917:48:07
Two risks
Two mass-points3:59:590:20:100:01:480:18:223:41:37
Three mass-points7:58:440:37:280:04:000:33:287:25:16
Four mass-points7:03:510:58:280:07:060:51:226:12:29
Three risks
Two mass-points3:45:530:40:090:03:190:36:503:09:03
Three mass-points-1:13:420:05:431:07:59-
Four mass-points-1:58:290:08:021:50:27-

after eleventh iteration, it gets into a backed up loop. Secondly, unlike d2 method, time required by d1 method to achieve the model convergence strongly dependes both on the number of exits modeled, and on the number of points of support for the identification of the UH. Table 2 shows that, using d2 (d1) method, the diference in time spent between the less time-demanding model (the single risk model with two mass-points) and the most time-demanding model (the three competing risks with four mass-points) reaches 7.16 minutes (1.52 hours).

7 Concluding remarks

This article presents hsmlogit, a new Stata command that estimates multispells discrete time competing risks duration models with unobserved heterogeneity. hsmlogit allows for the estimation of one, two and up to three competing risks, as well as a maximum of five points of support for the identification of the nonparametric unobserved heterogeneity distribution [Heckman and Singer, 1984]. The relevance of modelling more than one risk has been highlighted by estimating the efect of apprenticeship contracts on a sample composed of low educated young workers in the Spanish labor market for the period 2000-2014. Thus, the estimation of a three competing risks duration model has been the only way to find out the potential efect of public financial incentives for the conversion of apprenticeship contracts into open-ended ones on the direct (via job-to-job) transition rates towards an open-ended contract. Moreover, since hsmlogit allows for the estimation of non-parametric UH distribution ([Heckman and Singer, 1984]), our results capture the presence of two types of workers with diferent values of unobserved characteristics that afect the estimated hazard rates.

Finally, hsmlogit provides the algebraic expressions of both the gradient vector and the Hessian matrix, which significantly reduces time required to achieve the model convergence, and also improves the standard errors’ accuracy of the estimated coeficients. The possibility of estimating competing risks duration models with the presence of UH, along with time savyings provided by the use of d2 ml method may allow the applied researchers to easily and properly exploit the richness and complexity of large longitudinal microdata sets.

References

  1. [Abbring and Van den Berg, 2004] Abbring, Jaap H. and Van den Berg, Gerard J., Analysing the efect of dynamically assigned treatments using duration models, binary treatment models, and panel data models, Empirical Economics, January 2004, Volume 29, Issue 1, pp. 5-20.
  2. [Allison, 1982] Allison, Paul D., Discrete-Time Methods for the Analysis of Event Histories, Sociological Methodology, Vol. 13 (1982), pp. 61- 98.
  3. [Arranz, García-Serrano and Hernanz, 2013] Arranz, J.M., García- Serrano, C. and Hernanz, V., 2013, How do we pursue ?labormetrics?? An application using the MCVL, Estadística Española, Vol. 55 (2013), No. 181, pp. 231-254.
  4. [Arranz and García-Serrano, 2011] Arranz, J.M. and García-Serrano, C., 2011, Are the MCVL tax data useful? Ideas for mining, Hacienda Pública Española, Vol. 199(4), pp. 151-186.
  5. [García-Pérez, 2008] García-Perez, J.I., 2008´ La Muestra Continua de Vidas Laborales: Una guía de uso para el anlisis de transiciones, Revista de Economía Aplicada, N. E-1, Vol. XVI, pp. 5-28.
  6. [Gaure, Roed and Zhang, 2007] Gaure, S., Roed, K. and Zhang, T., 2007 Time and causality: A Monte Carlo assessment of the timing-of-events approach, Journal of Econometrics, Volume
  7. 141, Issue 2, December 2007, Pages 1159- 1195.
  8. [Gould et al., 2010] Gould, W., Pitblado, J. and Poi, B. Maximum Likelihood Estimation with Stata, Fourth Edition, Stata Press, 2010.
  9. [Heckman and Singer, 1984] Heckman, J. J. and Singer, B., A Method for Minimizing the Impact of the Distributional Assumptions in Econometric Models for Duration Data, Econometrica, Vol. 52, pp. 271-320.
  10. [Jansen and Troncoso-Ponce, 2017] Jansen, M. and Troncoso-Ponce, D., The impact of apprenticeship contracts on the labour market insertion of youth in Spain, Fedea working paper (forthcoming).
  11. [Jenkins, 1995] Jenkins, S., 1995 Easy Estimation Methods for Discrete-Time Duration Models, Oxford Bulletin of Economics and Statistics, Vol. 57, 1, 1995.
  12. [Lancaster, 1992] Lancaster, Tony, The Econometric Analysis of Transition Data, First Edition, Cambridge University Press, 1992.
  13. [Lapuerta, 2010] Lapuerta, I. (2010) Claves para el tra- bajo con la Muestra Continua de Vidas Laborales, DemoSoc working paper (2010-37), Universitat Pompeu Fabra
  14. [Troncoso-Ponce, 2016] Troncoso-Ponce, D., 2016 An empiri- cal analysis of some public policies applied to the Spanish labour market, PhD. Thesis, Chapter 3.
  15. [Troncoso-Ponce, 2017] Troncoso-Ponce, D., 2017 Faster es- timation of discrete time duration models using hshaz2, Manuscript. Available at: https://ideas.repec.org/p/pab/wpaper/17.05.html
  16. [Van Den Berg, 2001] Van Den Berg, Gerard. J, 2001 Du- ration models: specification, identification, and multiple durations, Handbook of Econometrics, Elsevier, Vol. 5, 2001, pp. 3381- 3460.
  17. 2018-03: “Estimation of competing risks duration models with unobserved heterogeneity using hsmlogit”, David Troncoso Ponce.
  18. 2018-02: “Redistributive effects of regional transfers: a conceptual framework”, Julio López-Laborda y Antoni Zabalza.
  19. 2018-01: “European Pension System: ¿Bismarck or Beveridge?”, J. Ignacio Conde-Ruiz y Clara I. González.
  20. 2017-15: “Estimating Engel curves: A new way to improve the SILC-HBS matching process”, Julio López-Laborda, Carmen Marín-González y Jorge Onrubia.
  21. 2017-14: “New Approaches to the Study of Long Term Non-Employment Duration in Italy, Germany and Spain”, B. Contini, J. Ignacio Garcia Perez, T. Pusch y R. Quaranta.
  22. 2017-13: “Structural Scenario Analysis and Stress Testing with Vector Autoregressions”, Juan Antolín-Díıaz y Juan F. Rubio-Ramírez.
  23. 2017-12: “The effect of changing the number of elective hospital admissions on the levels of emergency provision”, Sergi Jimenez-Martin, Catia Nicodemo y Stuart Redding.
  24. 2017-11: “Relevance of clinical judgement and risk stratification in the success of integrated care for multimorbid patients”, Myriam Soto-Gordoa, Esteban de Manuel, Ane Fullaondo, Marisa Merino, Arantzazu Arrospide, Juan Ignacio Igartua y Javier Mar.
  25. 2017-10: “Moral Hazard versus Liquidity and the Optimal Timing of Unemployment Benefits”, Rodolfo G. Campos, J. Ignacio García-Pérez y Iliana Reggio.
  26. 2017-09: “Un análisis de modelos para financiar la educación terciaria: descripción y evaluación de impacto”, Brindusa Anghel, Antonio Cabrales, Maia Güell y Analía Viola.
  27. 2017-08: “Great Recession and Disability Insurance in Spain”, Sergi Jiménez-Martín, Arnau Juanmarti Mestres y Judit Vall Castelló.
  28. 2017-07: “Narrative Sign Restrictions for SVARs”, Juan Antolín-Díaz y Juan F. Rubio-Ramírez.
  29. 2017-06: “Faster estimation of discrete time duration models with unobserved heterogeneity using hshaz2”, David Troncoso Ponce.
  30. 2017-05: “Heterogeneous Household Finances and the Effect of Fiscal Policy”, Javier Andrés,José E.Boscá, Javier Ferri y Cristina Fuentes-Albero.
  31. 2017-04: “Statistical Discrimination and the Efficiency of Quotas”, J. Ignacio Conde-Ruiz, Juan-José Ganuza y Paola Profeta.
  32. 2017-03: “Cargos por Azar”, Emilio Albi.
  33. 2017-02: “Should pensions be redistributive? The impact of Spanish reforms on the system’s sustainability and adequacy”, Concepció Patxot, Meritxell Solé y Guadalupe Souto.
  34. 2017-01: “El Modelo de Perfilado Estadístico: una herramienta eficiente para caracterizar a los demandantes de empleo”, Yolanda F. Rebollo-Sanz.
  35. 2016-10: “Family Job Search and Wealth: The Added Worker Effect Revisited”, J. Ignacio García-Pérez y Sílvio Rendon.
  36. 2016-09: “Evolución del Gasto Público por Funciones durante la crisis (2007-2014): España vs UE”, José Ignacio Conde-Ruiz, Manuel Díaz , Carmen Marín y Juan F. Rubio-Ramírez.
  37. 2016-08: “Thinking of Incentivizing Care? The Effect of Demand Subsidies on Informal Caregiving and Intergenerational Transfers”, Joan Costa-Font, Sergi Jiménez-Martín y Cristina Vilaplana Prieto.
  38. 2016-07: “The Pruned State-Space System for Non-Linear DSGE Models: Theory and Empirical Applications”, Martin M. Andreasen, Jesús Fernández-Villaverde y Juan F. Rubio-Ramírez.
  39. 2016-06: “The effects of non-adherence on health care utilisation: panel data evidence on uncontrolled diabetes”, Joan Gil, Antonio Sicras-Mainar y Eugenio Zucchelli.
  40. 2016-05: “Does Long-Term Care Subsidisation Reduce Unnecessary Hospitalisations?”, Joan Costa-Font, Sergi Jiménez-Martín y Cristina Vilaplana-Prieto
  41. 2016-04: ““Cultural Persistence” of Health Capital: Evidence from European Migrants”, Joan Costa-Font y Azusa Sato.
  42. 2016-03: “Like Mother, Like Father? Gender Assortative Transmission Of Child Overweight”, Joan Costa-Font y Mireia Jofre-Bonet.
  43. 2016-02: “Health Capacity to Work at Older Ages: Evidence from Spain”, Pilar García-Gómez, Sergi Jimenez Martin y Judit Vall Castello.
  44. 2016-01: “Monte Carlo evidence on the estimation of AR(1) panel data sample selection models”, Sergi Jiménez-Martín y José María Labeaga.
  45. 2015-13: “On the Treatment of Foreigners and Foreign-Owned Firms in Cost–Benefit Analysis”, Per-Olov Johansson y Ginés de Rus.
  46. 2015-12: “Evaluating Options for Shifting Tax Burden to Top Income Earners”, Jorge Onrubia, Fidel Picos y María del Carmen Rodado.
  47. 2015-11: “Differences in Job De-Routinization in OECD countries: Evidence from PIAAC”, Sara De La Rica y Lucas Gortazar.
  48. 2015-10: “Bad times, slimmer children?”, Cristina Belles-Obrero, Sergi Jimenez-Martín y Judit Vall-Castello.
  49. 2015-09: “The Unintended Effects of Increasing the Legal Working Age on Family Behaviour”, Cristina Belles-Obrero, Sergi Jimenez-Martín y Judit Vall-Castello.
  50. 2015-08: “Capital Humano y Productividad”, Ángel de la Fuente.