10.07.2015 Views

Mplus Users Guide v6.. - Muthén & Muthén

Mplus Users Guide v6.. - Muthén & Muthén

Mplus Users Guide v6.. - Muthén & Muthén

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 12EXAMPLE 12.7 STEP 2: MONTE CARLO SIMULATIONSTUDY WHERE PARAMETER ESTIMATES SAVED FROM AREAL DATA ANALYSIS ARE USED FOR POPULATIONPARAMETER VALUES FOR DATA GENERATION ANDCOVERAGETITLE: this is an example of a Monte Carlosimulation study where parameter estimatessaved from a real data analysis are usedfor population parameter values for datageneration and coverageMONTECARLO:NAMES ARE y1-y10 x1 x2;NOBSERVATIONS = 500;NREPS = 500;SEED = 45335;POPULATION = ex12.7estimates.dat;COVERAGE = ex12.7estimates.dat;MODEL POPULATION:f1 BY y1-y5;f2 BY y6-y10;f1 ON x1 x2;f2 ON x1 x2;MODEL: f1 BY y1-y5;f2 BY y6-y10;f1 ON x1 x2;f2 ON x1 x2;OUTPUT: TECH9;In this example, parameter estimates saved from a real data analysis areused for population parameter values for data generation and coverageusing the POPULATION and COVERAGE options of theMONTECARLO command. The POPULATION option is used to namethe data set that contains the population parameter values to be used indata generation. The COVERAGE option is used to name the data setthat contains the parameter values to be used for computing coverageand are printed in the first column of the output labeled Population. Anexplanation of the other commands can be found in Example 12.1.380

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!