Hello everyone,
I am fitting a conditional regression model by using clogit in svy since the sampling structure of my sample is complex. I would like to fit the asclogit model but since I have complex sampled data, I used the clogit in svy with data manipulation instead. The code of my fitted model is as follow:
svyset psu [pw=psweight], strata(str) bsrweight(bsw*) vce(bootstrap) singleunit(scaled)
svy: clogit choice alt1 alt2 alt3 sub1-sub20, group(id).
The "choice" variable indicates the choice the subject made. The alt1-3 variables are the alternative variables and are dummy coded. The sub1-20 are the interactions of the subjective variable and each alternative.
The model code should be correct since I have conducted the same code with different data which converged.
However, stata showed the model was un-conveged and returned the following error messages:
convergence not achieved
convergence not achieved
an error occurred when svy executed clogit
an error occurred when bootstrap executed clogit
r(430);
I wonder why it happens and if there is a way to make it converge, such as changing the starting values or other techniques. I appreciate any suggestions and possible error/bug detected method. Any reply is appreciated. Thank you for your precious time!
Best,
Yen
I am fitting a conditional regression model by using clogit in svy since the sampling structure of my sample is complex. I would like to fit the asclogit model but since I have complex sampled data, I used the clogit in svy with data manipulation instead. The code of my fitted model is as follow:
svyset psu [pw=psweight], strata(str) bsrweight(bsw*) vce(bootstrap) singleunit(scaled)
svy: clogit choice alt1 alt2 alt3 sub1-sub20, group(id).
The "choice" variable indicates the choice the subject made. The alt1-3 variables are the alternative variables and are dummy coded. The sub1-20 are the interactions of the subjective variable and each alternative.
The model code should be correct since I have conducted the same code with different data which converged.
However, stata showed the model was un-conveged and returned the following error messages:
convergence not achieved
convergence not achieved
an error occurred when svy executed clogit
an error occurred when bootstrap executed clogit
r(430);
I wonder why it happens and if there is a way to make it converge, such as changing the starting values or other techniques. I appreciate any suggestions and possible error/bug detected method. Any reply is appreciated. Thank you for your precious time!
Best,
Yen
Comment