Message/Author 


The followings are the input and output I have. The program keeps saying that "CINDICATORS" option is unknown.... What's wrong with my syntax? INPUT INSTRUCTIONS 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@1 BUSE@1 CUSE@1 DUSE@1; S BY AUSE@2 BUSE@1 CUSE@0 DUSE@1; [AUSE@0 BUSE@0 CUSE@0 DUSE@0]; i*7 s*.7; i with s*.5; C#1 BY DIS*8; C#2 BY DIS*4; C#3 BY DIS*6; %C#1% [I*1.3 S*.3]; %C#2% [I*2.3 S*.5]; %C#3% [I*3.3 S*.5]; 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 Tel: (310) 3919971 Fax: (310) 3918971 Web: www.StatModel.com Support: Support@StatModel.com Copyright (c) 19982001 Muthen & Muthen 


The message from the output you sent, 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. is telling you that the c BY u syntax has been changed in Version 2. If you refer to pages 132134 in Chapter 9 of the Mplus User's Guide, you will find the new syntax. You can also look at the mixture modeling examples on the website which show the new syntax. 


Dear Dr. Muthén, With a colleague we wanted to perform a LCA with a complex sample (teachers' ratings). We wrote the syntax: Variable: names are gender class teacher u1u25 x1x25 y1y25; usevariables = x2 x10 x15 x21 x25; categorical = x2 x10 x15 x21 x25; missing is blank; stratification is teacher; classes = c (2); Analysis: Type = Mixture Complex ; Starts = 500 10; Output: tech1 tech8 tech10 tech11; However the output is empty. The message is the following: INPUT READING TERMINATED NORMALLY LCA teacher SDQ complex sample Could you help us to clarify the problem. Thank you very much. Best regards, Robert 


Please send the input, data, output, and your license number to support@statmodel.com. 

socrates posted on Tuesday, November 22, 2011  11:26 pm



I built a LCA with 2 latent classes and ran this model in Mplus Version 3.11. So far, everything went well. However, when running exactly the same syntax with exactly the same dataset in Version 6.1, I get the following error message: THE MODEL ESTIMATION DID NOT TERMINATE NORMALLY DUE TO AN INSUFFICIENT NUMBER OF E STEPS. INCREASE THE NUMBER OF MITERATIONS. ESTIMATES CANNOT BE TRUSTED. Why does this happen? P.S. The error message still appears after increasing the miterations up to 500,000. 


Please send the output and your license number to support@statmodel.com. 


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 


It should look like Example 7.12 but without the direct effect from x to u4. 


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 K1STARTS and LRTSTARTS options that go with TECH11 and TECH14. It points out that reordering 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 3step 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? many thanks 


Variances for nominal variables are not model parameters. You should not mention them. Following are variance statements: arm_1SD#1 arm_1SD#2 RPA1SD#1 RPA1SD#2 RTT1SD#1 RTT1SD#2 LPA1SD#1 LPA1SD#2 LTT1SD#1 LTT1SD#2; 


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. 


Nominal variables need brackets, e.g. [arm_1SD#1}; 


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. 


(ARM_1SD#1) is not using brackets. Brackets are the square parentheses: [ARM_1SD#1] 


Dear Dr. Muthén, I am receiving a blank error message. I believe the issue might be with my file name but I have changed it a bunch of times to no avail. My input is: TITLE: ABCT  Outcome  small; DATA: File is 'smalldataset.dat'; VARIABLE: NAMES ARE GENDER sep1 sep2 sep3 sep4 sep5 sep6 sep7 sep8 sep9 sep10 sep11 sep12 sep13 sep14 sep15 AGE FASAT; USEVARIABLES ARE sep1 sep2 sep3 sep4 sep5 sep6 sep7 sep8 sep9 sep10 sep11 sep12 sep13 sep14 sep15; CATEGORICAL IS sep1 sep2 sep3 sep4 sep5 sep6 sep7 sep8 sep9 sep10 sep11 sep12 sep13 sep14 sep15; MISSING ARE all (888); CLASSES=CLASS(2); AUXILIARY: GENDER (dcat); ANALYSIS: TYPE IS MIXTURE; START IS 250000 2500; OPTSEED = 490972 STITERATIONS ARE 50; PROCESSORS ARE 8 (STARTS); LRTSTARTS = 0 0 20 5; LRTBOOTSTRAP = 100; OUTPUT: tech1; tech8; tech11; tech14; sampstat; My error message is: *** ERROR in VARIABLE command Unknown option: Thank you for your help 


You say AUXILIARY: GENDER (dcat); but it should be AUXILIARY = GENDER (dcat); 


Hi, 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. Input: TITLE: ABCT  Outcome  small; DATA: File is 'smalldataset.dat'; VARIABLE:GENDER sep1 sep2 sep3 sep4 sep5 sep6 sep7 sep8 sep9 sep10 sep11 sep12 sep13 sep14 sep15 AGE FASAT; USEVARIABLES ARE sep1 sep2 sep3 sep4 sep5 sep6 sep7 sep8 sep9 sep10 sep11 sep12 sep13 sep14 sep15; CATEGORICAL IS sep1 sep2 sep3 sep4 sep5 sep6 sep7 sep8 sep9 sep10 sep11 sep12 sep13 sep14 sep15; MISSING ARE all (888); CLASSES=CLASS(2); AUXILIARY = GENDER(dcat); ANALYSIS: TYPE IS MIXTURE; START IS 250000 2500; OPTSEED = 490972 STITERATIONS ARE 50; PROCESSORS ARE 8 (STARTS); LRTSTARTS = 0 0 20 5; LRTBOOTSTRAP = 100; OUTPUT: tech1; tech8; tech11; tech14; sampstat; My ERROR message: *** ERROR in VARIABLE command Unknown option: GENDER Thank you 


Have a look at the UG examples  you should not say Variable: gender ... but instead Variable: Names = gender ... 


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! 

Back to top 