The followings are the input and output I have. The program keeps saying that "CINDICATORS" option is unknown.... What's wrong with my syntax?
Title: ALCOHOL Data: FILE IS C:\HKTEMP\ALC.DAT; TYPE IS INDIVIDUAL; FORMAT IS FREE; NOBSERVATIONS ARE 350; VARIABLE:NAMES ARE AFFDIS AUSE BUSE CUSE DUSE dis sex par neo paralc con; USEVARIABLES ARE DIS AUSE BUSE CUSE DUSE; MISSING=all(999); CLASSES=C(3); CATEGORICAL = DIS; ANALYSIS:TYPE=MIXTURE; MITERATIONS=500; MODEL: %OVERALL% I BY AUSE@1BUSE@1CUSE@1DUSE@1; S BY AUSE@-2BUSE@-1CUSE@0DUSE@1; [AUSE@0BUSE@0CUSE@0DUSE@0]; i*7 s*.7; i with s*.5;
C#1 BY DIS*-8; C#2 BY DIS*4; C#3 BY DIS*6;
Mplus VERSION 2.01 PAGE 2
Mplus VERSION 2.01 PAGE 3
Mplus VERSION 2.01 PAGE 4
*** ERROR in Model command C BY U statements are no longer supported. Please refer to Chapter 9 of the Mplus User's Guide on how to change these statements using the new language.
MUTHEN & MUTHEN 11965 Venice Blvd., Suite 407 Los Angeles, CA 90066
Hi, I have an latent class model with 7 indicators, a continuous covariate and binary group. I am unsure how to construct the syntax to hold item response probabilties invariant over the groups, but leave the other parameters (latent statuses and covariate effects) to vary between the genders. Can you advise as to what the syntax should look like? Cheers, Oxnard
A week or so ago, somebody asked about using TECH11 (LMR) and TECH14 (BLRT) to determine the number of latent classes. They were concerned about needing to have their largest class last. An Mplus Web Note No. 14 is now available and will shortly be posted that gives a detailed description of how to use these methods. The note describes the K-1STARTS and LRTSTARTS options that go with TECH11 and TECH14. It points out that re-ordering the classes to have the largest class last is not necessary. Avoiding local optima by replication of the best loglikelihood value is discussed. The note also shows the value of the OPTSEED option. A 3-step strategy is presented for doing the analyses successfully and with as little computational time as possible.
Hello I am running an LCA with binary and nominal indicators. I have used this syntax under USEVARIABLES after listing the ones I am using CATEGORICAL = V3_DEP V3COPE4d V3PT1sum V3PT2sum V3PT4sum WSP_NoKn; NOMINAL = arm_1SD RPA1SD RTT1SD LPA1SD LTT1SD; and this for the ANALYSIS: TYPE = MIXTURE; and the MODEL: %OVERALL% arm_1SD#1 arm_1SD#2 RPA1SD#1 RPA1SD#2 RTT1SD#1 RTT1SD#2 LPA1SD#1 LPA1SD#2 LTT1SD#1 LTT1SD#2; I am getting the following error message about all of my nominal variables *** ERROR in MODEL command Variances for nominal variables are not currently defined. Can you please help clarify what may be the issue?
Thank you! I thought that this was required to specify the nominal variables with those statements. Is this not the case? I ask as I did get it to run when these were not included and the nominal variables were identified only under USEVARIABLES.
I still can't get the nominal variables to work. I have added the brackets but now get an error message saying Unknown variable(s): (ARM_1SD#1) in line: (ARM_1SD#1). It says this about what ever the first variable listed is. Clearly I am missing something. Thanks in advance.
Thank you for your quick response but the same error message is appearing despite making that change. It is specifying the GENDER variable but when I move the variables around in the dataset/syntax whatever the first variable is appears similarly in the error message.
It ended up being a problem with my data file, such that MPlus was not even able to open it. The error message was confusing because MPlus wasn't even able to look at the variables. Thank you for your prompt responses and help!