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
Statistical test for comparing marginal probabilities for 2 sub-groups from different regressionsI have a probably quite simple question which I do not know how to implement on Stata. The backgrou…
statistical analysis on two-eye datasetHi everyone, I am very new to stata and I am trying to do an analysis with both eyes of one individu…
Testing robustnessHello, I'm writing my thesis on the effect of nationality diversity on firm performance. I'm using …
Significance levels - explanation below tableHi everyone, After using the command reghdfe for my regressions I use esttab: Code: esttab using t…
Svy for stratified experimental dataAlmost more of conceptual question, but I am wondering if one should use the svy prefix with specifi…
Subscribe to:
Post Comments (Atom)
0 Response to ML bivariate discrete time duration. Error 102 too few variables specified
Post a Comment