Dear statalists,
I really would appreciate your help.
I am trying to estimate the simplest model for time to retirement for couples assuming independence between partners. I have written the code for ml and I get an error message telling "too few variables specified" just before the line code for maximizing the LL function and I am not able to find what is wrong.
My data:
I look at time to retirement since first quarter 2010 until 2017 for couples working in the first quarter 2010.
Each row corresponds to a quarter. id is the uniq identifier for couples. Each individual has the dummy for censored data.
The Baseline hazard is piecewise constant (tp). These dummies are included in each beta. I asume that the time increment is unitary.
The model is based on An, Christensen and Gupta (2004)
The code for this is in the following file: ( Array
Thanks for your time and help
Best wishes
Amparo
Related Posts with ML bivariate discrete time duration. Error 102 too few variables specified
Interacting country group dummies with measures of unionizationHello! I am a new user of Stata software. I am writting my final essay on the effect of union densit…
Missing data in longitudinal datasetsDear Stata users, When we have longitudinal datasets, where the data is recorded at the multiple ti…
rearranging observationsDear Stata Users, I am working with data and I would like to know how to rearrange some variables. …
Help needed for business calendar creationHi, I am using Stata 17 and need some help in the creation of business calendars. I am intending to…
Identifying a change in employer in panel dataHello everybody. I want to track when a group of individuals changes from one employer to another d…
Subscribe to:
Post Comments (Atom)
0 Response to ML bivariate discrete time duration. Error 102 too few variables specified
Post a Comment