|
Message/Author |
|
|
Hello, I am trying to do a multilevel LCA with provider-child pairs as the cluster variable. I saved the resultant classes in an SPSS file, and when I looked at the results, I found that the same provider-child pairs were assigned to different classes in different rows, but I was expecting to get one class assignment for each provider-child pair. Here is my syntax: TITLE: Mulilevel Latent Class Analysis (3); DATA: FILE = AAReduced.csv; FORMAT IS FREE; VARIABLE: NAMES ARE ObservationCode Interval PCPAIR Provider Child FISA FICC FIDA FINC FISC FIM FIA FIDR FIDRAppAtt CBSPart CBSObj CBSComm CBSResp CBSAttn FIApp FIAtt FIInc FIIna FINR; USEVARIABLES ARE PCPAIR FISA FICC FIDA FINC FISC FIM FIA FIDR FIDRAppAtt; MISSING ARE all (999); CLUSTER = PCPAIR; CLASSES = c(3); WITHIN = FISA FICC FIDA FINC FISC FIM FIA FIDR FIDRAppAtt; ANALYSIS: TYPE = MIXTURE TWOLEVEL; STARTS = 20 10; PROCESS=8(STARTS); MODEL: %WITHIN% %OVERALL% %BETWEEN% %OVERALL% C#1; C#2; C#1 WITH C#2; SAVEDATA: FILE IS AAClasses21616.sav; SAVE IS cprob; format is free; OUTPUT: TECH11; TECH14; I would greatly appreciate any advice. Sasha |
|
|
You have to add "between=C;" to the variable command. See example 10.2 in the user's guide. |
|
Back to top |
|
|