Dear State Users,
I did a Latent Class Analysis for up to five classes with six ordinal variables, using the gsem command. After deciding upon the number of classes with the BIC, I now would like to perform further classification diagnostics to be sure that my five-class solution is a suitable one. The literature suggests to asses the average posterior class probabilities (AvPP) as well as the odds of correct classification ratio (OCC).
AvPP tests for in-class homogeneity and represents the average probability of an individual being assigned to a class given its response pattern. According to the literature, AvPP values should be at least above 0.7.
OCC evaluates across-class separation and thereby indicates how good the latent classes are separated; values should be above 5.00 (Masyn, 2013).
I have already calculated the predicted class probabilities using
however, I do not think that this is giving me AvPP.
Unfortunately, I couldn't find any explanation how these two diagnostics can be performed with State. Maybe anyone has already done it, or at least an idea?
Thank you very much in advance.
I did a Latent Class Analysis for up to five classes with six ordinal variables, using the gsem command. After deciding upon the number of classes with the BIC, I now would like to perform further classification diagnostics to be sure that my five-class solution is a suitable one. The literature suggests to asses the average posterior class probabilities (AvPP) as well as the odds of correct classification ratio (OCC).
AvPP tests for in-class homogeneity and represents the average probability of an individual being assigned to a class given its response pattern. According to the literature, AvPP values should be at least above 0.7.
OCC evaluates across-class separation and thereby indicates how good the latent classes are separated; values should be above 5.00 (Masyn, 2013).
I have already calculated the predicted class probabilities using
Code:
predict classpost*, classposteriorpr egen max = rowmax(classpostf*) generate predclass = 1 if classpost1==max & max<. replace predclass = 2 if classpost2==max & max<. replace predclass = 3 if classpost3==max & max<. replace predclass = 4 if classpost4==max & max<. replace predclass = 5 if classpost5==max & max<. fre predclass
Unfortunately, I couldn't find any explanation how these two diagnostics can be performed with State. Maybe anyone has already done it, or at least an idea?
Thank you very much in advance.
Comment