Mplus VERSION 7.4
MUTHEN & MUTHEN
04/02/2016 2:14 PM
INPUT INSTRUCTIONS
TITLE: Regressing math10 on math7
DATA:
FILE = dropout.dat;
FORMAT = 11f8 6f8.2 1f8 2f8.2 10f2;
VARIABLE:
NAMES ARE id school gender mothed fathed fathsei ethnic expect
pacpush pmpush homeres
math7 math8 math9 math10 math11 math12 problem esteem mathatt
clocatn dlocatn elocatn flocatn glocatn hlocatn ilocatn jlocatn
klocatn llocatn;
MISSING = mothed (8) fathed (8) fathsei (996 998)
ethnic (8) homeres (98) math7-math12 (996 998);
IDVARIABLE = id;
USEVAR = math7 math10 mothed male;
constraint = math7;
Define:
male = gender - 1;
Analysis:
starts = 10;
processors = 8;
bootstrap = 1000;
MODEL:
math10 ON math7 mothed male;
math10 (resvar);
model constraint:
new(a b);
resvar = exp(a+b*math7);
OUTPUT:
tech8 SAMPSTAT cinterval(bootstrap);
Plot:
TYPE = PLOT3;
*** WARNING in OUTPUT command
TECH8 option is available only with analysis types MIXTURE, RANDOM, or
TWOLEVEL with estimators ML, MLF, or MLR or ALGORITHM=INTEGRATION.
Request for TECH8 is ignored.
*** WARNING
Data set contains cases with missing on x-variables.
These cases were not included in the analysis.
Number of cases with missing on x-variables: 149
*** WARNING
Data set contains cases with missing on all variables except
x-variables. These cases were not included in the analysis.
Number of cases with missing on all variables except x-variables: 998
3 WARNING(S) FOUND IN THE INPUT INSTRUCTIONS
Regressing math10 on math7
SUMMARY OF ANALYSIS
Number of groups 1
Number of observations 1969
Number of dependent variables 1
Number of independent variables 3
Number of continuous latent variables 0
Observed dependent variables
Continuous
MATH10
Observed independent variables
MATH7 MOTHED MALE
Variables with special functions
ID variable ID
Estimator ML
Information matrix OBSERVED
Maximum number of iterations 1000
Convergence criterion 0.500D-04
Maximum number of steepest descent iterations 20
Maximum number of iterations for H1 2000
Convergence criterion for H1 0.100D-03
Number of bootstrap draws
Requested 1000
Completed 1000
Random Starts Specifications
Number of random starts 10
Random starts scale 0.500D+01
Input data file(s)
dropout.dat
Input data format
(11F8 6F8.2 1F8 2F8.2 10F2)
SUMMARY OF DATA
Number of missing data patterns 1
COVARIANCE COVERAGE OF DATA
Minimum covariance coverage value 0.100
PROPORTION OF DATA PRESENT
Covariance Coverage
MATH10 MATH7 MOTHED MALE
________ ________ ________ ________
MATH10 1.000
MATH7 1.000 1.000
MOTHED 1.000 1.000 1.000
MALE 1.000 1.000 1.000 1.000
SAMPLE STATISTICS
ESTIMATED SAMPLE STATISTICS
Means
MATH10 MATH7 MOTHED MALE
________ ________ ________ ________
1 63.682 51.603 2.364 0.500
Covariances
MATH10 MATH7 MOTHED MALE
________ ________ ________ ________
MATH10 186.139
MATH7 109.112 103.136
MOTHED 4.119 2.995 1.035
MALE -0.151 -0.317 0.028 0.250
Correlations
MATH10 MATH7 MOTHED MALE
________ ________ ________ ________
MATH10 1.000
MATH7 0.787 1.000
MOTHED 0.297 0.290 1.000
MALE -0.022 -0.063 0.055 1.000
MAXIMUM LOG-LIKELIHOOD VALUE FOR THE UNRESTRICTED (H1) MODEL IS -18490.720
UNIVARIATE SAMPLE STATISTICS
UNIVARIATE HIGHER-ORDER MOMENT DESCRIPTIVE STATISTICS
Variable/ Mean/ Skewness/ Minimum/ % with Percentiles
Sample Size Variance Kurtosis Maximum Min/Max 20%/60% 40%/80% Median
MATH10 63.682 -0.330 30.490 0.05% 51.520 61.940 65.440
1969.000 186.139 -0.451 95.170 0.25% 68.600 75.330
MATH7 51.603 0.046 27.560 0.05% 42.110 48.800 51.910
1969.000 103.136 -0.616 85.020 0.05% 54.540 60.740
MOTHED 2.364 1.073 1.000 12.75% 2.000 2.000 2.000
1969.000 1.035 0.514 5.000 4.98% 2.000 3.000
MALE 0.500 0.001 0.000 50.03% 0.000 0.000 0.000
1969.000 0.250 -2.000 1.000 49.97% 1.000 1.000
RANDOM STARTS RESULTS RANKED FROM THE BEST TO THE WORST FIT FUNCTION VALUES
Fit function values at local maxima and random start numbers:
36808.0278 3
36808.0278 2
36808.0278 9
36808.0278 10
36808.0278 8
36808.0278 unperturbed
36808.0278 5
36808.0278 6
36808.0278 7
36808.0278 1
36808.0278 4
MODEL FIT INFORMATION
Number of Free Parameters 6
Loglikelihood
H0 Value -6885.089
Information Criteria
Akaike (AIC) 13782.177
Bayesian (BIC) 13815.689
Sample-Size Adjusted BIC 13796.626
(n* = (n + 2) / 24)
MODEL RESULTS
Two-Tailed
Estimate S.E. Est./S.E. P-Value
MATH10 ON
MATH7 1.017 0.019 52.786 0.000
MOTHED 0.872 0.171 5.098 0.000
MALE 0.822 0.361 2.279 0.023
Intercepts
MATH10 8.759 1.038 8.438 0.000
Residual Variances
MATH10 999.000 0.000 999.000 999.000
New/Additional Parameters
A 6.379 0.185 34.483 0.000
B -0.043 0.004 -11.878 0.000
CONFIDENCE INTERVALS OF MODEL RESULTS
Lower .5% Lower 2.5% Lower 5% Estimate Upper 5% Upper 2.5% Upper .5%
MATH10 ON
MATH7 0.968 0.981 0.986 1.017 1.050 1.058 1.066
MOTHED 0.395 0.529 0.579 0.872 1.148 1.192 1.264
MALE -0.015 0.115 0.215 0.822 1.426 1.514 1.688
Intercepts
MATH10 5.967 6.664 7.061 8.759 10.444 10.804 11.379
Residual Variances
MATH10 999.000 999.000 999.000 999.000 999.000 999.000 999.000
New/Additional Parameters
A 5.874 6.020 6.086 6.379 6.704 6.761 6.887
B -0.054 -0.051 -0.050 -0.043 -0.037 -0.036 -0.034
PLOT INFORMATION
The following plots are available:
Histograms (sample values)
Scatterplots (sample values)
Bootstrap distributions
DIAGRAM INFORMATION
Use View Diagram under the Diagram menu in the Mplus Editor to view the diagram.
If running Mplus from the Mplus Diagrammer, the diagram opens automatically.
Diagram output
c:\users\bengt 2013\documents\bengt\mplus runs\a book - topic 1 mplus runs\regression\random coe
Beginning Time: 14:14:49
Ending Time: 14:36:35
Elapsed Time: 00:21:46
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-2015 Muthen & Muthen
Back to examples