Samplewieght and DIFFTEST PreviousNext
Mplus Discussion > Structural Equation Modeling >
 John Spoede posted on Tuesday, November 12, 2013 - 6:59 pm
I am trying to run a DIFFTEST, but I get the following error:

*** ERROR in ANALYSIS command
Sampling weights are not available for estimator ML.

what syntax do I need to include to get the sample weight to apply to my DIFFTEST

Below is a copy of the syntax I am currently using:

Mplus VERSION 6.12
11/12/2013 2:37 PM


title: path analysis = figure 2 (fully mediated model) ;

data: file is e:\disser.dat;

names are caseid smplwght njyschl invhtsch sch2hrd wrkintr
wrkntdn umsbhv tardyu lst30dk sx rc mthedlvl hsgpa
sspndd alcsch brkrl stl dmgppty slldrg blck hspnc;

usevariables are smplwght njyschl wrkintr
umsbhv lst30dk hsgpa wrkntdn tardyu
invhtsch blck hspnc sx mthedlvl;
weight is smplwght;


DIFFTEST IS deriv.dat;

schlbnd by njyschl, wrkintr, invhtsch;
schmsbhv by wrkntdn, tardyu, umsbhv;
schlbnd on hsgpa blck hspnc sx mthedlvl;
schmsbhv lst30dk on schlbnd blck hspnc sx mthedlvl;
schlbnd WITH schmsbhv@0;

Thank you for any assistance.
 Linda K. Muthen posted on Tuesday, November 12, 2013 - 7:24 pm
Please send the full output and your license number to
Back to top
Add Your Message Here
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Options: Enable HTML code in message
Automatically activate URLs in message