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
ProgrammingHello experts, Kindly let me know how to match merge two or more files. I need the codes. Thanks …
chow test for mixed (growth-curve) modelHi, I have a question about the chow test for comparing coefficients in mixed models. On this Stat…
Graphing interaction termsI have fitted a two - level cross-classified logistic models using runmlwin (mcmc). I would like to …
Multiple imputation with panel dataHello, I want to use a multiple imputation panel dataset (originally in SPSS) in Stata. To do so, I…
Why do country-state pair fixed effects within gravity framework drastically change coefficients and significance?I am investigating the effects of migration on trade. My dataset contains approximately 130 countrie…
Subscribe to:
Post Comments (Atom)
0 Response to ML bivariate discrete time duration. Error 102 too few variables specified
Post a Comment