I have specified an melogit mixed effects model with survey design parameters, and it does not converge.
The data are from annual state-wide school-based surveys with two-stage sampling and weights adjusting for a few demographic variables. A total of 15 states are included, each collected in multiple years over a 25-year period. State is included as a random effect and its weight is 1, each being selected with certainty.
The simplest model that I am testing is based on the following svyset specification
svyset sitecode, weight(weight2) strata(stratum) || _n, weight(weight)
and the command
svy: melogit outcome predictor || sitecode_i:
Stata support showed me that running this results in more than 30 iterations where the log-likelihood is not-concave, and the log-likelihood also stays unchanged, unable to perform improvements.
Could anyone suggest a solution for analyzing these data?
The data are from annual state-wide school-based surveys with two-stage sampling and weights adjusting for a few demographic variables. A total of 15 states are included, each collected in multiple years over a 25-year period. State is included as a random effect and its weight is 1, each being selected with certainty.
The simplest model that I am testing is based on the following svyset specification
svyset sitecode, weight(weight2) strata(stratum) || _n, weight(weight)
and the command
svy: melogit outcome predictor || sitecode_i:
Stata support showed me that running this results in more than 30 iterations where the log-likelihood is not-concave, and the log-likelihood also stays unchanged, unable to perform improvements.
Could anyone suggest a solution for analyzing these data?
Comment