Appendix D
SPSS Syntax and Output for the Reported Analyses
All analyses were run in IBM SPSS Statistics (Version 31.0.1.0), with the PROCESS macro (Version 4.2; Hayes, 2017) for the mediation models. Each section gives the syntax that was run and the output it produced. PROCESS output is reproduced verbatim; the regression tables are transcribed from the SPSS output file, with values shown at the precision SPSS displayed them.
Variables: c_discom = discomfort (1–4, higher = more discomfort); c_expect = perceived unexpectedness (1–5, higher = more unexpected); c_oddity = oddity (0 = absent, 1 = present); c_noise = activity level (0 = low, 1 = high); c_oddnse = c_oddity × c_noise.
- D1. Multiple regression of discomfort on oddity, activity level and their interaction (H1 and H2)
- D2. Mediation of oddity on discomfort by perceived unexpectedness, rating level (H3)
- D3. Mediation re-estimated on participant × condition means (sensitivity analysis)
D1. Multiple Regression (H1 and H2)
N = 2,688 ratings. Ordinary least squares standard errors.
Syntax
REGRESSION
/DESCRIPTIVES MEAN STDDEV CORR SIG N
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA COLLIN TOL CHANGE ZPP
/CRITERIA=PIN(.05) POUT(.10) TOLERANCE(.0001)
/NOORIGIN
/DEPENDENT c_discom
/METHOD=ENTER c_oddity c_noise c_oddnse
/SCATTERPLOT=(*ZRESID ,*ZPRED)
/RESIDUALS DURBIN HISTOGRAM(ZRESID) NORMPROB(ZRESID)
/CASEWISE PLOT(ZRESID) OUTLIERS(3)
/SAVE MAHAL COOK LEVER.
Output
Model Summary
| Model | R | R Square | Adjusted R Square | Std. Error of the Estimate | Change Statistics | Durbin-Watson | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| R Square Change | F Change | df1 | df2 | Sig. F Change | ||||||
| 1 | .381 | .145 | .144 | .997 | .145 | 151.757 | 3 | 2684 | <.001 | 1.678 |
a. Predictors: (Constant), c_oddnse, c_noise, c_oddity
b. Dependent Variable: c_discom
ANOVA
| Model | Sum of Squares | df | Mean Square | F | Sig. | |
|---|---|---|---|---|---|---|
| 1 | Regression | 452.965 | 3 | 150.988 | 151.757 | <.001 |
| Residual | 2670.406 | 2684 | .995 | |||
| Total | 3123.372 | 2687 |
a. Dependent Variable: c_discom
b. Predictors: (Constant), c_oddnse, c_noise, c_oddity
Coefficients
| Model | Unstandardized Coefficients | Standardized Coefficients | t | Sig. | 95.0% Confidence Interval for B | Correlations | Collinearity Statistics | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| B | Std. Error | Beta | Lower Bound | Upper Bound | Zero-order | Partial | Part | Tolerance | VIF | ||||
| 1 | (Constant) | 1.475 | .038 | 38.326 | <.001 | 1.399 | 1.550 | ||||||
| c_oddity | .690 | .054 | .320 | 12.689 | <.001 | .584 | .797 | .358 | .238 | .226 | .500 | 2.000 | |
| c_noise | .188 | .054 | .087 | 3.446 | .001 | .081 | .294 | .125 | .066 | .061 | .500 | 2.000 | |
| c_oddnse | .162 | .077 | .065 | 2.108 | .035 | .011 | .313 | .300 | .041 | .038 | .333 | 3.000 | |
a. Dependent Variable: c_discom
Collinearity Diagnostics
| Model | Dimension | Eigenvalue | Condition Index | Variance Proportions | |||
|---|---|---|---|---|---|---|---|
| (Constant) | c_oddity | c_noise | c_oddnse | ||||
| 1 | 1 | 2.914 | 1.000 | .02 | .02 | .02 | .02 |
| 2 | .500 | 2.414 | .00 | .25 | .25 | .00 | |
| 3 | .500 | 2.414 | .25 | .00 | .00 | .25 | |
| 4 | .086 | 5.828 | .73 | .73 | .73 | .73 | |
a. Dependent Variable: c_discom
Residuals Statistics
| Minimum | Maximum | Mean | Std. Deviation | N | |
|---|---|---|---|---|---|
| Predicted Value | 1.47 | 2.51 | 1.95 | .411 | 2688 |
| Std. Predicted Value | −1.168 | 1.365 | .000 | 1.000 | 2688 |
| Standard Error of Predicted Value | .038 | .038 | .038 | .000 | 2688 |
| Adjusted Predicted Value | 1.47 | 2.52 | 1.95 | .411 | 2688 |
| Residual | −1.515 | 2.525 | .000 | .997 | 2688 |
| Std. Residual | −1.519 | 2.532 | .000 | .999 | 2688 |
| Stud. Residual | −1.520 | 2.534 | .000 | 1.000 | 2688 |
| Deleted Residual | −1.517 | 2.529 | .000 | .998 | 2688 |
| Stud. Deleted Residual | −1.520 | 2.536 | .000 | 1.000 | 2688 |
| Mahal. Distance | 2.999 | 2.999 | 2.999 | .000 | 2688 |
| Cook's Distance | .000 | .002 | .000 | .000 | 2688 |
| Centered Leverage Value | .001 | .001 | .001 | .000 | 2688 |
a. Dependent Variable: c_discom
No Casewise Diagnostics table was produced: no case had a standardised residual beyond ±3. The residual histogram, normal P–P plot and residual-by-predicted scatterplot requested above are not reproduced here.
D2. Mediation Analysis (H3)
N = 2,688 ratings. PROCESS Model 4 with activity level as a covariate, HC4 standard errors, 10,000 bootstrap samples and a fixed random seed (20260727), so the bootstrap interval for the indirect effect can be reproduced exactly.
Syntax
PROCESS
y=c_discom
/x=c_oddity
/m=c_expect
/cov=c_noise
/model=4
/boot=10000
/conf=95
/hc=4
/effsize=1
/stand=1
/total=1
/seed=20260727.
Output
Run MATRIX procedure:
***************** PROCESS Procedure for SPSS Version 4.2 *****************
Written by Andrew F. Hayes, Ph.D. www.afhayes.com
Documentation available in Hayes (2022). www.guilford.com/p/hayes3
**************************************************************************
Model : 4
Y : c_discom
X : c_oddity
M : c_expect
Covariates:
c_noise
Sample
Size: 2688
Custom
Seed: 20260727
**************************************************************************
OUTCOME VARIABLE:
c_expect
Model Summary
R R-sq MSE F(HC4) df1 df2 p
.8328 .6935 .8801 3045.8223 2.0000 2685.0000 .0000
Model
coeff se(HC4) t p LLCI ULCI
constant 1.4594 .0305 47.8442 .0000 1.3996 1.5193
c_oddity 2.8207 .0362 77.9417 .0000 2.7497 2.8916
c_noise .0067 .0362 .1850 .8532 -.0643 .0777
Standardized coefficients
coeff
c_oddity 1.6652
c_noise .0020
**************************************************************************
OUTCOME VARIABLE:
c_discom
Model Summary
R R-sq MSE F(HC4) df1 df2 p
.5216 .2721 .8471 315.1988 3.0000 2684.0000 .0000
Model
coeff se(HC4) t p LLCI ULCI
constant .8328 .0361 23.0845 .0000 .7621 .9036
c_oddity -.3906 .0612 -6.3821 .0000 -.5106 -.2706
c_expect .4120 .0188 21.8756 .0000 .3751 .4490
c_noise .2658 .0355 7.4853 .0000 .1962 .3355
Standardized coefficients
coeff
c_oddity -.3623
c_expect .6473
c_noise .1233
************************** TOTAL EFFECT MODEL ****************************
OUTCOME VARIABLE:
c_discom
Model Summary
R R-sq MSE F(HC4) df1 df2 p
.3790 .1436 .9962 225.1029 2.0000 2685.0000 .0000
Model
coeff se(HC4) t p LLCI ULCI
constant 1.4342 .0298 48.1297 .0000 1.3757 1.4926
c_oddity .7716 .0385 20.0396 .0000 .6961 .8471
c_noise .2686 .0385 6.9762 .0000 .1931 .3441
Standardized coefficients
coeff
c_oddity .7157
c_noise .1246
************** TOTAL, DIRECT, AND INDIRECT EFFECTS OF X ON Y **************
Total effect of X on Y
Effect se(HC4) t p LLCI ULCI c_ps
.7716 .0385 20.0396 .0000 .6961 .8471 .7157
Direct effect of X on Y
Effect se(HC4) t p LLCI ULCI c'_ps
-.3906 .0612 -6.3821 .0000 -.5106 -.2706 -.3623
Indirect effect(s) of X on Y:
Effect BootSE BootLLCI BootULCI
c_expect 1.1622 .0560 1.0524 1.2750
Partially standardized indirect effect(s) of X on Y:
Effect BootSE BootLLCI BootULCI
c_expect 1.0780 .0488 .9837 1.1751
*********************** ANALYSIS NOTES AND ERRORS ************************
Level of confidence for all confidence intervals in output:
95.0000
Number of bootstrap samples for percentile bootstrap confidence intervals:
10000
NOTE: Standardized coefficients for dichotomous or multicategorical X are in
partially standardized form.
NOTE: A heteroscedasticity consistent standard error and covariance matrix estimator was used.
------ END MATRIX -----
D3. Sensitivity to the Unit of Analysis
N = 336 participant × condition means, each the mean of the eight ratings one participant gave in one condition. The model is otherwise identical to C2, including the fixed random seed (20260727), so the bootstrap interval for the indirect effect can be reproduced exactly.
Syntax
PROCESS
y=c_discom
/x=c_oddity
/m=c_expect
/cov=c_noise
/model=4
/boot=10000
/conf=95
/hc=4
/effsize=1
/stand=1
/total=1
/seed=20260727.
Output
Run MATRIX procedure:
***************** PROCESS Procedure for SPSS Version 4.2 *****************
Written by Andrew F. Hayes, Ph.D. www.afhayes.com
Documentation available in Hayes (2022). www.guilford.com/p/hayes3
**************************************************************************
Model : 4
Y : c_discom
X : c_oddity
M : c_expect
Covariates:
c_noise
Sample
Size: 336
Custom
Seed: 20260727
**************************************************************************
OUTCOME VARIABLE:
c_expect
Model Summary
R R-sq MSE F(HC4) df1 df2 p
.9404 .8844 .2624 1285.0705 2.0000 333.0000 .0000
Model
coeff se(HC4) t p LLCI ULCI
constant 1.4594 .0472 30.9093 .0000 1.3666 1.5523
c_oddity 2.8207 .0559 50.4696 .0000 2.7107 2.9306
c_noise .0067 .0559 .1198 .9047 -.1032 .1166
Standardized coefficients
coeff
c_oddity 1.8780
c_noise .0022
**************************************************************************
OUTCOME VARIABLE:
c_discom
Model Summary
R R-sq MSE F(HC4) df1 df2 p
.6414 .4114 .2952 79.4587 3.0000 332.0000 .0000
Model
coeff se(HC4) t p LLCI ULCI
constant .8836 .0895 9.8729 .0000 .7076 1.0597
c_oddity -.2924 .1652 -1.7705 .0776 -.6173 .0325
c_expect .3772 .0564 6.6931 .0000 .2663 .4881
c_noise .2661 .0593 4.4839 .0000 .1493 .3828
Standardized coefficients
coeff
c_oddity -.4148
c_expect .8036
c_noise .1890
************************** TOTAL EFFECT MODEL ****************************
OUTCOME VARIABLE:
c_discom
Model Summary
R R-sq MSE F(HC4) df1 df2 p
.5803 .3367 .3316 91.1477 2.0000 333.0000 .0000
Model
coeff se(HC4) t p LLCI ULCI
constant 1.4342 .0443 32.3440 .0000 1.3469 1.5214
c_oddity .7716 .0628 12.2799 .0000 .6480 .8952
c_noise .2686 .0628 4.2749 .0000 .1450 .3922
Standardized coefficients
coeff
c_oddity 1.0944
c_noise .1908
************** TOTAL, DIRECT, AND INDIRECT EFFECTS OF X ON Y **************
Total effect of X on Y
Effect se(HC4) t p LLCI ULCI c_ps
.7716 .0628 12.2799 .0000 .6480 .8952 1.0944
Direct effect of X on Y
Effect se(HC4) t p LLCI ULCI c'_ps
-.2924 .1652 -1.7705 .0776 -.6173 .0325 -.4148
Indirect effect(s) of X on Y:
Effect BootSE BootLLCI BootULCI
c_expect 1.0640 .1575 .7533 1.3734
Partially standardized indirect effect(s) of X on Y:
Effect BootSE BootLLCI BootULCI
c_expect 1.5092 .2106 1.0892 1.9198
*********************** ANALYSIS NOTES AND ERRORS ************************
Level of confidence for all confidence intervals in output:
95.0000
Number of bootstrap samples for percentile bootstrap confidence intervals:
10000
NOTE: Standardized coefficients for dichotomous or multicategorical X are in
partially standardized form.
NOTE: A heteroscedasticity consistent standard error and covariance matrix estimator was used.
------ END MATRIX -----