Mplus VERSION 7.4
MUTHEN & MUTHEN
06/02/2016   5:16 PM

INPUT INSTRUCTIONS

  title: Hayes ESTRESS example, cont's X

  data:
      file = estress.txt;

  variable:
      names = tenure estress affect withdraw sex age ese;
      usev = affect estress y;

  define:
      y = log(withdraw);

  analysis:
      estimator = ml;
      bootstrap = 1000;

  model:
      y on affect (beta1)
      estress (beta2);
      [y] (beta0);
      y (v);
      affect on estress (gamma1);
      [affect] (gamma0);
      affect (sig);

  model constraint:
      new(x1 x0
      ey1 ey0 mum1 mum0 ay1 ay0 bym11 bym10 bym01 bym00
      eym11 eym10 eym01 eym00 tnie pnde total pnie beta3);
      beta3 = 0;
      x1=6.04;
      x0=4.62;
      ey1=exp(v/2)*exp(beta0+beta2*x1);
      ey0=exp(v/2)*exp(beta0+beta2*x0);
      mum1=gamma0+gamma1*x1;
      mum0=gamma0+gamma1*x0;
      ay1=sig*(beta1+beta3*x1);
      ay0=sig*(beta1+beta3*x0);
      bym11=(ay1/mum1+1);
      bym10=(ay1/mum0+1);
      bym01=(ay0/mum1+1);
      bym00=(ay0/mum0+1);
      eym11=exp((bym11*bym11-1)*mum1*mum1/(2*sig));
      eym10=exp((bym10*bym10-1)*mum0*mum0/(2*sig));
      eym01=exp((bym01*bym01-1)*mum1*mum1/(2*sig));
      eym00=exp((bym00*bym00-1)*mum0*mum0/(2*sig));
      tnie=ey1*eym11-ey1*eym10;
      pnde=ey1*eym10-ey0*eym00;
      total=ey1*eym11-ey0*eym00;
      pnie=ey0*eym01-ey0*eym00;


  plot:
      type = plot3;

  output:
      sampstat tech1 cinterval(bootstrap);




INPUT READING TERMINATED NORMALLY



Hayes ESTRESS example, cont's X

SUMMARY OF ANALYSIS

Number of groups                                                 1
Number of observations                                         262

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

Observed dependent variables

  Continuous
   AFFECT      Y

Observed independent variables
   ESTRESS


Estimator                                                       ML
Information matrix                                        OBSERVED
Maximum number of iterations                                  1000
Convergence criterion                                    0.500D-04
Maximum number of steepest descent iterations                   20
Number of bootstrap draws
    Requested                                                 1000
    Completed                                                 1000

Input data file(s)
  estress.txt

Input data format  FREE


SAMPLE STATISTICS


     SAMPLE STATISTICS


           Means
              AFFECT        Y             ESTRESS
              ________      ________      ________
      1         1.598         0.694         4.620


           Covariances
              AFFECT        Y             ESTRESS
              ________      ________      ________
 AFFECT         0.522
 Y              0.157         0.305
 ESTRESS        0.349         0.059         2.019


           Correlations
              AFFECT        Y             ESTRESS
              ________      ________      ________
 AFFECT         1.000
 Y              0.394         1.000
 ESTRESS        0.340         0.075         1.000


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

     AFFECT                1.598       1.985       1.000   24.81%       1.000      1.160      1.330
             262.000       0.522       4.631       5.000    0.76%       1.500      2.000
     Y                     0.694       0.016       0.000   29.77%       0.000      0.507      0.693
             262.000       0.305      -1.346       1.946    0.38%       0.846      1.297
     ESTRESS               4.620      -0.271       1.000    1.91%       3.500      4.000      4.500
             262.000       2.019      -0.466       7.000    6.87%       5.000      6.000


THE MODEL ESTIMATION TERMINATED NORMALLY



MODEL FIT INFORMATION

Number of Free Parameters                        7

Loglikelihood

          H0 Value                        -463.828
          H1 Value                        -463.828

Information Criteria

          Akaike (AIC)                     941.655
          Bayesian (BIC)                   966.633
          Sample-Size Adjusted BIC         944.440
            (n* = (n + 2) / 24)

Chi-Square Test of Model Fit

          Value                              0.000
          Degrees of Freedom                     0
          P-Value                           0.0000

RMSEA (Root Mean Square Error Of Approximation)

          Estimate                           0.000
          90 Percent C.I.                    0.000  0.000
          Probability RMSEA <= .05           0.000

