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

INPUT INSTRUCTIONS

  TITLE:	this is an example of a CFA with censored and count factor indicators

  montecarlo:
  	names = y1-y3 u4-u6;
  	generate = y1-y3(ca 10) u4-u6(c);
  	censored = y1-y3(a);
  	count = u4-u6;
  	nobs = 500;
  	nreps = 1;
  	save = ex5.4.dat;

  model montecarlo:

  	f1 by y1@1 y2-y3*1;
  	f2 by u4@1 u5-u6*1;
  	y1-y3*.2;
  	f1-f2*.8;
  	[y1-y3*8 u4-u6*.5];

  model:
  	
  	f1 by y1@1 y2-y3*1;
  	f2 by u4@1 u5-u6*1;
  	y1-y3*.2;
  	f1-f2*.8;
  	[y1-y3*8 u4-u6*.5];

  output:
  	tech8 tech9;






INPUT READING TERMINATED NORMALLY



this is an example of a CFA with censored and count factor indicators

SUMMARY OF ANALYSIS

Number of groups                                                 1
Number of observations                                         500

Number of replications
    Requested                                                    1
    Completed                                                    1
Value of seed                                                    0

Number of dependent variables                                    6
Number of independent variables                                  0
Number of continuous latent variables                            2

Observed dependent variables

  Censored
   Y1          Y2          Y3

  Count
   U4          U5          U6

Continuous latent variables
   F1          F2


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
Optimization algorithm                                         EMA
Integration Specifications
  Type                                                    STANDARD
  Number of integration points                                  15
  Dimensions of numerical integration                            2
  Adaptive quadrature                                           ON
Cholesky                                                        ON


SUMMARY OF CENSORED LIMITS

      Y1                10.000
      Y2                10.000
      Y3                10.000





MODEL FIT INFORMATION

Number of Free Parameters                       16

Loglikelihood

    H0 Value

        Mean                             -4424.258
        Std Dev                              0.000
        Number of successful computations        1

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

Information Criteria

    Akaike (AIC)

        Mean                              8880.517
        Std Dev                              0.000
        Number of successful computations        1

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

    Bayesian (BIC)

        Mean                              8947.950
        Std Dev                              0.000
        Number of successful computations        1

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

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

        Mean                              8897.165
        Std Dev                              0.000
        Number of successful computations        1

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



MODEL RESULTS

                           ESTIMATES              S. E.     M. S. E.  95%  % Sig
              Population   Average   Std. Dev.   Average             Cover Coeff
 F1       BY
  Y1               1.000     1.0000     0.0000     0.0000     0.0000 1.000 0.000
  Y2               1.000     0.9997     0.0000     0.0370     0.0000 1.000 1.000
  Y3               1.000     0.9857     0.0000     0.0381     0.0002 1.000 1.000

 F2       BY
  U4               1.000     1.0000     0.0000     0.0000     0.0000 1.000 0.000
  U5               1.000     0.9972     0.0000     0.0471     0.0000 1.000 1.000
  U6               1.000     1.0477     0.0000     0.0624     0.0023 1.000 1.000

 F2       WITH
  F1               0.000     0.0568     0.0000     0.0411     0.0032 1.000 0.000

 Intercepts
  U4               0.500     0.5842     0.0000     0.0540     0.0071 1.000 1.000
  U5               0.500     0.5878     0.0000     0.0548     0.0077 1.000 1.000
  U6               0.500     0.5754     0.0000     0.0561     0.0057 1.000 1.000
  Y1               8.000     8.0268     0.0000     0.0437     0.0007 1.000 1.000
  Y2               8.000     8.0461     0.0000     0.0433     0.0021 1.000 1.000
  Y3               8.000     7.9934     0.0000     0.0436     0.0000 1.000 1.000

 Variances
  F1               0.800     0.7607     0.0000     0.0540     0.0015 1.000 1.000
  F2               0.800     0.7341     0.0000     0.0810     0.0043 1.000 1.000

 Residual Variances
  Y1               0.200     0.1920     0.0000     0.0185     0.0001 1.000 1.000
  Y2               0.200     0.1776     0.0000     0.0187     0.0005 1.000 1.000
  Y3               0.200     0.2092     0.0000     0.0200     0.0001 1.000 1.000


QUALITY OF NUMERICAL RESULTS

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


TECHNICAL 1 OUTPUT


     PARAMETER SPECIFICATION


           NU
              U4#1          U4            U5#1          U5            U6#1
              ________      ________      ________      ________      ________
 1                  0             1             0             2             0


           NU
              U6            Y1#1          Y1            Y2#1          Y2
              ________      ________      ________      ________      ________
 1                  3             0             4             0             5


           NU
              Y3#1          Y3
              ________      ________
 1                  0             6


           LAMBDA
              F1            F2
              ________      ________
 U4#1               0             0
 U4                 0             0
 U5#1               0             0
 U5                 0             7
 U6#1               0             0
 U6                 0             8
 Y1#1               0             0
 Y1                 0             0
 Y2#1               0             0
 Y2                 9             0
 Y3#1               0             0
 Y3                10             0


           THETA
              U4#1          U4            U5#1          U5            U6#1
              ________      ________      ________      ________      ________
 U4#1               0
 U4                 0             0
 U5#1               0             0             0
 U5                 0             0             0             0
 U6#1               0             0             0             0             0
 U6                 0             0             0             0             0
 Y1#1               0             0             0             0             0
 Y1                 0             0             0             0             0
 Y2#1               0             0             0             0             0
 Y2                 0             0             0             0             0
 Y3#1               0             0             0             0             0
 Y3                 0             0             0             0             0


           THETA
              U6            Y1#1          Y1            Y2#1          Y2
              ________      ________      ________      ________      ________
 U6                 0
 Y1#1               0             0
 Y1                 0             0            11
 Y2#1               0             0             0             0
 Y2                 0             0             0             0            12
 Y3#1               0             0             0             0             0
 Y3                 0             0             0             0             0


           THETA
              Y3#1          Y3
              ________      ________
 Y3#1               0
 Y3                 0            13


           ALPHA
              F1            F2
              ________      ________
 1                  0             0


           BETA
              F1            F2
              ________      ________
 F1                 0             0
 F2                 0             0


           PSI
              F1            F2
              ________      ________
 F1                14
 F2                15            16


     STARTING VALUES


           NU
              U4#1          U4            U5#1          U5            U6#1
              ________      ________      ________      ________      ________
 1            -20.000         0.500       -20.000         0.500       -20.000


           NU
              U6            Y1#1          Y1            Y2#1          Y2
              ________      ________      ________      ________      ________
 1              0.500       -20.000         8.000       -20.000         8.000


           NU
              Y3#1          Y3
              ________      ________
 1            -20.000         8.000


           LAMBDA
              F1            F2
              ________      ________
 U4#1           0.000         0.000
 U4             0.000         1.000
 U5#1           0.000         0.000
 U5             0.000         1.000
 U6#1           0.000         0.000
 U6             0.000         1.000
 Y1#1           0.000         0.000
 Y1             1.000         0.000
 Y2#1           0.000         0.000
 Y2             1.000         0.000
 Y3#1           0.000         0.000
 Y3             1.000         0.000


           THETA
              U4#1          U4            U5#1          U5            U6#1
              ________      ________      ________      ________      ________
 U4#1           0.000
 U4             0.000         0.000
 U5#1           0.000         0.000         0.000
 U5             0.000         0.000         0.000         0.000
 U6#1           0.000         0.000         0.000         0.000         0.000
 U6             0.000         0.000         0.000         0.000         0.000
 Y1#1           0.000         0.000         0.000         0.000         0.000
 Y1             0.000         0.000         0.000         0.000         0.000
 Y2#1           0.000         0.000         0.000         0.000         0.000
 Y2             0.000         0.000         0.000         0.000         0.000
 Y3#1           0.000         0.000         0.000         0.000         0.000
 Y3             0.000         0.000         0.000         0.000         0.000


           THETA
              U6            Y1#1          Y1            Y2#1          Y2
              ________      ________      ________      ________      ________
 U6             0.000
 Y1#1           0.000         0.000
 Y1             0.000         0.000         0.200
 Y2#1           0.000         0.000         0.000         0.000
 Y2             0.000         0.000         0.000         0.000         0.200
 Y3#1           0.000         0.000         0.000         0.000         0.000
 Y3             0.000         0.000         0.000         0.000         0.000


           THETA
              Y3#1          Y3
              ________      ________
 Y3#1           0.000
 Y3             0.000         0.200


           ALPHA
              F1            F2
              ________      ________
 1              0.000         0.000


           BETA
              F1            F2
              ________      ________
 F1             0.000         0.000
 F2             0.000         0.000


           PSI
              F1            F2
              ________      ________
 F1             0.800
 F2             0.000         0.800


     POPULATION VALUES


           NU
              U4#1          U4            U5#1          U5            U6#1
              ________      ________      ________      ________      ________
 1            -20.000         0.500       -20.000         0.500       -20.000


           NU
              U6            Y1#1          Y1            Y2#1          Y2
              ________      ________      ________      ________      ________
 1              0.500       -20.000         8.000       -20.000         8.000


           NU
              Y3#1          Y3
              ________      ________
 1            -20.000         8.000


           LAMBDA
              F1            F2
              ________      ________
 U4#1           0.000         0.000
 U4             0.000         1.000
 U5#1           0.000         0.000
 U5             0.000         1.000
 U6#1           0.000         0.000
 U6             0.000         1.000
 Y1#1           0.000         0.000
 Y1             1.000         0.000
 Y2#1           0.000         0.000
 Y2             1.000         0.000
 Y3#1           0.000         0.000
 Y3             1.000         0.000


           THETA
              U4#1          U4            U5#1          U5            U6#1
              ________      ________      ________      ________      ________
 U4#1           0.000
 U4             0.000         0.000
 U5#1           0.000         0.000         0.000
 U5             0.000         0.000         0.000         0.000
 U6#1           0.000         0.000         0.000         0.000         0.000
 U6             0.000         0.000         0.000         0.000         0.000
 Y1#1           0.000         0.000         0.000         0.000         0.000
 Y1             0.000         0.000         0.000         0.000         0.000
 Y2#1           0.000         0.000         0.000         0.000         0.000
 Y2             0.000         0.000         0.000         0.000         0.000
 Y3#1           0.000         0.000         0.000         0.000         0.000
 Y3             0.000         0.000         0.000         0.000         0.000


           THETA
              U6            Y1#1          Y1            Y2#1          Y2
              ________      ________      ________      ________      ________
 U6             0.000
 Y1#1           0.000         0.000
 Y1             0.000         0.000         0.200
 Y2#1           0.000         0.000         0.000         0.000
 Y2             0.000         0.000         0.000         0.000         0.200
 Y3#1           0.000         0.000         0.000         0.000         0.000
 Y3             0.000         0.000         0.000         0.000         0.000


           THETA
              Y3#1          Y3
              ________      ________
 Y3#1           0.000
 Y3             0.000         0.200


           ALPHA
              F1            F2
              ________      ________
 1              0.000         0.000


           BETA
              F1            F2
              ________      ________
 F1             0.000         0.000
 F2             0.000         0.000


           PSI
              F1            F2
              ________      ________
 F1             0.800
 F2             0.000         0.800


TECHNICAL 8 OUTPUT


  TECHNICAL 8 OUTPUT FOR REPLICATION 1


   E STEP  ITER  LOGLIKELIHOOD    ABS CHANGE   REL CHANGE  ALGORITHM
              1 -0.44365497D+04    0.0000000    0.0000000  EM
              2 -0.44261365D+04   10.4131402    0.0023471  FS
              3 -0.44247787D+04    1.3578261    0.0003068  FS
              4 -0.44245548D+04    0.2238433    0.0000506  FS
              5 -0.44244653D+04    0.0895552    0.0000202  FS
              6 -0.44244253D+04    0.0399799    0.0000090  FS
              7 -0.44243935D+04    0.0318496    0.0000072  FS
              8 -0.44243732D+04    0.0203033    0.0000046  FS
              9 -0.44243539D+04    0.0192834    0.0000044  FS
             10 -0.44243412D+04    0.0126638    0.0000029  FS
             11 -0.44243285D+04    0.0127455    0.0000029  FS
             12 -0.44243199D+04    0.0085612    0.0000019  FS
             13 -0.44243111D+04    0.0088065    0.0000020  FS
             14 -0.44243050D+04    0.0060887    0.0000014  FS
             15 -0.44242987D+04    0.0062923    0.0000014  FS
             16 -0.44242942D+04    0.0044840    0.0000010  FS
             17 -0.44242896D+04    0.0046107    0.0000010  FS
             18 -0.44242862D+04    0.0033850    0.0000008  FS
             19 -0.44242828D+04    0.0034434    0.0000008  FS
             20 -0.44242802D+04    0.0026006    0.0000006  FS
             21 -0.44242776D+04    0.0026093    0.0000006  FS
             22 -0.44242756D+04    0.0020243    0.0000005  FS
             23 -0.44242736D+04    0.0019989    0.0000005  FS
             24 -0.44242720D+04    0.0015910    0.0000004  FS
             25 -0.44242704D+04    0.0015445    0.0000003  FS
             26 -0.44242692D+04    0.0012597    0.0000003  FS
             27 -0.44242680D+04    0.0012013    0.0000003  FS
             28 -0.44242670D+04    0.0010030    0.0000002  FS
             29 -0.44242660D+04    0.0009392    0.0000002  FS
             30 -0.44242652D+04    0.0008021    0.0000002  FS
             31 -0.44242645D+04    0.0007372    0.0000002  FS
             32 -0.44242638D+04    0.0006437    0.0000001  FS
             33 -0.44242633D+04    0.0005805    0.0000001  FS
             34 -0.44242627D+04    0.0005180    0.0000001  FS
             35 -0.44242623D+04    0.0004582    0.0000001  FS
             36 -0.44242619D+04    0.0004178    0.0000001  FS
             37 -0.44242615D+04    0.0003623    0.0000001  FS
             38 -0.44242612D+04    0.0003376    0.0000001  FS
             39 -0.44242609D+04    0.0002868    0.0000001  FS
             40 -0.44242606D+04    0.0002733    0.0000001  FS
             41 -0.44242604D+04    0.0002272    0.0000001  FS
             42 -0.44242602D+04    0.0002215    0.0000001  FS
             43 -0.44242600D+04    0.0001801    0.0000000  FS
             44 -0.44242598D+04    0.0001798    0.0000000  FS
             45 -0.44242596D+04    0.0001427    0.0000000  FS
             46 -0.44242595D+04    0.0001461    0.0000000  FS
             47 -0.44242594D+04    0.0001131    0.0000000  FS
             48 -0.44242593D+04    0.0001189    0.0000000  FS
             49 -0.44242592D+04    0.0000896    0.0000000  FS
             50 -0.44242591D+04    0.0000969    0.0000000  FS
             51 -0.44242590D+04    0.0000708    0.0000000  FS
             52 -0.44242589D+04    0.0000790    0.0000000  FS
             53 -0.44242589D+04    0.0000560    0.0000000  FS
             54 -0.44242588D+04    0.0000646    0.0000000  FS
             55 -0.44242584D+04    0.0004502    0.0000001  EM


TECHNICAL 9 OUTPUT

  Error messages for each replication (if any)



SAVEDATA INFORMATION

  Order of variables

    U4
    U5
    U6
    Y1
    Y2
    Y3

  Save file
    ex5.4.dat

  Save file format           Free
  Save file record length    10000


     Beginning Time:  22:02:38
        Ending Time:  22:02:51
       Elapsed Time:  00:00:13



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