```Mplus VERSION 7.4
MUTHEN & MUTHEN
06/03/2016   3:37 PM

INPUT INSTRUCTIONS

title: Hayes PROTEST moderation of X -> M, X->Y
as a 2-group model for X=0/1.
Combined model except beta5=0 and gamma4=0 (no c).

data:
file = protest.txt;

variable:
names = sexism liking respappr protest;
usev = sexism liking respappr protest;

grouping = protest(0=zero 1=one);

model:
liking on respappr sexism;
respappr on sexism;

model zero:
[liking] (k00);
liking on respappr (k01)
sexism (k02);
[respappr] (p00);
respappr on sexism (p01);

model one:
[liking] (k10);
liking on respappr (k11)
sexism (k12);
[respappr] (p10);
respappr on sexism (p11);

model constraint:
new(b1 b2 b4 b6 g0 g1 g2 g3);
b1=k01;
b2=k10-k00;
b4=k11-k01;
b6=k12-k02;
g0=p00;
g1=p10-p00;
g2=p01;
g3=p11-p01;
LOOP(z,4,6,0.1);
PLOT(indirect, direct);
indirect = (b1+b4*1)*(g1+g3*z);
direct = b2+b6*z+b4*(g0+g1*0+g2*z+g3*0*z);

plot:
type = plot3;

output:
sampstat;

Hayes PROTEST moderation of X -> M, X->Y
as a 2-group model for X=0/1.
Combined model except beta5=0 and gamma4=0 (no c).

SUMMARY OF ANALYSIS

Number of groups                                                 2
Number of observations
Group ZERO                                                   41
Group ONE                                                    88
Total sample size                                           129

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

Observed dependent variables

Continuous
LIKING      RESPAPPR

Observed independent variables
SEXISM

Variables with special functions

Grouping variable     PROTEST

Estimator                                                       ML
Information matrix                                        OBSERVED
Maximum number of iterations                                  1000
Convergence criterion                                    0.500D-04
Maximum number of steepest descent iterations                   20

Input data file(s)
protest.txt

Input data format  FREE

SAMPLE STATISTICS

SAMPLE STATISTICS FOR ZERO

Means
LIKING        RESPAPPR      SEXISM
________      ________      ________
1         5.310         3.884         5.071

Covariances
LIKING        RESPAPPR      SEXISM
________      ________      ________
LIKING         1.653
RESPAPPR       0.722         2.070
SEXISM        -0.271        -0.304         0.574

Correlations
LIKING        RESPAPPR      SEXISM
________      ________      ________
LIKING         1.000
RESPAPPR       0.390         1.000
SEXISM        -0.278        -0.279         1.000

SAMPLE STATISTICS FOR ONE

Means
LIKING        RESPAPPR      SEXISM
________      ________      ________
1         5.789         5.324         5.138

Covariances
LIKING        RESPAPPR      SEXISM
________      ________      ________
LIKING         0.760
RESPAPPR       0.462         1.020
SEXISM         0.226         0.175         0.625

Correlations
LIKING        RESPAPPR      SEXISM
________      ________      ________
LIKING         1.000
RESPAPPR       0.525         1.000
SEXISM         0.327         0.220         1.000

UNIVARIATE SAMPLE STATISTICS

UNIVARIATE HIGHER-ORDER MOMENT DESCRIPTIVE STATISTICS FOR ZERO

Variable/         Mean/     Skewness/   Minimum/ % with                Percentiles
Sample Size      Variance    Kurtosis    Maximum  Min/Max      20%/60%    40%/80%    Median

LIKING                5.310      -1.257       1.000    2.44%       4.500      5.160      5.330
41.000       1.653       2.007       7.000    7.32%       5.830      6.500
RESPAPPR              3.884      -0.056       1.500    4.88%       2.500      3.250      4.000
41.000       2.070      -1.273       6.250    2.44%       4.500      5.250
SEXISM                5.071       0.472       4.000    4.88%       4.250      4.750      5.000
41.000       0.574      -0.843       6.620    2.44%       5.120      5.750

UNIVARIATE HIGHER-ORDER MOMENT DESCRIPTIVE STATISTICS FOR ONE

Variable/         Mean/     Skewness/   Minimum/ % with                Percentiles
Sample Size      Variance    Kurtosis    Maximum  Min/Max      20%/60%    40%/80%    Median

LIKING                5.789      -0.438       3.660    1.14%       5.000      5.660      5.830
88.000       0.760      -0.690       7.000   10.23%       6.160      6.500
RESPAPPR              5.324      -0.811       1.750    1.14%       4.500      5.250      5.500
88.000       1.020       0.922       7.000    3.41%       5.750      6.250
SEXISM                5.138      -0.034       2.870    1.14%       4.500      4.870      5.120
88.000       0.625      -0.007       7.000    2.27%       5.370      5.750

THE MODEL ESTIMATION TERMINATED NORMALLY

MODEL FIT INFORMATION

Number of Free Parameters                       14

Loglikelihood

H0 Value                        -354.955
H1 Value                        -354.955

Information Criteria

Akaike (AIC)                     737.910
Bayesian (BIC)                   777.947
(n* = (n + 2) / 24)

Chi-Square Test of Model Fit

Value                              0.000
Degrees of Freedom                     0
P-Value                           0.0000

Chi-Square Contribution From Each Group

ZERO                               0.000
ONE                                0.000

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                             50.286
Degrees of Freedom                     6
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

Group ZERO

LIKING   ON
RESPAPPR           0.303      0.131      2.309      0.021
SEXISM            -0.312      0.249     -1.252      0.210

RESPAPPR ON
SEXISM            -0.529      0.285     -1.858      0.063

Intercepts
LIKING             5.716      1.500      3.811      0.000
RESPAPPR           6.567      1.460      4.497      0.000

Residual Variances
LIKING             1.349      0.298      4.527      0.000
RESPAPPR           1.910      0.422      4.528      0.000

Group ONE

LIKING   ON
RESPAPPR           0.411      0.078      5.293      0.000
SEXISM             0.246      0.099      2.476      0.013

RESPAPPR ON
SEXISM             0.281      0.133      2.114      0.035

Intercepts
LIKING             2.340      0.586      3.991      0.000
RESPAPPR           3.880      0.691      5.616      0.000

Residual Variances
LIKING             0.515      0.078      6.633      0.000
RESPAPPR           0.971      0.146      6.633      0.000

B1                 0.303      0.131      2.309      0.021
B2                -3.376      1.611     -2.096      0.036
B4                 0.108      0.153      0.706      0.480
B6                 0.558      0.268      2.079      0.038
G0                 6.567      1.460      4.497      0.000
G1                -2.687      1.616     -1.663      0.096
G2                -0.529      0.285     -1.858      0.063
G3                 0.810      0.314      2.577      0.010

QUALITY OF NUMERICAL RESULTS

Condition Number for the Information Matrix              0.102E-03
(ratio of smallest to largest eigenvalue)

PLOT INFORMATION

The following plots are available:

Histograms (sample values, estimated values, residuals)
Scatterplots (sample values, estimated values, residuals)
Loop plots

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\chapter3\ex3.30.dgm

Beginning Time:  15:37:01
Ending Time:  15:37:01
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-2015 Muthen & Muthen

```