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
How to perform NLS estimation with a complex functionDear Stata users, I need to use NLS to estimate the following equation describing the so-called Ba…
tabstat of multiple dummy variablesHello, I have a large dataset of N = 59,000,000. I have a set of diagnoses dummy variables a00_a09…
Confidence-interval plots / any plot : resize possible?Dear Statalisters My question, basically, is whether there is a 'correct' way to resize Stata graph…
Endogeneity & dropping of constraintsHi, I am doing Durbin–Wu–Hausman test to test my independent variables for endogeniety. My data is…
distribution explanatory variable for different birth cohortsHi there, I'm struggling to understand part of a assignment that I need to do. I have to examine w…
Subscribe to:
Post Comments (Atom)
0 Response to ML bivariate discrete time duration. Error 102 too few variables specified
Post a Comment