Mplus VERSION 2.12
MUTHEN & MUTHEN
04/28/2003  12:55 PM

INPUT INSTRUCTIONS

  TITLE:          2-group Univariate Twin Model for a Binary Variable WITH THETA p

  DATA:       FILE = example1.dat;

  VARIABLE:         NAMES = famno zyg y1 y2;
                        USEVARIABLEs = y1 y2;
                      GROUP = zyg(1=mz 2=dz);
                      CATEGORICAL = y1 y2;

  DEFINE:     CUT y1(110); CUT y2(110);

  ANALYSIS:         TYPE = MEANSTRUCTURE;
                          PARAM = THETA;

  MODEL:                                                          ! set up values
    [y1$1@1.071]; [y2$1@1.071];                          ! estimated in prior run

   a1 BY y1*.6 (11); a2 BY y2*.6 (11);     ! additive genetic loadings
   c1 BY y1*.3 (12); c2 BY y2*.3 (12);     ! common envt loadings
   e1 BY y1*.8 (13); e2 BY y2*.8 (13);     ! specific envt loadings

   [a1@0 a2@0 c1@0 c2@0 e1@0 e2@0];                  ! fix latent variable means=0
    a1@1 a2@1 c1@1 c2@1 e1@1 e2@1;                   ! fix latent variable vars=1
    a1-a2 WITH c1-e2@0;                                         ! latent variable
    c1-c2 WITH e1-e2@0;
    a1 WITH a2@1; c1 WITH c2@1; e1 WITH e2@0;

  MODEL mz:
   y1@0; y2@0;                ! note this must be specified for each group

  MODEL dz:
   y1@0; y2@0;
   a1 WITH a2@0.5;

  OUTPUT: SAMP RES STAND;



INPUT READING TERMINATED NORMALLY



2-group Univariate Twin Model for a Binary Variable WITH THETA pa

SUMMARY OF ANALYSIS

Number of groups                                          2
Number of observations
   Group MZ                                            1000
   Group DZ                                            1000

Number of y-variables                                     2
Number of x-variables                                     0
Number of continuous latent variables                     6

Observed variables in the analysis
   Y1          Y2

  Grouping variable     ZYG

  Categorical variables
   Y1          Y2

Continuous latent variables in the analysis
   A1          A2          C1          C2          E1          E2


Estimator                                             WLSMV
Maximum number of iterations                           1000
Convergence criterion                             0.500D-04
Parameterization                                      THETA

Input data file(s)
  example1.dat

Input data format  FREE


SAMPLE STATISTICS


     ESTIMATED SAMPLE STATISTICS FOR MZ


           SAMPLE THRESHOLDS
              Y1$1          Y2$1
              ________      ________
      1         1.054         1.098


           SAMPLE TETRACHORIC CORRELATIONS
              Y1            Y2
              ________      ________
 Y1
 Y2             0.581


     ESTIMATED SAMPLE STATISTICS FOR DZ


           SAMPLE THRESHOLDS
              Y1$1          Y2$1
              ________      ________
      1         1.094         1.041


           SAMPLE TETRACHORIC CORRELATIONS
              Y1            Y2
              ________      ________
 Y1
 Y2             0.323


THE MODEL ESTIMATION TERMINATED NORMALLY



TESTS OF MODEL FIT

Chi-Square Test of Model Fit

          Value                              1.126*
          Degrees of Freedom                     3**
          P-Value                           0.7705

*  The chi-square value for MLM, MLR, MLMV, WLSM and WLSMV cannot be used for
   chi-square difference tests.  MLM and MLR chi-square difference testing is
   described on page 360 in the Mplus User's Guide.

** The degrees of freedom for MLMV and WLSMV are estimated according to
   formula 110 (page 358) in the Mplus User's Guide.

Chi-Square Test of Model Fit for the Baseline Model

          Value                            149.825
          Degrees of Freedom                     2
          P-Value                           0.0000

CFI/TLI

          CFI                                1.000
          TLI                                1.008

RMSEA (Root Mean Square Error Of Approximation)

          Estimate                           0.000

WRMR (Weighted Root Mean Square Residual)

          Value                              0.587



MODEL RESULTS

                   Estimates     S.E.  Est./S.E.    Std     StdYX

Group MZ

 A1       BY
    Y1                 0.718    0.118      6.067    0.718    0.718

 A2       BY
    Y2                 0.718    0.118      6.067    0.718    0.718

 C1       BY
    Y1                 0.255    0.278      0.919    0.255    0.255

 C2       BY
    Y2                 0.255    0.278      0.919    0.255    0.255

 E1       BY
    Y1                 0.647    0.042     15.379    0.647    0.647

 E2       BY
    Y2                 0.647    0.042     15.379    0.647    0.647

 A1       WITH
    C1                 0.000    0.000      0.000    0.000    0.000
    C2                 0.000    0.000      0.000    0.000    0.000
    E1                 0.000    0.000      0.000    0.000    0.000
    E2                 0.000    0.000      0.000    0.000    0.000
    A2                 1.000    0.000      0.000    1.000    1.000

 A2       WITH
    C1                 0.000    0.000      0.000    0.000    0.000
    C2                 0.000    0.000      0.000    0.000    0.000
    E1                 0.000    0.000      0.000    0.000    0.000
    E2                 0.000    0.000      0.000    0.000    0.000

 C1       WITH
    E1                 0.000    0.000      0.000    0.000    0.000
    E2                 0.000    0.000      0.000    0.000    0.000
    C2                 1.000    0.000      0.000    1.000    1.000

 C2       WITH
    E1                 0.000    0.000      0.000    0.000    0.000
    E2                 0.000    0.000      0.000    0.000    0.000

 E1       WITH
    E2                 0.000    0.000      0.000    0.000    0.000

 Means
    A1                 0.000    0.000      0.000    0.000    0.000
    A2                 0.000    0.000      0.000    0.000    0.000
    C1                 0.000    0.000      0.000    0.000    0.000
    C2                 0.000    0.000      0.000    0.000    0.000
    E1                 0.000    0.000      0.000    0.000    0.000
    E2                 0.000    0.000      0.000    0.000    0.000

 Thresholds
    Y1$1               1.071    0.000      0.000    1.071    1.071
    Y2$1               1.071    0.000      0.000    1.071    1.071

 Variances
    A1                 1.000    0.000      0.000    1.000    1.000
    A2                 1.000    0.000      0.000    1.000    1.000
    C1                 1.000    0.000      0.000    1.000    1.000
    C2                 1.000    0.000      0.000    1.000    1.000
    E1                 1.000    0.000      0.000    1.000    1.000
    E2                 1.000    0.000      0.000    1.000    1.000

 Residual Variances
    Y1                 0.000    0.000      0.000    0.000    0.000
    Y2                 0.000    0.000      0.000    0.000    0.000

