Analysis line error PreviousNext
Mplus Discussion > Missing Data Modeling >
Message/Author
 Beth Moroney posted on Wednesday, June 21, 2017 - 4:51 am
I am trying to conduct a mediational analysis, and keep getting this error:

*** ERROR in ANALYSIS command
Unknown option:

I can't seem to figure out the problem with the syntax.

DATA: FILE IS C:/Users/Anon000.CTX-XA01.003/Documents/dataSHORT.csv;
VARIABLE: NAMES ARE AID PSUSCID REGION GSWGT4_2 ADHD NEUROT ETHN RiskTot2;
MISSING ARE .;
    idvariable is AID;
    weight = GSWGT4_2;
    cluster = PSUSCID;
    stratification = REGION;

ANALYSIS:
Type = complex;
estimator = ML;
repse = bootstrap;
bootstrap = 10000;
   
MODEL:
    NEUROT on RiskTot2 (a);
NEUROT on ETHN;

    ADHD on NEUROT (b1);
    ADHD on RiskTot2 (cdash1);
    ADHD on ETHN;

    ADHD on NEUROT (b2);
    ADHD on RiskTot2 (cdash2);
    ADHD on ETHN;

Model Constraint:
      NEW(ind1_NEUROT ind2_NEUROT total1 total2);
      ind1_NEUROT = a*b1;
      ind2_NEUROT = a*b2;
      total1=ind1_NEUROT + cdash1;
      total2=ind2_NEUROT + cdash2;

OUTPUT: CINTERVAL(BCBOOTSTRAP);

Thank you for any thoughts!
Beth Moroney
 Linda K. Muthen posted on Wednesday, June 21, 2017 - 6:09 am
Please send the output and your license number to support@statmodel.com.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: