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

INPUT INSTRUCTIONS

  TITLE:	this is an example of a logistic
  		regression for a categorical observed
  		dependent variable with two covariates
  MONTECARLO:			
  		NAMES = u1 x1 x3;
  		NOBSERVATIONS = 500;
  		NREPS = 1;
  		SEED = 53487;
  		GENERATE = u1(1);
  		CATEGORICAL = u1;
  		SAVE = ex3.5.dat;	
  MODEL POPULATION:
  		[x1-x3@0];
  		x1-x3@1;
  		u1 ON x1*1 x3*2;
  		[u1$1*1];
  ANALYSIS:
  		ESTIMATOR = ML;
  MODEL:	u1 ON x1*1 x3*2;
  		[u1$1*1];
  OUTPUT:	TECH8;



INPUT READING TERMINATED NORMALLY



this is an example of a logistic
regression for a categorical observed
dependent variable with two covariates

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

Observed dependent variables

  Binary and ordered categorical (ordinal)
   U1

Observed independent variables
   X1          X3


Estimator                                                       ML
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                            0
  Adaptive quadrature                                           ON
Link                                                         LOGIT
Cholesky                                                       OFF


SAMPLE STATISTICS FOR THE FIRST REPLICATION


     SAMPLE STATISTICS


           Means
              X1            X3
              ________      ________
 1              0.001        -0.042


           Covariances
              X1            X3
              ________      ________
 X1             1.096
 X3             0.028         0.959


           Correlations
              X1            X3
              ________      ________
 X1             1.000
 X3             0.028         1.000




MODEL FIT INFORMATION

Number of Free Parameters                        3

Loglikelihood

    H0 Value

        Mean                              -202.620
        Std Dev                              0.000
        Number of successful computations        1

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

Information Criteria

    Akaike (AIC)

        Mean                               411.240
        Std Dev                              0.000
        Number of successful computations        1

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

    Bayesian (BIC)

        Mean                               423.884
        Std Dev                              0.000
        Number of successful computations        1

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

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

        Mean                               414.362
        Std Dev                              0.000
        Number of successful computations        1

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



MODEL RESULTS

                           ESTIMATES              S. E.     M. S. E.  95%  % Sig
              Population   Average   Std. Dev.   Average             Cover Coeff
 U1         ON
  X1               1.000     1.0718     0.0000     0.1429     0.0052 1.000 1.000
  X3               2.000     1.8386     0.0000     0.1795     0.0261 1.000 1.000

 Thresholds
  U1$1             1.000     1.0258     0.0000     0.1369     0.0007 1.000 1.000


QUALITY OF NUMERICAL RESULTS

     Average Condition Number for the Information Matrix      0.314E+00
       (ratio of smallest to largest eigenvalue)


TECHNICAL 1 OUTPUT


     PARAMETER SPECIFICATION


           TAU
              U1$1
              ________
 1                  3


           NU
              U1            X1            X3
              ________      ________      ________
 1                  0             0             0


           LAMBDA
              U1            X1            X3
              ________      ________      ________
 U1                 0             0             0
 X1                 0             0             0
 X3                 0             0             0


           THETA
              U1            X1            X3
              ________      ________      ________
 U1                 0
 X1                 0             0
 X3                 0             0             0


           ALPHA
              U1            X1            X3
              ________      ________      ________
 1                  0             0             0


           BETA
              U1            X1            X3
              ________      ________      ________
 U1                 0             1             2
 X1                 0             0             0
 X3                 0             0             0


           PSI
              U1            X1            X3
              ________      ________      ________
 U1                 0
 X1                 0             0
 X3                 0             0             0


     STARTING VALUES


           TAU
              U1$1
              ________
 1              1.000


           NU
              U1            X1            X3
              ________      ________      ________
 1              0.000         0.000         0.000


           LAMBDA
              U1            X1            X3
              ________      ________      ________
 U1             1.000         0.000         0.000
 X1             0.000         1.000         0.000
 X3             0.000         0.000         1.000


           THETA
              U1            X1            X3
              ________      ________      ________
 U1             0.000
 X1             0.000         0.000
 X3             0.000         0.000         0.000


           ALPHA
              U1            X1            X3
              ________      ________      ________
 1              0.000         0.000         0.000


           BETA
              U1            X1            X3
              ________      ________      ________
 U1             0.000         1.000         2.000
 X1             0.000         0.000         0.000
 X3             0.000         0.000         0.000


           PSI
              U1            X1            X3
              ________      ________      ________
 U1             1.000
 X1             0.000         0.500
 X3             0.000         0.000         0.500


     POPULATION VALUES


           TAU
              U1$1
              ________
 1              1.000


           NU
              U1            X1            X3
              ________      ________      ________
 1              0.000         0.000         0.000


           LAMBDA
              U1            X1            X3
              ________      ________      ________
 U1             1.000         0.000         0.000
 X1             0.000         1.000         0.000
 X3             0.000         0.000         1.000


           THETA
              U1            X1            X3
              ________      ________      ________
 U1             0.000
 X1             0.000         0.000
 X3             0.000         0.000         0.000


           ALPHA
              U1            X1            X3
              ________      ________      ________
 1              0.000         0.000         0.000


           BETA
              U1            X1            X3
              ________      ________      ________
 U1             0.000         1.000         2.000
 X1             0.000         0.000         0.000
 X3             0.000         0.000         0.000


           PSI
              U1            X1            X3
              ________      ________      ________
 U1             0.000
 X1             0.000         1.000
 X3             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.20349987D+03    0.0000000    0.0000000  EM
              2 -0.20262219D+03    0.8776872    0.0043130  EM
              3 -0.20261995D+03    0.0022391    0.0000111  EM
              4 -0.20261995D+03    0.0000001    0.0000000  EM


SAVEDATA INFORMATION

  Order of variables

    U1
    X1
    X3

  Save file
    ex3.5.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