CFI/TLI

          CFI                                1.000
          TLI                                1.000

Chi-Square Test of Model Fit for the Baseline Model

          Value                             77.541
          Degrees of Freedom                     3
          P-Value                           0.0000

SRMR (Standardized Root Mean Square Residual)

          Value                              0.000



MODEL RESULTS

                                                    Two-Tailed
                    Estimate       S.E.  Est./S.E.    P-Value

 Y        ON
    AFFECT             0.318      0.052      6.091      0.000
    ESTRESS           -0.026      0.024     -1.081      0.280

 AFFECT   ON
    ESTRESS            0.173      0.040      4.290      0.000

 Intercepts
    AFFECT             0.799      0.184      4.334      0.000
    Y                  0.305      0.115      2.641      0.008

 Residual Variances
    AFFECT             0.461      0.086      5.371      0.000
    Y                  0.256      0.014     18.347      0.000

New/Additional Parameters
    X1                 6.040      0.000  *********      0.000
    X0                 4.620      0.000      0.000      1.000
    EY1                1.319      0.142      9.320      0.000
    EY0                1.369      0.124     11.069      0.000
    MUM1               1.844      0.077     23.932      0.000
    MUM0               1.598      0.043     36.797      0.000
    AY1                0.147      0.029      5.123      0.000
    AY0                0.147      0.029      5.123      0.000
    BYM11              1.080      0.016     67.413      0.000
    BYM10              1.092      0.017     64.562      0.000
    BYM01              1.080      0.016     67.413      0.000
    BYM00              1.092      0.017     64.562      0.000
    EYM11              1.840      0.181     10.181      0.000
    EYM10              1.702      0.148     11.489      0.000
    EYM01              1.840      0.181     10.181      0.000
    EYM00              1.702      0.148     11.489      0.000
    TNIE               0.182      0.048      3.784      0.000
    PNDE              -0.084      0.076     -1.096      0.273
    TOTAL              0.099      0.087      1.135      0.257
    PNIE               0.189      0.051      3.693      0.000
    BETA3              0.000      0.000      0.000      1.000


CONFIDENCE INTERVALS OF MODEL RESULTS

                  Lower .5%  Lower 2.5%    Lower 5%    Estimate    Upper 5%  Upper 2.5%   Upper .5%

 Y        ON
    AFFECT           0.196       0.220       0.236       0.318       0.408       0.433       0.474
    ESTRESS         -0.088      -0.073      -0.066      -0.026       0.014       0.020       0.034

 AFFECT   ON
    ESTRESS          0.054       0.094       0.105       0.173       0.237       0.251       0.273

 Intercepts
    AFFECT           0.320       0.448       0.504       0.799       1.103       1.180       1.325
    Y                0.024       0.072       0.109       0.305       0.501       0.535       0.604

 Residual Variances
    AFFECT           0.267       0.302       0.324       0.461       0.614       0.648       0.700
    Y                0.214       0.226       0.231       0.256       0.276       0.282       0.288

New/Additional Parameters
    X1               6.040       6.040       6.040       6.040       6.040       6.040       6.040
    X0               4.620       4.620       4.620       4.620       4.620       4.620       4.620
    EY1              0.993       1.052       1.096       1.319       1.577       1.629       1.730
    EY0              1.067       1.128       1.170       1.369       1.578       1.626       1.684
    MUM1             1.637       1.689       1.717       1.844       1.973       1.994       2.029
    MUM0             1.483       1.513       1.529       1.598       1.667       1.687       1.723
    AY1              0.075       0.091       0.100       0.147       0.195       0.204       0.226
    AY0              0.075       0.091       0.100       0.147       0.195       0.204       0.226
    BYM11            1.041       1.050       1.054       1.080       1.107       1.112       1.123
    BYM10            1.048       1.058       1.064       1.092       1.119       1.125       1.135
    BYM01            1.041       1.050       1.054       1.080       1.107       1.112       1.123
    BYM00            1.048       1.058       1.064       1.092       1.119       1.125       1.135
    EYM11            1.456       1.534       1.579       1.840       2.168       2.251       2.415
    EYM10            1.378       1.438       1.483       1.702       1.970       2.032       2.148
    EYM01            1.456       1.534       1.579       1.840       2.168       2.251       2.415
    EYM00            1.378       1.438       1.483       1.702       1.970       2.032       2.148
    TNIE             0.055       0.098       0.108       0.182       0.267       0.284       0.312
    PNDE            -0.278      -0.236      -0.209      -0.084       0.044       0.066       0.118
    TOTAL           -0.126      -0.072      -0.045       0.099       0.243       0.269       0.331
    PNIE             0.058       0.102       0.113       0.189       0.279       0.301       0.329
    BETA3            0.000       0.000       0.000       0.000       0.000       0.000       0.000


