Hello,
I am analyzing the results of a Discrete choice experiment and am doing some latent class analysis.
My conditional logit model has 6 attributes and 4 interactions.
When estimating the model for certain numbers of classes, the lclogit2 command (presented below) works and yields some results.
However, when I ask for the goodness of fit measures I get missing values '.'.
And when I run the lclogitml2 to get the p-values, I get the message 'Initial values not feasible'
This is the code that generates the error:
This code works for other numbers of classes (such as 2 and 3), so there shouldn't be a typo in the codes.
It would be really helpful if I could figure out why Stata cannot provide goodness of fit and p-values in these cases.
Any insight would be highly appreciated!
Han
I am analyzing the results of a Discrete choice experiment and am doing some latent class analysis.
My conditional logit model has 6 attributes and 4 interactions.
When estimating the model for certain numbers of classes, the lclogit2 command (presented below) works and yields some results.
Code:
lclogit2 decision, group(resp_task) nclasses(5) membership(sig_identity sig_status hp_id hp_status env_id atsci env_norm) rand(att1 des_imp des_top des_none att3 att4 att5 att6 visximp visxtop visxadp visxems visxprc) seed(1234)
And when I run the lclogitml2 to get the p-values, I get the message 'Initial values not feasible'
This is the code that generates the error:
Code:
lclogitml2 decision, group(resp_task) nclasses(5) membership(sig_identity sig_status hp_id hp_status env_id atsci env_norm) rand(att1 des_imp des_top des_none att3 att4 att5 att6 visximp visxtop visxadp visxems visxprc) from(start, skip) iterate(0)
This code works for other numbers of classes (such as 2 and 3), so there shouldn't be a typo in the codes.
It would be really helpful if I could figure out why Stata cannot provide goodness of fit and p-values in these cases.
Any insight would be highly appreciated!
Han
Comment