Monte Carlo extension of example 9.27 PreviousNext
Mplus Discussion > Categorical Data Modeling >
Message/Author
 Yaacov Petscher posted on Thursday, July 02, 2015 - 6:01 am
I'm attempting to use 9.27 with dichotomous items (50), subjects (600),and time (3). I'm unable to have the mcdata.dat file generated and cannot see where I've missed something in my code.

montecarlo:
names are u1-u50;
nobservations = 1800;
nreps = 1;
csizes = 600[3(1)];
ncsize = 1[1];
within = (level2a) u1-u50;
generate=u1-u50(1);
categorical=u1-u50;
save = mcdata.dat;

analysis:
type = cross random; estimator = bayes;
proc = 2;
model population:
%within%
s1-s50 | f by u1-u50;
f@1;

%between level2a%
s1-s50*0.2;
[s1-s50*1.5];

%between level2b%
f*1; [f*0];
s1-s50@0;
[s1-s50@0];


model:
%within%
s1-s50 | f by u1-u50;
f@1;


%between level2a%
s1-s50*0.2;
[s1-s50*1.5];


%between level2b%
f*1; [f*0];
s1-s50@0;
[s1-s50@0];

output: tech8;
 Linda K. Muthen posted on Thursday, July 02, 2015 - 6:26 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: