Mplus VERSION 8.8
MUTHEN & MUTHEN
04/19/2022 10:22 PM
INPUT INSTRUCTIONS
TITLE: this is an example of a censored regression for a censored
dependent variable with two covariates
MONTECARLO:
NAMES = y1 x1 x3;
NOBSERVATIONS = 1000;
NREPS = 1;
SEED = 53487;
GENERATE = y1(cb 0);
CENSORED = y1(b);
SAVE = ex3.2.dat;
ANALYSIS: ESTIMATOR = MLR;
MODEL POPULATION:
[x1-x3@0];
x1-x3@1;
y1 ON x1*1 x3*.5;
y1*1;
[y1*.5];
MODEL:
y1 ON x1*1 x3*.5;
y1*1;
[y1*.5];
OUTPUT: TECH8 TECH9;
INPUT READING TERMINATED NORMALLY
this is an example of a censored regression for a censored
dependent variable with two covariates
SUMMARY OF ANALYSIS
Number of groups 1
Number of observations 1000
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
Censored
Y1
Observed independent variables
X1 X3
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 0
Adaptive quadrature ON
Cholesky OFF
SUMMARY OF CENSORED LIMITS
Y1 0.000
SAMPLE STATISTICS FOR THE FIRST REPLICATION
SAMPLE STATISTICS
Means
X1 X3
________ ________
0.000 -0.021
Covariances
X1 X3
________ ________
X1 1.028
X3 0.013 1.003
Correlations
X1 X3
________ ________
X1 1.000
X3 0.013 1.000
MODEL FIT INFORMATION
Number of Free Parameters 4
Loglikelihood
H0 Value
Mean -1142.885
Std Dev 0.000
Number of successful computations 1
Proportions Percentiles
Expected Observed Expected Observed
0.990 0.000 -1142.885 -1142.885
0.980 0.000 -1142.885 -1142.885
0.950 0.000 -1142.885 -1142.885
0.900 0.000 -1142.885 -1142.885
0.800 0.000 -1142.885 -1142.885
0.700 0.000 -1142.885 -1142.885
0.500 0.000 -1142.885 -1142.885
0.300 0.000 -1142.885 -1142.885
0.200 0.000 -1142.885 -1142.885
0.100 0.000 -1142.885 -1142.885
0.050 0.000 -1142.885 -1142.885
0.020 0.000 -1142.885 -1142.885
0.010 0.000 -1142.885 -1142.885
Information Criteria
Akaike (AIC)
Mean 2293.771
Std Dev 0.000
Number of successful computations 1
Proportions Percentiles
Expected Observed Expected Observed
0.990 0.000 2293.771 2293.771
0.980 0.000 2293.771 2293.771
0.950 0.000 2293.771 2293.771
0.900 0.000 2293.771 2293.771
0.800 0.000 2293.771 2293.771
0.700 0.000 2293.771 2293.771
0.500 0.000 2293.771 2293.771
0.300 0.000 2293.771 2293.771
0.200 0.000 2293.771 2293.771
0.100 0.000 2293.771 2293.771
0.050 0.000 2293.771 2293.771
0.020 0.000 2293.771 2293.771
0.010 0.000 2293.771 2293.771
Bayesian (BIC)
Mean 2313.402
Std Dev 0.000
Number of successful computations 1
Proportions Percentiles
Expected Observed Expected Observed
0.990 0.000 2313.402 2313.402
0.980 0.000 2313.402 2313.402
0.950 0.000 2313.402 2313.402
0.900 0.000 2313.402 2313.402
0.800 0.000 2313.402 2313.402
0.700 0.000 2313.402 2313.402
0.500 0.000 2313.402 2313.402
0.300 0.000 2313.402 2313.402
0.200 0.000 2313.402 2313.402
0.100 0.000 2313.402 2313.402
0.050 0.000 2313.402 2313.402
0.020 0.000 2313.402 2313.402
0.010 0.000 2313.402 2313.402
Sample-Size Adjusted BIC (n* = (n + 2) / 24)
Mean 2300.697
Std Dev 0.000
Number of successful computations 1
Proportions Percentiles
Expected Observed Expected Observed
0.990 0.000 2300.697 2300.697
0.980 0.000 2300.697 2300.697
0.950 0.000 2300.697 2300.697
0.900 0.000 2300.697 2300.697
0.800 0.000 2300.697 2300.697
0.700 0.000 2300.697 2300.697
0.500 0.000 2300.697 2300.697
0.300 0.000 2300.697 2300.697
0.200 0.000 2300.697 2300.697
0.100 0.000 2300.697 2300.697
0.050 0.000 2300.697 2300.697
0.020 0.000 2300.697 2300.697
0.010 0.000 2300.697 2300.697
MODEL RESULTS
ESTIMATES S. E. M. S. E. 95% % Sig
Population Average Std. Dev. Average Cover Coeff
Y1 ON
X1 1.000 1.0748 0.0000 0.0428 0.0056 1.000 1.000
X3 0.500 0.4948 0.0000 0.0371 0.0000 1.000 1.000
Intercepts
Y1 0.500 0.5155 0.0000 0.0403 0.0002 1.000 1.000
Residual Variances
Y1 1.000 1.1477 0.0000 0.0667 0.0218 0.000 1.000
QUALITY OF NUMERICAL RESULTS
Average Condition Number for the Information Matrix 0.223E+00
(ratio of smallest to largest eigenvalue)
TECHNICAL 1 OUTPUT
PARAMETER SPECIFICATION
NU
Y1#1 Y1 X1 X3
________ ________ ________ ________
0 0 0 0
LAMBDA
Y1#1 Y1 X1 X3
________ ________ ________ ________
Y1#1 0 0 0 0
Y1 0 0 0 0
X1 0 0 0 0
X3 0 0 0 0
THETA
Y1#1 Y1 X1 X3
________ ________ ________ ________
Y1#1 0
Y1 0 0
X1 0 0 0
X3 0 0 0 0
ALPHA
Y1#1 Y1 X1 X3
________ ________ ________ ________
0 1 0 0
BETA
Y1#1 Y1 X1 X3
________ ________ ________ ________
Y1#1 0 0 0 0
Y1 0 0 2 3
X1 0 0 0 0
X3 0 0 0 0
PSI
Y1#1 Y1 X1 X3
________ ________ ________ ________
Y1#1 0
Y1 0 4
X1 0 0 0
X3 0 0 0 0
STARTING VALUES
NU
Y1#1 Y1 X1 X3
________ ________ ________ ________
0.000 0.000 0.000 0.000
LAMBDA
Y1#1 Y1 X1 X3
________ ________ ________ ________
Y1#1 1.000 0.000 0.000 0.000
Y1 0.000 1.000 0.000 0.000
X1 0.000 0.000 1.000 0.000
X3 0.000 0.000 0.000 1.000
THETA
Y1#1 Y1 X1 X3
________ ________ ________ ________
Y1#1 0.000
Y1 0.000 0.000
X1 0.000 0.000 0.000
X3 0.000 0.000 0.000 0.000
ALPHA
Y1#1 Y1 X1 X3
________ ________ ________ ________
-20.000 0.500 0.000 0.000
BETA
Y1#1 Y1 X1 X3
________ ________ ________ ________
Y1#1 0.000 0.000 0.000 0.000
Y1 0.000 0.000 1.000 0.500
X1 0.000 0.000 0.000 0.000
X3 0.000 0.000 0.000 0.000
PSI
Y1#1 Y1 X1 X3
________ ________ ________ ________
Y1#1 0.000
Y1 0.000 1.000
X1 0.000 0.000 0.500
X3 0.000 0.000 0.000 0.500
POPULATION VALUES
NU
Y1#1 Y1 X1 X3
________ ________ ________ ________
0.000 0.000 0.000 0.000
LAMBDA
Y1#1 Y1 X1 X3
________ ________ ________ ________
Y1#1 1.000 0.000 0.000 0.000
Y1 0.000 1.000 0.000 0.000
X1 0.000 0.000 1.000 0.000
X3 0.000 0.000 0.000 1.000
THETA
Y1#1 Y1 X1 X3
________ ________ ________ ________
Y1#1 0.000
Y1 0.000 0.000
X1 0.000 0.000 0.000
X3 0.000 0.000 0.000 0.000
ALPHA
Y1#1 Y1 X1 X3
________ ________ ________ ________
-20.000 0.500 0.000 0.000
BETA
Y1#1 Y1 X1 X3
________ ________ ________ ________
Y1#1 0.000 0.000 0.000 0.000
Y1 0.000 0.000 1.000 0.500
X1 0.000 0.000 0.000 0.000
X3 0.000 0.000 0.000 0.000
PSI
Y1#1 Y1 X1 X3
________ ________ ________ ________
Y1#1 0.000
Y1 0.000 1.000
X1 0.000 0.000 1.000
X3 0.000 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.11480237D+04 0.0000000 0.0000000 EM
2 -0.11430923D+04 4.9314875 0.0042956 EM
3 -0.11428862D+04 0.2060506 0.0001803 EM
4 -0.11428853D+04 0.0008706 0.0000008 EM
TECHNICAL 9 OUTPUT
Error messages for each replication (if any)
SAVEDATA INFORMATION
Order of variables
Y1
X1
X3
Save file
ex3.2.dat
Save file format Free
Save file record length 10000
Beginning Time: 22:22:34
Ending Time: 22:22:35
Elapsed Time: 00:00:01
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-2022 Muthen & Muthen
Back to examples