Hi everyone,
I am working on a DCE and I run a latent class analysis with four classes.
The stata result gives "shares" for each classes. I need to assign each observation to their classes. To do so, I predict posterior probabilities using the command lclogitpr with cp option. Then, I take the max of the four values to decide if the individual belongs to class 1, 2, 3 or 4.
My problem is here : doing this, the proportions of individuals belonging to each classes are different to those given by the lclogit command...
I would really appreciate if someone may help me.
Best regards, Gabin.
PS : Sorry, I am new on the forum and I don't know if my post is correctly posted and pardon my english, I am actually french.
I am working on a DCE and I run a latent class analysis with four classes.
The stata result gives "shares" for each classes. I need to assign each observation to their classes. To do so, I predict posterior probabilities using the command lclogitpr with cp option. Then, I take the max of the four values to decide if the individual belongs to class 1, 2, 3 or 4.
My problem is here : doing this, the proportions of individuals belonging to each classes are different to those given by the lclogit command...
I would really appreciate if someone may help me.
Best regards, Gabin.
PS : Sorry, I am new on the forum and I don't know if my post is correctly posted and pardon my english, I am actually french.
Comment