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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Examples: Monte Carlo Simulation Studieslogistic regression coefficient is fixed at -30. This results inobservations with the value one on u1, u2, u3, and u4 giving logit values-15 for the binary missing data indicators. A logit value -15 implies thatthe probability that the continuous outcomes y are missing is zero. Anexplanation of the other commands can be found in Examples 12.1 and12.3.EXAMPLE 12.10: MONTE CARLO SIMULATION STUDY FORA TWO-LEVEL CONTINUOUS-TIME SURVIVAL ANALYSISUSING COX REGRESSION WITH A RANDOM INTERCEPTTITLE: this is an example of a Monte Carlosimulation study for a two-levelcontinuous-time survival analysis usingCox regression with a random interceptMONTECARLO:NAMES = t x w;NOBSERVATIONS = 1000;NREPS = 100;GENERATE = t(s 20*1);NCSIZES = 3;CSIZES = 40 (5) 50 (10) 20 (15);HAZARDC = t (.5);SURVIVAL = t (ALL);WITHIN = x;BETWEEN = w;MODEL POPULATION:%WITHIN%x@1;t ON x*.5;%BETWEEN%w@1;[t#1-t#21*1];t ON w*.2;ANALYSIS: TYPE = TWOLEVEL;BASEHAZARD = OFF;MODEL: %WITHIN%t ON x*.5;%BETWEEN%t ON w*.2;In this example, data are generated and analyzed for the two-levelcontinuous-time survival analysis using Cox regression with a randomintercept shown in Example 9.16. Monte Carlo simulation of385

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

Saved successfully!

Ooh no, something went wrong!