```Mplus VERSION 8
MUTHEN & MUTHEN
04/10/2017   3:27 AM

INPUT INSTRUCTIONS

TITLE:	this is an example of a path analysis
with categorical dependent variables
MONTECARLO:
NAMES = u1-u3 x1-x3;
NOBSERVATIONS = 500;
NREPS = 1;
SEED = 53487;
GENERATE = u1(2) u2(1) u3(3);
CATEGORICAL = u1-u3;
SAVE = ex3.12.dat;
MODEL POPULATION:
[x1-x3@0];
x1-x3@1;
u1 ON x1*3 x2*2 x3*1;
u2 ON x1*1 x2*2 x3*3;
u3 ON u1*.5 u2*-.5 x2*2;
[u1\$1*-1 u1\$2*1];
[u2\$1*0];
[u3\$1*-.5 u3\$2*.5 u3\$3*1.5];
u1-u2*1;
u3*.5;
!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 u3 variance value
!is determined by u3 on u1 u2 and the u1, u2 res vars
MODEL:
u1 ON x1*3 x2*2 x3*1;
u2 ON x1*1 x2*2 x3*3;
u3 ON u1*.5 u2*-.5 x2*2;
[u1\$1*-1 u1\$2*1];
[u2\$1*0];
[u3\$1*-.5 u3\$2*.5 u3\$3*1.5];
OUTPUT:	TECH9;

this is an example of a path analysis
with 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

Binary and ordered categorical (ordinal)
U1          U2          U3

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
U1\$1          U1\$2          U2\$1          U3\$1          U3\$2
________      ________      ________      ________      ________
-0.877         1.101         0.111        -0.502         0.463

Means/Intercepts/Thresholds
U3\$3
________
1.696

Slopes
X1            X2            X3
________      ________      ________
U1             2.631         1.719         0.939
U2             0.938         2.132         3.359
U3             1.152         2.255        -1.103

Covariances/Correlations/Residual Correlations
U1            U2            U3
________      ________      ________
U1
U2             0.018
U3             0.577        -0.360

MODEL FIT INFORMATION

Number of Free Parameters                       15

Chi-Square Test of Model Fit

Degrees of freedom                       3

Mean                                 0.936
Std Dev                              0.000
Number of successful computations        1

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

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.213
Std Dev                              0.000
Number of successful computations        1

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

MODEL RESULTS

ESTIMATES              S. E.     M. S. E.  95%  % Sig
Population   Average   Std. Dev.   Average             Cover Coeff
U1       ON
X1                  3.000     2.6630     0.0000     0.1971     0.1136 1.000 1.000
X2                  2.000     1.7185     0.0000     0.1291     0.0792 0.000 1.000
X3                  1.000     0.9276     0.0000     0.1035     0.0052 1.000 1.000

U2       ON
X1                  1.000     0.9199     0.0000     0.1766     0.0064 1.000 1.000
X2                  2.000     2.1328     0.0000     0.3106     0.0176 1.000 1.000
X3                  3.000     3.5523     0.0000     0.4630     0.3050 1.000 1.000

U3       ON
U1                  0.500     0.5875     0.0000     0.0502     0.0077 1.000 1.000
U2                 -0.500    -0.4605     0.0000     0.0637     0.0016 1.000 1.000
X2                  2.000     2.2279     0.0000     0.1684     0.0519 1.000 1.000

Thresholds
U1\$1               -1.000    -0.8773     0.0000     0.1084     0.0151 1.000 1.000
U1\$2                1.000     1.1004     0.0000     0.1152     0.0101 1.000 1.000
U2\$1                0.000     0.1105     0.0000     0.1139     0.0122 1.000 0.000
U3\$1               -0.500    -0.5016     0.0000     0.0980     0.0000 1.000 1.000
U3\$2                0.500     0.4627     0.0000     0.0933     0.0014 1.000 1.000
U3\$3                1.500     1.6961     0.0000     0.1267     0.0385 1.000 1.000

QUALITY OF NUMERICAL RESULTS

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

TECHNICAL OUTPUT

PARAMETER SPECIFICATION

TAU
U1\$1          U1\$2          U2\$1          U3\$1          U3\$2
________      ________      ________      ________      ________
1             2             3             4             5

TAU
U3\$3
________
6

NU
U1            U2            U3
________      ________      ________
0             0             0

LAMBDA
U1            U2            U3
________      ________      ________
U1                 0             0             0
U2                 0             0             0
U3                 0             0             0

ALPHA
U1            U2            U3
________      ________      ________
0             0             0

BETA
U1            U2            U3
________      ________      ________
U1                 0             0             0
U2                 0             0             0
U3                 7             8             0

GAMMA
X1            X2            X3
________      ________      ________
U1                 9            10            11
U2                12            13            14
U3                 0            15             0

PSI
U1            U2            U3
________      ________      ________
U1                 0
U2                 0             0
U3                 0             0             0

STARTING VALUES

TAU
U1\$1          U1\$2          U2\$1          U3\$1          U3\$2
________      ________      ________      ________      ________
-1.000         1.000         0.000        -0.500         0.500

TAU
U3\$3
________
1.500

NU
U1            U2            U3
________      ________      ________
0.000         0.000         0.000

LAMBDA
U1            U2            U3
________      ________      ________
U1             1.000         0.000         0.000
U2             0.000         1.000         0.000
U3             0.000         0.000         1.000

ALPHA
U1            U2            U3
________      ________      ________
0.000         0.000         0.000

BETA
U1            U2            U3
________      ________      ________
U1             0.000         0.000         0.000
U2             0.000         0.000         0.000
U3             0.500        -0.500         0.000

GAMMA
X1            X2            X3
________      ________      ________
U1             3.000         2.000         1.000
U2             1.000         2.000         3.000
U3             0.000         2.000         0.000

PSI
U1            U2            U3
________      ________      ________
U1             1.000
U2             0.000         1.000
U3             0.000         0.000         1.000

POPULATION VALUES

TAU
U1\$1          U1\$2          U2\$1          U3\$1          U3\$2
________      ________      ________      ________      ________
-1.000         1.000         0.000        -0.500         0.500

TAU
U3\$3
________
1.500

NU
U1            U2            U3            X1            X2
________      ________      ________      ________      ________
0.000         0.000         0.000         0.000         0.000

NU
X3
________
0.000

LAMBDA
U1            U2            U3            X1            X2
________      ________      ________      ________      ________
U1             1.000         0.000         0.000         0.000         0.000
U2             0.000         1.000         0.000         0.000         0.000
U3             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
________
U1             0.000
U2             0.000
U3             0.000
X1             0.000
X2             0.000
X3             1.000

THETA
U1            U2            U3            X1            X2
________      ________      ________      ________      ________
U1             0.000
U2             0.000         0.000
U3             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
U1            U2            U3            X1            X2
________      ________      ________      ________      ________
0.000         0.000         0.000         0.000         0.000

ALPHA
X3
________
0.000

BETA
U1            U2            U3            X1            X2
________      ________      ________      ________      ________
U1             0.000         0.000         0.000         3.000         2.000
U2             0.000         0.000         0.000         1.000         2.000
U3             0.500        -0.500         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
________
U1             1.000
U2             3.000
U3             0.000
X1             0.000
X2             0.000
X3             0.000

PSI
U1            U2            U3            X1            X2
________      ________      ________      ________      ________
U1             1.000
U2             0.000         1.000
U3             0.000         0.000         0.500
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

U1
U2
U3
X1
X2
X3

Save file
ex3.12.dat

Save file format           Free
Save file record length    10000

Beginning Time:  03:27:49
Ending Time:  03:27:49
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-2017 Muthen & Muthen
```