Latent Class Analysis [message #15651] |
Mon, 27 August 2018 15:20 |
waltine
Messages: 21 Registered: March 2013 Location: South Africa
|
Member |
|
|
Dear All,
I am trying to run LCA with STATA 15 with the following variables below which have been coded 0"No" 1"Yes" in STATA with the command below. However, the model cant converge. I will like to know if there is anything I am doing wrongly with regards to coding the data.
Abstinence (never had sex) - no and yes
HIV testing - no and yes
cc use at last sex - no and yes
single sexual partners - no and yes
Command used: gsem (abstinence ssp hivtesting condomuse <- _cons), family(bernoulli) link(logit) lclass(A 2)
Thank you.
waltine
|
|
|