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

INPUT INSTRUCTIONS

  TITLE:		this is an example of a path analysis
  		with a categorical dependent variable and
  	a continuous mediating variable with missing data
  MONTECARLO:			
  			NAMES = y u x;
  			NOBSERVATIONS = 500;
  			NREPS = 1;
  			SEED = 53487;
  			GENERATE = u(1);
  			CATEGORICAL = u;
  			MISSING = y;
  			SAVE = ex3.17.dat;	
  ANALYSIS:
  			ESTIMATOR = MLR;
  			INTEGRATION = MONTECARLO;
  MODEL POPULATION:
  			[x@0]; x@1;
  			y ON x*-1;
  			y*1;
  			[y*.5];
  			u ON x*1 y*.5;
  MODEL:
  			y ON x*-1;
  			y*1;
  			[y*.5];
  			u ON x*1 y*.5;
  MODEL MISSING:
  			y ON x@1;
  			[y@-1];
  OUTPUT:		TECH8 TECH9;



INPUT READING TERMINATED NORMALLY



this is an example of a path analysis
with a categorical dependent variable and
a continuous mediating variable with missing data

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                                    2
Number of independent variables                                  1
Number of continuous latent variables                            0

Observed dependent variables

  Continuous
   Y

  Binary and ordered categorical (ordinal)
   U

Observed independent variables
   X


Estimator                                                      MLR
Information matrix                                        OBSERVED
Optimization Specifications for the Quasi-Newton Algorithm for
Continuous Outcomes
  Maximum number of iterations                                 100
  Convergence criterion                                  0.100D-05
Optimization Specifications for the EM Algorithm
  Maximum number of iterations                                 500
  Convergence criteria
    Loglikelihood change                                 0.100D-02
    Relative loglikelihood change                        0.100D-05
    Derivative                                           0.100D-02
Optimization Specifications for the M step of the EM Algorithm for
Categorical Latent variables
  Number of M step iterations                                    1
  M step convergence criterion                           0.100D-02
  Basis for M step termination                           ITERATION
Optimization Specifications for the M step of the EM Algorithm for
Censored, Binary or Ordered Categorical (Ordinal), Unordered
Categorical (Nominal) and Count Outcomes
  Number of M step iterations                                    1
  M step convergence criterion                           0.100D-02
  Basis for M step termination                           ITERATION
  Maximum value for logit thresholds                            15
  Minimum value for logit thresholds                           -15
  Minimum expected cell size for chi-square              0.100D-01
Maximum number of iterations for H1                           2000
Convergence criterion for H1                             0.100D-03
Optimization algorithm                                         EMA
Integration Specifications
  Type                                                  MONTECARLO
  Number of integration points                                  25
  Dimensions of numerical integration                            1
  Adaptive quadrature                                           ON
  Monte Carlo integration seed                                   0
Link                                                         LOGIT
Cholesky                                                       OFF


SUMMARY OF DATA FOR THE FIRST REPLICATION

     Number of missing data patterns             2


SUMMARY OF MISSING DATA PATTERNS FOR THE FIRST REPLICATION


     MISSING DATA PATTERNS FOR Y (x = not missing)

           1  2
 Y         x
 X         x  x


     MISSING DATA PATTERN FREQUENCIES FOR Y

    Pattern   Frequency     Pattern   Frequency
          1         349           2         151


COVARIANCE COVERAGE OF DATA FOR THE FIRST REPLICATION

Minimum covariance coverage value   0.100


     PROPORTION OF DATA PRESENT FOR Y


           Covariance Coverage
              Y             X
              ________      ________
 Y              0.698
 X              0.698         1.000


SAMPLE STATISTICS FOR THE FIRST REPLICATION


     ESTIMATED SAMPLE STATISTICS


           Means
              Y             X
              ________      ________
 1              0.604        -0.067


           Covariances
              Y             X
              ________      ________
 Y              1.986
 X             -0.964         0.960


           Correlations
              Y             X
              ________      ________
 Y              1.000
 X             -0.698         1.000


     MAXIMUM LOG-LIKELIHOOD VALUE FOR THE UNRESTRICTED (H1) MODEL IS -1197.571




MODEL FIT INFORMATION

Number of Free Parameters                        6

Loglikelihood

    H0 Value

        Mean                              -820.852
        Std Dev                              0.000
        Number of successful computations        1

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

Information Criteria

    Akaike (AIC)

        Mean                              1653.705
        Std Dev                              0.000
        Number of successful computations        1

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

    Bayesian (BIC)

        Mean                              1678.993
        Std Dev                              0.000
        Number of successful computations        1

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

    Sample-Size Adjusted BIC (n* = (n + 2) / 24)

        Mean                              1659.948
        Std Dev                              0.000
        Number of successful computations        1

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



MODEL RESULTS

                           ESTIMATES              S. E.     M. S. E.  95%  % Sig
              Population   Average   Std. Dev.   Average             Cover Coeff
 Y          ON
  X               -1.000    -1.0127     0.0000     0.0607     0.0002 1.000 1.000

 U          ON
  X                1.000     1.0307     0.0000     0.1719     0.0009 1.000 1.000
  Y                0.500     0.4880     0.0000     0.1223     0.0001 1.000 1.000

 Intercepts
  Y                0.500     0.5245     0.0000     0.0555     0.0006 1.000 1.000

 Thresholds
  U$1              0.000     0.0861     0.0000     0.1157     0.0074 1.000 0.000

 Residual Variances
  Y                1.000     1.0258     0.0000     0.0795     0.0007 1.000 1.000


QUALITY OF NUMERICAL RESULTS

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


TECHNICAL 1 OUTPUT


     PARAMETER SPECIFICATION


           TAU
              U$1
              ________
 1                  6


           NU
              U             Y             X
              ________      ________      ________
 1                  0             0             0


           LAMBDA
              U             Y             X
              ________      ________      ________
 U                  0             0             0
 Y                  0             0             0
 X                  0             0             0


           THETA
              U             Y             X
              ________      ________      ________
 U                  0
 Y                  0             0
 X                  0             0             0


           ALPHA
              U             Y             X
              ________      ________      ________
 1                  0             1             0


           BETA
              U             Y             X
              ________      ________      ________
 U                  0             2             3
 Y                  0             0             4
 X                  0             0             0


           PSI
              U             Y             X
              ________      ________      ________
 U                  0
 Y                  0             5
 X                  0             0             0


     STARTING VALUES


           TAU
              U$1
              ________
 1              0.000


           NU
              U             Y             X
              ________      ________      ________
 1              0.000         0.000         0.000


           LAMBDA
              U             Y             X
              ________      ________      ________
 U              1.000         0.000         0.000
 Y              0.000         1.000         0.000
 X              0.000         0.000         1.000


           THETA
              U             Y             X
              ________      ________      ________
 U              0.000
 Y              0.000         0.000
 X              0.000         0.000         0.000


           ALPHA
              U             Y             X
              ________      ________      ________
 1              0.000         0.500         0.000


           BETA
              U             Y             X
              ________      ________      ________
 U              0.000         0.500         1.000
 Y              0.000         0.000        -1.000
 X              0.000         0.000         0.000


           PSI
              U             Y             X
              ________      ________      ________
 U              1.000
 Y              0.000         1.000
 X              0.000         0.000         0.500


     POPULATION VALUES


           TAU
              U$1
              ________
 1              0.000


           NU
              U             Y             X
              ________      ________      ________
 1              0.000         0.000         0.000


           LAMBDA
              U             Y             X
              ________      ________      ________
 U              1.000         0.000         0.000
 Y              0.000         1.000         0.000
 X              0.000         0.000         1.000


           THETA
              U             Y             X
              ________      ________      ________
 U              0.000
 Y              0.000         0.000
 X              0.000         0.000         0.000


           ALPHA
              U             Y             X
              ________      ________      ________
 1              0.000         0.500         0.000


           BETA
              U             Y             X
              ________      ________      ________
 U              0.000         0.500         1.000
 Y              0.000         0.000        -1.000
 X              0.000         0.000         0.000


           PSI
              U             Y             X
              ________      ________      ________
 U              0.000
 Y              0.000         1.000
 X              0.000         0.000         1.000


TECHNICAL 8 OUTPUT


  TECHNICAL 8 OUTPUT FOR REPLICATION 1


   E STEP  ITER  LOGLIKELIHOOD    ABS CHANGE   REL CHANGE  ALGORITHM
              1 -0.82169226D+03    0.0000000    0.0000000  EM
              2 -0.82087895D+03    0.8133143    0.0009898  EM
              3 -0.82085710D+03    0.0218472    0.0000266  EM
              4 -0.82085388D+03    0.0032160    0.0000039  EM
              5 -0.82085287D+03    0.0010113    0.0000012  EM
              6 -0.82085243D+03    0.0004439    0.0000005  EM


TECHNICAL 9 OUTPUT

  Error messages for each replication (if any)



SAVEDATA INFORMATION

  Order of variables

    U
    Y
    X

  Save file
    ex3.17.dat

  Save file format           Free
  Save file record length    10000
  Missing designated by 999


     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