TECHNICAL 1 OUTPUT


     PARAMETER SPECIFICATION


           NU
              AFFECT        Y             ESTRESS
              ________      ________      ________
      1           0             0             0


           LAMBDA
              AFFECT        Y             ESTRESS
              ________      ________      ________
 AFFECT             0             0             0
 Y                  0             0             0
 ESTRESS            0             0             0


           THETA
              AFFECT        Y             ESTRESS
              ________      ________      ________
 AFFECT             0
 Y                  0             0
 ESTRESS            0             0             0


           ALPHA
              AFFECT        Y             ESTRESS
              ________      ________      ________
      1           1             2             0


           BETA
              AFFECT        Y             ESTRESS
              ________      ________      ________
 AFFECT             0             0             3
 Y                  4             0             5
 ESTRESS            0             0             0


           PSI
              AFFECT        Y             ESTRESS
              ________      ________      ________
 AFFECT             6
 Y                  0             7
 ESTRESS            0             0             0


     PARAMETER SPECIFICATION FOR THE ADDITIONAL PARAMETERS


           New/Additional Parameters
              X1            X0            EY1           EY0           MUM1
              ________      ________      ________      ________      ________
 1                  8             9            10            11            12


           New/Additional Parameters
              MUM0          AY1           AY0           BYM11         BYM10
              ________      ________      ________      ________      ________
 1                 13            14            15            16            17


           New/Additional Parameters
              BYM01         BYM00         EYM11         EYM10         EYM01
              ________      ________      ________      ________      ________
 1                 18            19            20            21            22


           New/Additional Parameters
              EYM00         TNIE          PNDE          TOTAL         PNIE
              ________      ________      ________      ________      ________
 1                 23            24            25            26            27


           New/Additional Parameters
              BETA3
              ________
 1                 28


     STARTING VALUES


           NU
              AFFECT        Y             ESTRESS
              ________      ________      ________
      1         0.000         0.000         0.000


           LAMBDA
              AFFECT        Y             ESTRESS
              ________      ________      ________
 AFFECT         1.000         0.000         0.000
 Y              0.000         1.000         0.000
 ESTRESS        0.000         0.000         1.000


           THETA
              AFFECT        Y             ESTRESS
              ________      ________      ________
 AFFECT         0.000
 Y              0.000         0.000
 ESTRESS        0.000         0.000         0.000


           ALPHA
              AFFECT        Y             ESTRESS
              ________      ________      ________
      1         0.000         0.000         4.620


           BETA
              AFFECT        Y             ESTRESS
              ________      ________      ________
 AFFECT         0.000         0.000         0.000
 Y              0.000         0.000         0.000
 ESTRESS        0.000         0.000         0.000


           PSI
              AFFECT        Y             ESTRESS
              ________      ________      ________
 AFFECT         0.261
 Y              0.000         0.152
 ESTRESS        0.000         0.000         2.019


     STARTING VALUES FOR THE ADDITIONAL PARAMETERS


           New/Additional Parameters
              X1            X0            EY1           EY0           MUM1
              ________      ________      ________      ________      ________
 1              0.500         0.500         0.500         0.500         0.500


           New/Additional Parameters
              MUM0          AY1           AY0           BYM11         BYM10
              ________      ________      ________      ________      ________
 1              0.500         0.500         0.500         0.500         0.500


           New/Additional Parameters
              BYM01         BYM00         EYM11         EYM10         EYM01
              ________      ________      ________      ________      ________
 1              0.500         0.500         0.500         0.500         0.500


           New/Additional Parameters
              EYM00         TNIE          PNDE          TOTAL         PNIE
              ________      ________      ________      ________      ________
 1              0.500         0.500         0.500         0.500         0.500


           New/Additional Parameters
              BETA3
              ________
 1              0.500


PLOT INFORMATION

The following plots are available:

  Histograms (sample values, estimated values, residuals)
  Scatterplots (sample values, estimated values, residuals)
  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\gryphon\desktop\chapter8\ex8.17.dgm

     Beginning Time:  17:16:25
        Ending Time:  17:16:28
       Elapsed Time:  00:00:03



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