Mplus VERSION 6
MUTHEN & MUTHEN
04/25/2010 10:58 PM
INPUT INSTRUCTIONS
TITLE:
cont9
Getting basic statistics for multilevel modeling
before doing the actual modeling:
sample between- and within-covariance matrices
and intraclass correlations
Complex sample analysis,
multilevel modeling (disaggregated modeling).
In these data:
y6-y9, x1 and x2 are student (within)- level variables,
x3 and x4 are school (between)- level variables.
For related work, see, e.g.:
Muthen, B. (1994). Multilevel covariance structure analysis.
In J. Hox & I. Kreft (Eds.), Multilevel modeling,
a special issue of Sociological Methods & Research,
22, 376-398.
DATA:
FILE IS school.dat;
VARIABLE:
NAMES ARE x1 y1-y16 x2 school x3 x4;
USEV ARE y6-y9 x1 x2 x3 x4 school;
CLUSTER IS school;
BETWEEN ARE x3 x4;
! note that the BETWEEN statement above is necessary to specify
! that x3 and x4 are school-level variables. If this statement
! is left out, and error will be printed pointing to zero
! student-level (within) variances for x3 and x4
ANALYSIS:
TYPE = MEANSTRUCTURE TWOLEVEL BASIC; ESTIMATOR=MUML;
! the BASIC statement above indicates that sample statistics
! are to be computed. No modeling is requested.
! this is useful as an initial analysis step
*** WARNING in ANALYSIS command
Starting with Version 5, TYPE=MEANSTRUCTURE is the default for all
analyses. To remove means from the model, use
MODEL=NOMEANSTRUCTURE in the ANALYSIS command.
1 WARNING(S) FOUND IN THE INPUT INSTRUCTIONS
cont9
Getting basic statistics for multilevel modeling
before doing the actual modeling:
sample between- and within-covariance matrices
and intraclass correlations
Complex sample analysis,
multilevel modeling (disaggregated modeling).
In these data:
y6-y9, x1 and x2 are student (within)- level variables,
x3 and x4 are school (between)- level variables.
For related work, see, e.g.:
Muthen, B. (1994). Multilevel covariance structure analysis.
In J. Hox & I. Kreft (Eds.), Multilevel modeling,
a special issue of Sociological Methods & Research,
22, 376-398.
SUMMARY OF ANALYSIS
Number of groups 1
Number of observations 5198
Number of dependent variables 8
Number of independent variables 0
Number of continuous latent variables 0
Observed dependent variables
Continuous
X3 X4 Y6 Y7 Y8 Y9
X1 X2
Variables with special functions
Cluster variable SCHOOL
Between variables
X3 X4
Estimator MUML
Information matrix EXPECTED
Maximum number of iterations 1000
Convergence criterion 0.100D-05
Maximum number of steepest descent iterations 20
Input data file(s)
school.dat
Input data format FREE
SUMMARY OF DATA
Number of clusters 235
Size (s) Cluster ID with Size s
1 68114 68519
2 72872
7 72765
8 45991 72012 46238
9 68071
10 72187 7298
11 7105 72405 72463 52370
12 7737 68390 24083 68971
13 72049 45861 72219
14 72175 72176 25464 1755 68511 72148
15 45928 7915 78324 68023 25071 68748
16 77204 77219 72456 45362 7403 72415
17 7203 24948 7829 72612 7892 25835 7591 68155 68295 45502
68487 46911 45824
18 25074 72990 68328 25404 7348 72133 46119 25580 24910
68614
19 7332 25615 72799 68340 72956 25642 25658 24856 78283
68030 7671 1806 68662 68671 46277 46655 45385 7438
20 7451 68461 78162 78232 72170 25130 72617 72715 7211
25422 7330 72292 72060 72993 79993
21 77634 68448 45271 7584 25227 78598 45394 7193 68180
24589 7205 46301 25894 25958 68391 52995 77254
22 68648 72768 7192 7117 46485 7119 68753 24813 68254 69994
79388 79559 68397
23 68817 7792 78311 68048 68453 68456 25361 7157 46155
25702 25804 45620 24858 7658 46748 46803 25163 45041
77351 45183 77684 78101 68788
24 29394 7000 77403 24138 68297 78011 46417 25536 7778
72042 25360 25977 46966 45747 7616 78886 1249 77222
24053
25 25354 68427 72833 77268 7269 68520 69613 77537 72075
68906 79576 79790 68720
26 25848 72973 45555 24828 68315 46715 45087 25328 46891
77710
27 72080 45900 25208 45452 7103 45831 25618 68652
28 25666 46503 68809 25076 25224 68551
29 52888
30 45978 25722 45924 7434
31 77109 7230 68855 79061 79352
32 25178 52141
33 45330 25745 25402 25825
34 46540
35 25667 1846
36 72129 79389
37 79276 25834
38 45287
39 7090 46922 45197
42 46869
43 45366
46 79086
57 46344
Quasi-average cluster size 22.109
Estimated Intraclass Correlations for the Y Variables
Intraclass Intraclass Intraclass
Variable Correlation Variable Correlation Variable Correlation
Y6 0.197 Y7 0.221 Y8 0.067
Y9 0.101 X1 0.344 X2 0.014
RESULTS FOR BASIC ANALYSIS
NOTE: The sample between, sample within, and estimated sigma between
covariance matrices are defined in the Mplus Technical Appendices at
www.statmodel.com. See between covariance matrix, within covariance
matrix, and estimated sigma between matrix in the index of the
Mplus User's Guide.
NUMBER OF CLUSTERS: 235
SAMPLE STATISTICS FOR BETWEEN
Means
X3 X4 Y6 Y7 Y8
________ ________ ________ ________ ________
1 4.630 1.170 2.482 2.608 2.160
Means
Y9 X1 X2
________ ________ ________
1 2.930 2.365 0.492
Covariances
X3 X4 Y6 Y7 Y8
________ ________ ________ ________ ________
X3 98.525
X4 -8.049 3.136
Y6 -16.261 1.363 7.007
Y7 -18.129 1.430 6.860 7.824
Y8 -10.044 0.245 3.871 4.038 4.378
Y9 -18.827 1.735 6.917 7.607 4.201
X1 -19.444 2.376 6.459 6.798 4.041
X2 -0.038 -0.019 -0.006 0.079 0.000
Covariances
Y9 X1 X2
________ ________ ________
Y9 11.363
X1 7.391 9.902
X2 0.119 0.036 0.325
Correlations
X3 X4 Y6 Y7 Y8
________ ________ ________ ________ ________
X3 1.000
X4 -0.458 1.000
Y6 -0.619 0.291 1.000
Y7 -0.653 0.289 0.926 1.000
Y8 -0.484 0.066 0.699 0.690 1.000
Y9 -0.563 0.291 0.775 0.807 0.596
X1 -0.623 0.426 0.775 0.772 0.614
X2 -0.007 -0.019 -0.004 0.050 0.000
Correlations
Y9 X1 X2
________ ________ ________
Y9 1.000
X1 0.697 1.000
X2 0.062 0.020 1.000
Covariances for the Estimated Sigma Between Matrix
X3 X4 Y6 Y7 Y8
________ ________ ________ ________ ________
X3 4.411
X4 -0.364 0.097
Y6 -0.736 0.062 0.268
Y7 -0.820 0.065 0.275 0.305
Y8 -0.454 0.011 0.152 0.158 0.121
Y9 -0.852 0.078 0.278 0.307 0.168
X1 -0.879 0.107 0.283 0.299 0.175
X2 -0.002 -0.001 0.000 0.003 -0.001
Covariances for the Estimated Sigma Between Matrix
Y9 X1 X2
________ ________ ________
Y9 0.366
X1 0.325 0.412
X2 0.003 0.001 0.004
Correlations for the Estimated Sigma Between Matrix
X3 X4 Y6 Y7 Y8
________ ________ ________ ________ ________
X3 1.000
X4 -0.558 1.000
Y6 -0.677 0.383 1.000
Y7 -0.707 0.377 0.962 1.000
Y8 -0.621 0.102 0.842 0.824 1.000
Y9 -0.670 0.417 0.889 0.920 0.797
X1 -0.652 0.538 0.851 0.842 0.784
X2 -0.014 -0.047 -0.010 0.079 -0.053
Correlations for the Estimated Sigma Between Matrix
Y9 X1 X2
________ ________ ________
Y9 1.000
X1 0.837 1.000
X2 0.085 0.023 1.000
SAMPLE STATISTICS FOR WITHIN
Means
X3 X4 Y6 Y7 Y8
________ ________ ________ ________ ________
1 0.000 0.000 0.000 0.000 0.000
Means
Y9 X1 X2
________ ________ ________
1 0.000 0.000 0.000
Covariances
X3 X4 Y6 Y7 Y8
________ ________ ________ ________ ________
X3 1.000
X4 0.000 1.000
Y6 0.000 0.000 1.092
Y7 0.000 0.000 0.785 1.078
Y8 0.000 0.000 0.520 0.536 1.699
Y9 0.000 0.000 0.768 0.813 0.491
X1 0.000 0.000 0.208 0.196 0.166
X2 0.000 0.000 0.001 0.022 0.025
Covariances
Y9 X1 X2
________ ________ ________
Y9 3.273
X1 0.201 0.788
X2 0.051 0.017 0.246
Correlations
X3 X4 Y6 Y7 Y8
________ ________ ________ ________ ________
X3 1.000
X4 0.000 1.000
Y6 0.000 0.000 1.000
Y7 0.000 0.000 0.724 1.000
Y8 0.000 0.000 0.382 0.396 1.000
Y9 0.000 0.000 0.406 0.433 0.208
X1 0.000 0.000 0.224 0.212 0.144
X2 0.000 0.000 0.003 0.043 0.038
Correlations
Y9 X1 X2
________ ________ ________
Y9 1.000
X1 0.125 1.000
X2 0.057 0.038 1.000
Beginning Time: 22:58:09
Ending Time: 22:58:09
Elapsed Time: 00:00:00
MUTHEN & MUTHEN
3463 Stoner Ave.
Los Angeles, CA 90066
Tel: (310) 391-9971
Fax: (310) 391-8971
Web: www.StatModel.com
Support: Support@StatModel.com
Copyright (c) 1998-2010 Muthen & Muthen
Back to table of examples