Two level random slopes PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
Message/Author
 PedroMQuinteiro posted on Tuesday, January 07, 2014 - 10:23 am
Dear Dr. Múthen,

I am trying to run a cross level moderation with 3 control variables. I am using the sintax provided in the Mplus manual.

However, I keep getting the following error message:
*** ERROR in MODEL CONSTRAINT command
A parameter label or the constant 0 must appear on the left-hand side
of a MODEL CONSTRAINT statement. Problem with the following:
YHIGH) =


I am also unable to use the variable center command because MPlus keeps saying:
*** ERROR in DEFINE command
Error in assignment statement for CENTER

This is the sintax I am using:

DEFINE x (grandmean);
ANALYSIS: TYPE = TWOLEVEL RANDOM;
ITERATIONS = 1000000;
CONVERGENCE = 0.000005;

MODEL:
%WITHIN%
s | y ON x;

%BETWEEN%
y s ON w wm wn wp;
[s] (gam0);
s ON w (gam1)
wm wn wp;
y WITH s;

MODEL CONSTRAINT:
PLOT(ylow yhigh);
LOOP(level1,-3,3,0.01);
ylow = (gam0+gam1* (-1))*level1;
yhigh = (gam0+gam1*1)*level1;


Thank you in advance for your time and patience
 Linda K. Muthen posted on Tuesday, January 07, 2014 - 2:33 pm
Please send the full output and your license number to support@statmodel.com.
 PedroMQuinteiro posted on Wednesday, January 08, 2014 - 2:15 pm
Thank you Dr. Linda Múthen, I will email it soon.

Best regards
Pedro
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: