Mplus VERSION 7
MUTHEN & MUTHEN
09/22/2012  10:01 PM

INPUT INSTRUCTIONS

  TITLE:	this is an example of a path analysis
  		with a combination of continuous and
  		categorical dependent variables
  MONTECARLO:			
  		NAMES = y1 y2 u1 x1-x3;
  		NOBSERVATIONS = 500;
  		NREPS = 1;
  		SEED = 53487;
  		GENERATE = u1(1);
  		CATEGORICAL = u1;
  		SAVE = ex3.14.dat;	
  MODEL MONTECARLO:
  		[x1-x3@0];
  		x1-x3@1;
  		y1 ON x1*.1 x2*.2 x3*.3;
  		y2 ON x1*.3 x2*.2 x3*.1;
  		[y1*1 y2*2];
  		y1*.5; y2*.3;
  		u1 ON y1*1 y2*-1 x2*2;
  		[u1$1*0];
  		u1*.2;
  		!note that with WLSMV under the Delta parameterization,
  		!the u residual variances must agree with the metric
  		!used in the estimation for estimates to be ok, i.e.
  		!V(u*|x) = 1.  This implies that the u1 res variance
  		!value is determined by u1 on y1 y2 and the u1 res var
  MODEL:
  		y1 ON x1*.1 x2*.2 x3*.3;
  		y2 ON x1*.3 x2*.2 x3*.1;
  		[y1*1 y2*2];
  		y1*.5; y2*.3;
  		u1 ON y1*1 y2*-1 x2*2;
  		[u1$1*0];
  OUTPUT:	TECH9;



INPUT READING TERMINATED NORMALLY



this is an example of a path analysis
with a combination of continuous and
categorical dependent variables

SUMMARY OF ANALYSIS

Number of groups                                                 1
Number of observations                                         500

Number of replications
    Requested                                                    1
    Completed                                                    1
Value of seed                                                53487

Number of dependent variables                                    3
Number of independent variables                                  3
Number of continuous latent variables                            0

Observed dependent variables

  Continuous
   Y1          Y2

  Binary and ordered categorical (ordinal)
   U1

Observed independent variables
   X1          X2          X3


Estimator                                                    WLSMV
Maximum number of iterations                                  1000
Convergence criterion                                    0.500D-04
Maximum number of steepest descent iterations                   20
Parameterization                                             DELTA



SAMPLE STATISTICS FOR THE FIRST REPLICATION


     SAMPLE STATISTICS


           Means/Intercepts/Thresholds
              Y1            Y2            U1$1
              ________      ________      ________
      1        -0.955        -1.981         1.058


           Slopes
              X1            X2            X3
              ________      ________      ________
 Y1             0.095         0.201         0.337
 Y2             0.271         0.196         0.110
 U1            -0.252         2.052         0.304


           Covariances/Correlations/Residual Correlations
              Y1            Y2            U1
              ________      ________      ________
 Y1             0.531
 Y2             0.001         0.282
 U1             0.526        -0.290


MODEL FIT INFORMATION

Number of Free Parameters                       14

Chi-Square Test of Model Fit

        Degrees of freedom                       3

        Mean                                 1.578
        Std Dev                              0.000
        Number of successful computations        1

             Proportions                   Percentiles
        Expected    Observed         Expected       Observed
           0.990       1.000            0.115          1.578
           0.980       1.000            0.185          1.578
           0.950       1.000            0.352          1.578
           0.900       1.000            0.584          1.578
           0.800       1.000            1.005          1.578
           0.700       1.000            1.424          1.578
           0.500       0.000            2.366          1.578
           0.300       0.000            3.665          1.578
           0.200       0.000            4.642          1.578
           0.100       0.000            6.251          1.578
           0.050       0.000            7.815          1.578
           0.020       0.000            9.837          1.578
           0.010       0.000           11.345          1.578

RMSEA (Root Mean Square Error Of Approximation)

        Mean                                 0.000
        Std Dev                              0.000
        Number of successful computations        1

             Proportions                   Percentiles
        Expected    Observed         Expected       Observed
           0.990       0.000            0.000          0.000
           0.980       0.000            0.000          0.000
           0.950       0.000            0.000          0.000
           0.900       0.000            0.000          0.000
           0.800       0.000            0.000          0.000
           0.700       0.000            0.000          0.000
           0.500       0.000            0.000          0.000
           0.300       0.000            0.000          0.000
           0.200       0.000            0.000          0.000
           0.100       0.000            0.000          0.000
           0.050       0.000            0.000          0.000
           0.020       0.000            0.000          0.000
           0.010       0.000            0.000          0.000

WRMR (Weighted Root Mean Square Residual)

        Mean                                 0.265
        Std Dev                              0.000
        Number of successful computations        1

             Proportions                   Percentiles
        Expected    Observed         Expected       Observed
           0.990       0.000            0.265          0.265
           0.980       0.000            0.265          0.265
           0.950       0.000            0.265          0.265
           0.900       0.000            0.265          0.265
           0.800       0.000            0.265          0.265
           0.700       0.000            0.265          0.265
           0.500       0.000            0.265          0.265
           0.300       0.000            0.265          0.265
           0.200       0.000            0.265          0.265
           0.100       0.000            0.265          0.265
           0.050       0.000            0.265          0.265
           0.020       0.000            0.265          0.265
           0.010       0.000            0.265          0.265


MODEL RESULTS

                           ESTIMATES              S. E.     M. S. E.  95%  % Sig
              Population   Average   Std. Dev.   Average             Cover Coeff
 Y1       ON
  X1               0.100     0.0876     0.0000     0.0306     0.0002 1.000 1.000
  X2               0.200     0.2007     0.0000     0.0320     0.0000 1.000 1.000
  X3               0.300     0.3466     0.0000     0.0363     0.0022 1.000 1.000

 Y2       ON
  X1               0.300     0.2750     0.0000     0.0228     0.0006 1.000 1.000
  X2               0.200     0.1962     0.0000     0.0238     0.0000 1.000 1.000
  X3               0.100     0.1054     0.0000     0.0241     0.0000 1.000 1.000

 U1       ON
  Y1               1.000     1.0128     0.0000     0.0596     0.0002 1.000 1.000
  Y2              -1.000    -1.0616     0.0000     0.1025     0.0038 1.000 1.000
  X2               2.000     2.0572     0.0000     0.1921     0.0033 1.000 1.000

 Intercepts
  Y1               1.000     0.9549     0.0000     0.0328     0.0020 1.000 1.000
  Y2               2.000     1.9814     0.0000     0.0240     0.0003 1.000 1.000

 Thresholds
  U1$1             0.000    -0.0784     0.0000     0.2431     0.0061 1.000 0.000

 Residual Variances
  Y1               0.500     0.5261     0.0000     0.0354     0.0007 1.000 1.000
  Y2               0.300     0.2798     0.0000     0.0194     0.0004 1.000 1.000


QUALITY OF NUMERICAL RESULTS

     Average Condition Number for the Information Matrix      0.262E-02
       (ratio of smallest to largest eigenvalue)


TECHNICAL OUTPUT


     PARAMETER SPECIFICATION


           TAU
              U1$1
              ________
      1           1


           NU
              Y1            Y2            U1
              ________      ________      ________
      1           0             0             0


           LAMBDA
              Y1            Y2            U1
              ________      ________      ________
 Y1                 0             0             0
 Y2                 0             0             0
 U1                 0             0             0


           THETA
              Y1            Y2            U1
              ________      ________      ________
 Y1                 0
 Y2                 0             0
 U1                 0             0             0


           ALPHA
              Y1            Y2            U1
              ________      ________      ________
      1           2             3             0


           BETA
              Y1            Y2            U1
              ________      ________      ________
 Y1                 0             0             0
 Y2                 0             0             0
 U1                 4             5             0


           GAMMA
              X1            X2            X3
              ________      ________      ________
 Y1                 6             7             8
 Y2                 9            10            11
 U1                 0            12             0


           PSI
              Y1            Y2            U1
              ________      ________      ________
 Y1                13
 Y2                 0            14
 U1                 0             0             0


     STARTING VALUES


           TAU
              U1$1
              ________
      1         0.000


           NU
              Y1            Y2            U1
              ________      ________      ________
      1         0.000         0.000         0.000


           LAMBDA
              Y1            Y2            U1
              ________      ________      ________
 Y1             1.000         0.000         0.000
 Y2             0.000         1.000         0.000
 U1             0.000         0.000         1.000


           THETA
              Y1            Y2            U1
              ________      ________      ________
 Y1             0.000
 Y2             0.000         0.000
 U1             0.000         0.000         0.000


           ALPHA
              Y1            Y2            U1
              ________      ________      ________
      1         1.000         2.000         0.000


           BETA
              Y1            Y2            U1
              ________      ________      ________
 Y1             0.000         0.000         0.000
 Y2             0.000         0.000         0.000
 U1             1.000        -1.000         0.000


           GAMMA
              X1            X2            X3
              ________      ________      ________
 Y1             0.100         0.200         0.300
 Y2             0.300         0.200         0.100
 U1             0.000         2.000         0.000


           PSI
              Y1            Y2            U1
              ________      ________      ________
 Y1             0.500
 Y2             0.000         0.300
 U1             0.000         0.000         1.000


     POPULATION VALUES


           TAU
              U1$1
              ________
 1              0.000


           NU
              Y1            Y2            U1            X1            X2
              ________      ________      ________      ________      ________
 1              0.000         0.000         0.000         0.000         0.000


           NU
              X3
              ________
 1              0.000


           LAMBDA
              Y1            Y2            U1            X1            X2
              ________      ________      ________      ________      ________
 Y1             1.000         0.000         0.000         0.000         0.000
 Y2             0.000         1.000         0.000         0.000         0.000
 U1             0.000         0.000         1.000         0.000         0.000
 X1             0.000         0.000         0.000         1.000         0.000
 X2             0.000         0.000         0.000         0.000         1.000
 X3             0.000         0.000         0.000         0.000         0.000


           LAMBDA
              X3
              ________
 Y1             0.000
 Y2             0.000
 U1             0.000
 X1             0.000
 X2             0.000
 X3             1.000


           THETA
              Y1            Y2            U1            X1            X2
              ________      ________      ________      ________      ________
 Y1             0.000
 Y2             0.000         0.000
 U1             0.000         0.000         0.000
 X1             0.000         0.000         0.000         0.000
 X2             0.000         0.000         0.000         0.000         0.000
 X3             0.000         0.000         0.000         0.000         0.000


           THETA
              X3
              ________
 X3             0.000


           ALPHA
              Y1            Y2            U1            X1            X2
              ________      ________      ________      ________      ________
 1              1.000         2.000         0.000         0.000         0.000


           ALPHA
              X3
              ________
 1              0.000


           BETA
              Y1            Y2            U1            X1            X2
              ________      ________      ________      ________      ________
 Y1             0.000         0.000         0.000         0.100         0.200
 Y2             0.000         0.000         0.000         0.300         0.200
 U1             1.000        -1.000         0.000         0.000         2.000
 X1             0.000         0.000         0.000         0.000         0.000
 X2             0.000         0.000         0.000         0.000         0.000
 X3             0.000         0.000         0.000         0.000         0.000


           BETA
              X3
              ________
 Y1             0.300
 Y2             0.100
 U1             0.000
 X1             0.000
 X2             0.000
 X3             0.000


           PSI
              Y1            Y2            U1            X1            X2
              ________      ________      ________      ________      ________
 Y1             0.500
 Y2             0.000         0.300
 U1             0.000         0.000         0.200
 X1             0.000         0.000         0.000         1.000
 X2             0.000         0.000         0.000         0.000         1.000
 X3             0.000         0.000         0.000         0.000         0.000


           PSI
              X3
              ________
 X3             1.000


TECHNICAL 9 OUTPUT

  Error messages for each replication (if any)



SAVEDATA INFORMATION

  Order of variables

    Y1
    Y2
    U1
    X1
    X2
    X3

  Save file
    ex3.14.dat

  Save file format           Free
  Save file record length    10000


     Beginning Time:  22:01:19
        Ending Time:  22:01:19
       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-2012 Muthen & Muthen

Back to examples