Mplus VERSION 5.1
MUTHEN & MUTHEN
05/13/2008 3:54 PM
INPUT INSTRUCTIONS
! SCRIPT NAME : ctVCut6c (cb)
! GOAL : To evaluate best model for variance components A C E
! DATA : ordinal
! INPUT : contingency tables
! UNI/BI/MULTI : uni
! DATA-GROUPS : MZM DZM MZF DZF DOSMF DOSFM
! MEANS MODEL : -
! VARIANCE COVARIANCE MODEL(S) :
! 1. different prevalences for males and females, rg free for DOS, ACE for males, KLM for
! 2. same prevalences for males and females, rg free for DOS, ACE for males, KLM for femal
! 3. same prevalences for males and females, rg fixed at 0.5 for DOS, ACE for males, KLM f
! 4. same prevalences for males and females, rg fixed at 0.5 for DOS, ACE= KLM for males a
! 5. same prevalences for males and females, rg fixed at 0.5 for DOS, AE= KM for males and
! 6. same prevalences for males and females, rg fixed at 0.5 for DOS, CE= LM for males and
! 7. same prevalences for males and females, rg fixed at 0.5 for DOS, E= M for males and f
! 8. different prevalences for males and females, rg fixed at 0.5 for DOS, ACE for males,
! 9. different prevalences for males and females, rg fixed at 0.5 for DOS, ACE= KLM for ma
! 10. different prevalences for males and females, rg fixed at 0.5 for DOS, AE= KM for mal
! 11. different prevalences for males and females, rg fixed at 0.5 for DOS, CE= LM for mal
! 12. different prevalences for males and females, rg fixed at 0.5 for DOS, E= M for males
data: file is ct6.dat;
variable: names are g y1 y2 weight;
categorical=y1 y2;
grouping=g(1=MZM 2=DZM 3=MZF 4=DZF 5=DOSMF 6=DOSFM); ! specify the groups
freqweight=weight;
model:
[y1$1] (mt);
[y2$1] (mt);
y1 with y2 (mzmc);
model dzm:
[y1$1] (mt);
[y2$1] (mt);
y1 with y2 (dzmc);
model mzf:
[y1$1] (ft);
[y2$1] (ft);
y1 with y2 (mzfc);
model dzf:
[y1$1] (ft);
[y2$1] (ft);
y1 with y2 (dzfc);
model dosmf:
[y1$1] (mt);
[y2$1] (ft);
y1 with y2 (dosfmc);
model dosfm:
[y1$1] (ft);
[y2$1] (mt);
y1 with y2 (dosfmc);
model constraint:
new(a c e x y z);
a=x*x;
c=y*y;
e=1-x*x-y*y;
z=sqrt(1-x*x-y*y);
mzmc=x*x+y*y;
dzmc=0.5*x*x+y*y;
x>0; y>0; z>0;
new(k l m s t u);
k=s*s;
l=t*t;
m=1-s*s-t*t;
u=sqrt(1-s*s-t*t);
mzfc=s*s+t*t;
dzfc=0.5*s*s+t*t;
s>0; t>0; u>0;
new(f*0.2); f>0; f<0.5;
dosfmc=f*x*s+y*t;
! Uncomment for same prevalences for males and females
! mt=ft;
! Uncomment to fix rg to 0.5
! f=0.5;
! Uncomment for Model ACE=KLM
! a=k;
! c=l;
! Uncomment for Model AE=KM
! c=0;
! Uncomment for Model CE=LM
! a=0;
! Uncomment for Model E=M
! a=0;
! c=0;
*** WARNING
Input line exceeded 90 characters. Some input may be truncated.
! 1. different prevalences for males and females, rg free for DOS, ACE for males, KLM fo
*** WARNING
Input line exceeded 90 characters. Some input may be truncated.
! 2. same prevalences for males and females, rg free for DOS, ACE for males, KLM for fem
*** WARNING
Input line exceeded 90 characters. Some input may be truncated.
! 3. same prevalences for males and females, rg fixed at 0.5 for DOS, ACE for males, KLM
*** WARNING
Input line exceeded 90 characters. Some input may be truncated.
! 4. same prevalences for males and females, rg fixed at 0.5 for DOS, ACE= KLM for males
*** WARNING
Input line exceeded 90 characters. Some input may be truncated.
! 7. same prevalences for males and females, rg fixed at 0.5 for DOS, E= M for males and
*** WARNING
Input line exceeded 90 characters. Some input may be truncated.
! 8. different prevalences for males and females, rg fixed at 0.5 for DOS, ACE for males
*** WARNING
Input line exceeded 90 characters. Some input may be truncated.
! 9. different prevalences for males and females, rg fixed at 0.5 for DOS, ACE= KLM for
*** WARNING
Input line exceeded 90 characters. Some input may be truncated.
! 10. different prevalences for males and females, rg fixed at 0.5 for DOS, AE= KM for m
*** WARNING
Input line exceeded 90 characters. Some input may be truncated.
! 11. different prevalences for males and females, rg fixed at 0.5 for DOS, CE= LM for m
9 WARNING(S) FOUND IN THE INPUT INSTRUCTIONS
SUMMARY OF ANALYSIS
Number of groups 6
Number of observations
Group MZM 243
Group DZM 137
Group MZF 620
Group DZF 317
Group DOSMF 173
Group DOSFM 140
Number of patterns
Group MZM 4
Group DZM 4
Group MZF 4
Group DZF 4
Group DOSMF 4
Group DOSFM 4
Number of dependent variables 2
Number of independent variables 0
Number of continuous latent variables 0
Observed dependent variables
Binary and ordered categorical (ordinal)
Y1 Y2
Variables with special functions
Grouping variable G
Weight variable WEIGHT
Estimator WLSMV
Maximum number of iterations 1000
Convergence criterion 0.500D-04
Maximum number of steepest descent iterations 20
Parameterization DELTA
Input data file(s)
ct6.dat
Input data format FREE
SUMMARY OF CATEGORICAL DATA PROPORTIONS
Group MZM
Y1
Category 1 0.951
Category 2 0.049
Y2
Category 1 0.934
Category 2 0.066
Group DZM
Y1
Category 1 0.942
Category 2 0.058
Y2
Category 1 0.927
Category 2 0.073
Group MZF
Y1
Category 1 0.821
Category 2 0.179
Y2
Category 1 0.832
Category 2 0.168
Group DZF
Y1
Category 1 0.864
Category 2 0.136
Y2
Category 1 0.817
Category 2 0.183
Group DOSMF
Y1
Category 1 0.908
Category 2 0.092
Y2
Category 1 0.809
Category 2 0.191
Group DOSFM
Y1
Category 1 0.879
Category 2 0.121
Y2
Category 1 0.914
Category 2 0.086
THE MODEL ESTIMATION TERMINATED NORMALLY
TESTS OF MODEL FIT
Chi-Square Test of Model Fit
Value 10.874*
Degrees of Freedom 13**
P-Value 0.6214
Chi-Square Contributions From Each Group
MZM 1.751
DZM 0.617
MZF 0.571
DZF 3.036
DOSMF 2.015
DOSFM 2.883
* The chi-square value for MLM, MLMV, MLR, ULSMV, WLSM and WLSMV cannot be used
for chi-square difference tests. MLM, MLR and WLSM chi-square difference
testing is described in the Mplus Technical Appendices at www.statmodel.com.
See chi-square difference testing in the index of the Mplus User's Guide.
** The degrees of freedom for MLMV, ULSMV and WLSMV are estimated according to
a formula given in the Mplus Technical Appendices at www.statmodel.com.
See degrees of freedom in the index of the Mplus User's Guide.
Chi-Square Test of Model Fit for the Baseline Model
Value 173.209
Degrees of Freedom 6
P-Value 0.0000
CFI/TLI
CFI 1.000
TLI 1.006
Number of Free Parameters 7
RMSEA (Root Mean Square Error Of Approximation)
Estimate 0.000
WRMR (Weighted Root Mean Square Residual)
Value 1.873
MODEL RESULTS
Two-Tailed
Estimate S.E. Est./S.E. P-Value
Group MZM
Y1 WITH
Y2 0.633 0.134 4.711 0.000
Thresholds
Y1$1 1.478 0.063 23.617 0.000
Y2$1 1.478 0.063 23.617 0.000
Group DZM
Y1 WITH
Y2 0.316 0.067 4.711 0.000
Thresholds
Y1$1 1.478 0.063 23.617 0.000
Y2$1 1.478 0.063 23.617 0.000
Group MZF
Y1 WITH
Y2 0.647 0.054 12.049 0.000
Thresholds
Y1$1 0.963 0.036 26.681 0.000
Y2$1 0.963 0.036 26.681 0.000
Group DZF
Y1 WITH
Y2 0.323 0.027 12.050 0.000
Thresholds
Y1$1 0.963 0.036 26.681 0.000
Y2$1 0.963 0.036 26.681 0.000
Group DOSMF
Y1 WITH
Y2 0.308 0.131 2.353 0.019
Thresholds
Y1$1 1.478 0.063 23.617 0.000
Y2$1 0.963 0.036 26.681 0.000
Group DOSFM
Y1 WITH
Y2 0.308 0.131 2.353 0.019
Thresholds
Y1$1 0.963 0.036 26.681 0.000
Y2$1 1.478 0.063 23.617 0.000
New/Additional Parameters
A 0.633 0.134 4.711 0.000
C 0.000 0.000 ********* 0.000
E 0.367 0.134 2.733 0.006
X 0.796 0.084 9.422 0.000
Y 0.000 0.000 ********* 0.000
Z 0.606 0.111 5.466 0.000
K 0.647 0.054 12.048 0.000
L 0.000 0.000 1.406 0.160
M 0.353 0.054 6.578 0.000
S 0.804 0.033 24.095 0.000
T 0.008 0.003 2.811 0.005
U 0.594 0.045 13.156 0.000
F 0.482 0.212 2.273 0.023
QUALITY OF NUMERICAL RESULTS
Condition Number for the Information Matrix 0.996E-06
(ratio of smallest to largest eigenvalue)
Beginning Time: 15:54:37
Ending Time: 15:54:37
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-2008 Muthen & Muthen
Back to the list of genetics examples