I am contacting you because I have a problem with an LCM with membership on weighted sample.
The estimate is as follows:
Lclogit X Y1 Y2 Y3 Y4, id(hhid) group(cset) membership(Z1 Z2 Z3 Z4) nclass(2) lclogitml, iter(80) pweight(pw)
Stata runs for a long time and ends up with incomplete results and many error messages.
TwoStep: did not reach goal/
Could not calculate numerical derivatives/
Missing values encountered/
Something went wrong in comprob3
Moreover, when running the same program twice in a row, the results are not identical.
Nevertheless, this estimation works perfectly without the “pweights” option (i.e., on the non-weigthed sample).
How can I solve this issue? Thanks very much for your advice.
The estimate is as follows:
Lclogit X Y1 Y2 Y3 Y4, id(hhid) group(cset) membership(Z1 Z2 Z3 Z4) nclass(2) lclogitml, iter(80) pweight(pw)
Stata runs for a long time and ends up with incomplete results and many error messages.
TwoStep: did not reach goal/
Could not calculate numerical derivatives/
Missing values encountered/
Something went wrong in comprob3
Moreover, when running the same program twice in a row, the results are not identical.
Nevertheless, this estimation works perfectly without the “pweights” option (i.e., on the non-weigthed sample).
How can I solve this issue? Thanks very much for your advice.
Comment