Group DZ

 A1       BY
    Y1                 0.718    0.118      6.067    0.718    0.718

 A2       BY
    Y2                 0.718    0.118      6.067    0.718    0.718

 C1       BY
    Y1                 0.255    0.278      0.919    0.255    0.255

 C2       BY
    Y2                 0.255    0.278      0.919    0.255    0.255

 E1       BY
    Y1                 0.647    0.042     15.379    0.647    0.647

 E2       BY
    Y2                 0.647    0.042     15.379    0.647    0.647

 A1       WITH
    C1                 0.000    0.000      0.000    0.000    0.000
    C2                 0.000    0.000      0.000    0.000    0.000
    E1                 0.000    0.000      0.000    0.000    0.000
    E2                 0.000    0.000      0.000    0.000    0.000
    A2                 0.500    0.000      0.000    0.500    0.500

 A2       WITH
    C1                 0.000    0.000      0.000    0.000    0.000
    C2                 0.000    0.000      0.000    0.000    0.000
    E1                 0.000    0.000      0.000    0.000    0.000
    E2                 0.000    0.000      0.000    0.000    0.000

 C1       WITH
    E1                 0.000    0.000      0.000    0.000    0.000
    E2                 0.000    0.000      0.000    0.000    0.000
    C2                 1.000    0.000      0.000    1.000    1.000

 C2       WITH
    E1                 0.000    0.000      0.000    0.000    0.000
    E2                 0.000    0.000      0.000    0.000    0.000

 E1       WITH
    E2                 0.000    0.000      0.000    0.000    0.000

 Means
    A1                 0.000    0.000      0.000    0.000    0.000
    A2                 0.000    0.000      0.000    0.000    0.000
    C1                 0.000    0.000      0.000    0.000    0.000
    C2                 0.000    0.000      0.000    0.000    0.000
    E1                 0.000    0.000      0.000    0.000    0.000
    E2                 0.000    0.000      0.000    0.000    0.000

 Thresholds
    Y1$1               1.071    0.000      0.000    1.071    1.071
    Y2$1               1.071    0.000      0.000    1.071    1.071

 Variances
    A1                 1.000    0.000      0.000    1.000    1.000
    A2                 1.000    0.000      0.000    1.000    1.000
    C1                 1.000    0.000      0.000    1.000    1.000
    C2                 1.000    0.000      0.000    1.000    1.000
    E1                 1.000    0.000      0.000    1.000    1.000
    E2                 1.000    0.000      0.000    1.000    1.000

 Residual Variances
    Y1                 0.000    0.000      0.000    0.000    0.000
    Y2                 0.000    0.000      0.000    0.000    0.000


R-SQUARE

Group MZ

    Observed   Scale
    Variable   Factors  R-Square

    Y1           1.000     1.000
    Y2           1.000     1.000

Group DZ

    Observed   Scale
    Variable   Factors  R-Square

    Y1           1.000     1.000
    Y2           1.000     1.000


RESIDUAL OUTPUT


     ESTIMATED MODEL AND RESIDUALS (OBSERVED - ESTIMATED) FOR MZ


           Model Estimated Means/Intercepts/Thresholds
              Y1$1          Y2$1
              ________      ________
      1         1.071         1.071


           Residuals for Means/Intercepts/Thresholds
              Y1$1          Y2$1
              ________      ________
      1        -0.017         0.027


           Model Estimated Covariances/Correlations/Residual Correlations
              Y1            Y2
              ________      ________
 Y1
 Y2             0.581


           Residuals for Covariances/Correlations/Residual Correlations
              Y1            Y2
              ________      ________
 Y1
 Y2             0.000


     ESTIMATED MODEL AND RESIDUALS (OBSERVED - ESTIMATED) FOR DZ


           Model Estimated Means/Intercepts/Thresholds
              Y1$1          Y2$1
              ________      ________
      1         1.071         1.071


           Residuals for Means/Intercepts/Thresholds
              Y1$1          Y2$1
              ________      ________
      1         0.023        -0.030


           Model Estimated Covariances/Correlations/Residual Correlations
              Y1            Y2
              ________      ________
 Y1
 Y2             0.323


           Residuals for Covariances/Correlations/Residual Correlations
              Y1            Y2
              ________      ________
 Y1
 Y2             0.000


     Beginning Time:  12:55:01
        Ending Time:  12:55:01
       Elapsed Time:  00:00:00



MUTHEN & MUTHEN
11965 Venice Blvd., Suite 407
Los Angeles, CA  90066

Tel: (310) 391-9971
Fax: (310) 391-8971
Web: www.StatModel.com
Support: Support@StatModel.com

Copyright (c) 1998-2002 Muthen & Muthen

Back to table of examples