Page 1 of 14

COMMENT This is the syntax for Chapter 12 Research Question Data

COMMENT This tests the grapes consumed hypotheses

GLM Rel_distance Work_distance Future_distance BY Therapy

/WSFACTOR=stress 3 Polynomial

/METHOD=SSTYPE(3)

/EMMEANS=TABLES(OVERALL)

/EMMEANS=TABLES(Therapy) COMPARE ADJ(BONFERRONI)

/EMMEANS=TABLES(stress) COMPARE ADJ(BONFERRONI)

/EMMEANS=TABLES(Therapy*stress)

/PRINT=DESCRIPTIVE ETASQ

/CRITERIA=ALPHA(.05)

/WSDESIGN=stress

/DESIGN=Therapy.

General Linear Model

[DataSet3] C:\Users\dstrohme\Dropbox\Textbook - Files\xx - Instructor Manual\

Chapter 12\_12_Statistics_from_Chapter\12_12_ChapterRQ_Mixed_ ANOVA_Data.sav

stress

Dependent

Variable

1 Rel_distance

2 Work_distanc

e

3 Future_

distance

Within-Subjects

Factors

Measure:MEASURE_1

Value Label N

Therapy 1.00 Cognitive- Behavioral

32

2.00 Psychodynam

ic

31

Between-Subjects Factors

Page 1

Page 2 of 14

Therapy Mean Std. Deviation N

Rel_distance Cognitive-Behavioral 10.4389 2.86146 32

Psychodynamic 9.0937 2.37580 31

Total 9.7769 2.69903 63

Work_distance Cognitive-Behavioral 9.1469 2.94507 32

Psychodynamic 9.2899 3.15821 31

Total 9.2172 3.02790 63

Future_distance Cognitive-Behavioral 9.4320 3.34082 32

Psychodynamic 8.8943 2.85553 31

Total 9.1674 3.09830 63

Descriptive Statistics

Effect Value F Hypothesis df Error df

stress Pillai's Trace .039 a 1.230 2.000 60.000

Wilks' Lambda .961 a 1.230 2.000 60.000

Hotelling's Trace .041 a 1.230 2.000 60.000

Roy's Largest Root .041 a 1.230 2.000 60.000

stress * Therapy Pillai's Trace .054 a 1.698 2.000 60.000

Wilks' Lambda .946 a 1.698 2.000 60.000

Hotelling's Trace .057 a 1.698 2.000 60.000

Roy's Largest Root .057 a 1.698 2.000 60.000

Multivariate b

Tests

Partial Eta

Effect Sig. Squared

stress Pillai's Trace .300 .039

Wilks' Lambda .300 .039

Hotelling's Trace .300 .039

Roy's Largest Root .300 .039

stress * Therapy Pillai's Trace .192 .054

Wilks' Lambda .192 .054

Hotelling's Trace .192 .054

Roy's Largest Root .192 .054

Multivariate b

Tests

a. Exact statistic

b. Design: Intercept + Therapy

Within Subjects Design: stress

Page 2

Page 3 of 14

Approx. Chi- Within Subjects Effect Mauchly's W Square df Sig.

stress .987 .802 2 .670

Mauchly's Test of b

Sphericity

Measure:MEASURE_1

a Epsilon

Greenhouse- Within Subjects Effect Geisser Huynh-Feldt Lower-bound

stress .987 1.000 .500

Mauchly's Test of b

Sphericity

Measure:MEASURE_1

Tests the null hypothesis that the error covariance matrix of the orthonormalized transformed dependent

variables is proportional to an identity matrix.

a. May be used to adjust the degrees of freedom for the averaged tests of significance. Corrected tests are

displayed in the Tests of Within-Subjects Effects table.

b. Design: Intercept + Therapy

Within Subjects Design: stress

Source

Type III Sum

of Squares df Mean Square F

stress Sphericity Assumed 14.003 2 7.001 1.384

Greenhouse-Geisser 14.003 1.974 7.094 1.384

Huynh-Feldt 14.003 2.000 7.001 1.384

Lower-bound 14.003 1.000 14.003 1.384

stress * Therapy Sphericity Assumed 17.479 2 8.740 1.728

Greenhouse-Geisser 17.479 1.974 8.856 1.728

Huynh-Feldt 17.479 2.000 8.740 1.728

Lower-bound 17.479 1.000 17.479 1.728

Error(stress) Sphericity Assumed 616.998 122 5.057

Greenhouse-Geisser 616.998 120.402 5.124

Huynh-Feldt 616.998 122.000 5.057

Lower-bound 616.998 61.000 10.115

Tests of Within-Subjects Effects

Measure:MEASURE_1

Page 3

Page 4 of 14

Partial Eta

Source Sig. Squared

stress Sphericity Assumed .254 .022

Greenhouse-Geisser .254 .022

Huynh-Feldt .254 .022

Lower-bound .244 .022

stress * Therapy Sphericity Assumed .182 .028

Greenhouse-Geisser .182 .028

Huynh-Feldt .182 .028

Lower-bound .194 .028

Tests of Within-Subjects Effects

Measure:MEASURE_1

Source stress

Type III Sum

of Squares df Mean Square F

stress Linear 11.455 1 11.455 2.062

Quadratic 2.548 1 2.548 .559

stress * Therapy Linear 5.134 1 5.134 .924

Quadratic 12.345 1 12.345 2.707

Error(stress) Linear 338.799 61 5.554

Quadratic 278.199 61 4.561

Tests of Within-Subjects Contrasts

Measure:MEASURE_1

Source stress Sig.

Partial Eta

Squared

stress Linear .156 .033

Quadratic .458 .009

stress * Therapy Linear .340 .015

Quadratic .105 .042

Tests of Within-Subjects Contrasts

Measure:MEASURE_1

Source

Type III Sum

of Squares df Mean Square F Sig.

Partial Eta

Squared

Intercept 16634.055 1 16634.055 1051.607 .000 .945

Therapy 15.888 1 15.888 1.004 .320 .016

Error 964.883 61 15.818

Tests of Between-Subjects Effects

Measure:MEASURE_1

Transformed Variable:Average

Estimated Marginal Means

Page 4

Page 5 of 14

95% Confidence Interval

Mean Std. Error Lower Bound Upper Bound

9.383 .289 8.804 9.961

1. Grand Mean

Measure:MEASURE_1

2. Therapy

95% Confidence Interval

Therapy Mean Std. Error Lower Bound Upper Bound

Cognitive-Behavioral 9.673 .406 8.861 10.484

Psychodynamic 9.093 .412 8.268 9.917

Estimates

Measure:MEASURE_1

Mean

(I) Therapy (J) Therapy

Difference (I- J) Std. Error a Sig.

Cognitive-Behavioral Psychodynamic .580 .579 .320

Psychodynamic Cognitive-Behavioral -.580 .579 .320

Pairwise Comparisons

Measure:MEASURE_1

95% Confidence Interval for a Difference

(I) Therapy (J) Therapy Lower Bound Upper Bound

Cognitive-Behavioral Psychodynamic -.577 1.737

Psychodynamic Cognitive-Behavioral -1.737 .577

Pairwise Comparisons

Measure:MEASURE_1

Based on estimated marginal means

a. Adjustment for multiple comparisons: Bonferroni.

Sum of

Squares df Mean Square F Sig.

Partial Eta

Squared

Contrast 5.296 1 5.296 1.004 .320 .016

Error 321.628 61 5.273

Univariate Tests

The F tests the effect of Therapy. This test is based on the linearly independent pairwise

comparisons among the estimated marginal means.

Measure:MEASURE_1

Page 5

Page 6 of 14

3. stress

95% Confidence Interval

stress Mean Std. Error Lower Bound Upper Bound

1 9.766 .332 9.103 10.430

2 9.218 .385 8.449 9.987

3 9.163 .392 8.379 9.947

Estimates

Measure:MEASURE_1

95% Confidence Interval for a Difference

Mean

Difference (I- J) a Sig. (I) stress (J) stress Std. Error Lower Bound Upper Bound

1 2 .548 .401 .532 -.440 1.536

3 .603 .420 .468 -.431 1.637

2 1 -.548 .401 .532 -1.536 .440

3 .055 .380 1.000 -.880 .991

3 1 -.603 .420 .468 -1.637 .431

2 -.055 .380 1.000 -.991 .880

Pairwise Comparisons

Based on estimated marginal means

a. Adjustment for multiple comparisons: Bonferroni.

Measure:MEASURE_1

Partial Eta

Value F Hypothesis df Error df Sig. Squared

Pillai's trace .039 a 1.230 2.000 60.000 .300 .039

Wilks' lambda .961 a 1.230 2.000 60.000 .300 .039

Hotelling's trace .041 a 1.230 2.000 60.000 .300 .039

Roy's largest root .041 a 1.230 2.000 60.000 .300 .039

Multivariate Tests

Each F tests the multivariate effect of stress. These tests are based on the linearly independent

pairwise comparisons among the estimated marginal means.

a. Exact statistic

Page 6

Page 7 of 14

95% Confidence Interval

Therapy stress Mean Std. Error Lower Bound Upper Bound

Cognitive-Behavioral 1 10.439 .466 9.508 11.370

2 9.147 .539 8.068 10.226

3 9.432 .550 8.332 10.532

Psychodynamic 1 9.094 .473 8.148 10.040

2 9.290 .548 8.194 10.386

3 8.894 .559 7.777 10.012

4. Therapy * stress

Measure:MEASURE_1

COMMENT This tests the bowl distance hypotheses

GLM Rel_grapes Work_grapes Future_grapes BY Therapy

/WSFACTOR=stress 3 Polynomial

/METHOD=SSTYPE(3)

/EMMEANS=TABLES(OVERALL)

/EMMEANS=TABLES(Therapy) COMPARE ADJ(BONFERRONI)

/EMMEANS=TABLES(stress) COMPARE ADJ(BONFERRONI)

/EMMEANS=TABLES(Therapy*stress)

/PRINT=DESCRIPTIVE ETASQ

/CRITERIA=ALPHA(.05)

/WSDESIGN=stress

/DESIGN=Therapy.

General Linear Model

[DataSet3] C:\Users\dstrohme\Dropbox\Textbook - Files\xx - Instructor Manual\

Chapter 12\_12_Statistics_from_Chapter\12_12_ChapterRQ_Mixed_ ANOVA_Data.sav

stress

Dependent

Variable

1 Rel_grapes

2 Work_grapes

3 Future_grape

s

Within-Subjects

Factors

Measure:MEASURE_1

Page 7

Page 9 of 14

Partial Eta

Effect Sig. Squared

stress Pillai's Trace .000 .242

Wilks' Lambda .000 .242

Hotelling's Trace .000 .242

Roy's Largest Root .000 .242

stress * Therapy Pillai's Trace .373 .032

Wilks' Lambda .373 .032

Hotelling's Trace .373 .032

Roy's Largest Root .373 .032

Multivariate b

Tests

a. Exact statistic

b. Design: Intercept + Therapy

Within Subjects Design: stress

Approx. Chi- Within Subjects Effect Mauchly's W Square df Sig.

stress .550 35.899 2 .000

Mauchly's Test of b

Sphericity

Measure:MEASURE_1

a Epsilon

Greenhouse- Within Subjects Effect Geisser Huynh-Feldt Lower-bound

stress .690 .712 .500

Mauchly's Test of b

Sphericity

Measure:MEASURE_1

Tests the null hypothesis that the error covariance matrix of the orthonormalized transformed dependent

variables is proportional to an identity matrix.

a. May be used to adjust the degrees of freedom for the averaged tests of significance. Corrected tests are

displayed in the Tests of Within-Subjects Effects table.

b. Design: Intercept + Therapy

Within Subjects Design: stress

Page 9

Page 10 of 14

Source

Type III Sum

of Squares df Mean Square F

stress Sphericity Assumed 458.501 2 229.251 14.621

Greenhouse-Geisser 458.501 1.379 332.474 14.621

Huynh-Feldt 458.501 1.424 322.056 14.621

Lower-bound 458.501 1.000 458.501 14.621

stress * Therapy Sphericity Assumed 36.836 2 18.418 1.175

Greenhouse-Geisser 36.836 1.379 26.711 1.175

Huynh-Feldt 36.836 1.424 25.874 1.175

Lower-bound 36.836 1.000 36.836 1.175

Error(stress) Sphericity Assumed 1912.917 122 15.680

Greenhouse-Geisser 1912.917 84.122 22.740

Huynh-Feldt 1912.917 86.844 22.027

Lower-bound 1912.917 61.000 31.359

Tests of Within-Subjects Effects

Measure:MEASURE_1

Partial Eta

Source Sig. Squared

stress Sphericity Assumed .000 .193

Greenhouse-Geisser .000 .193

Huynh-Feldt .000 .193

Lower-bound .000 .193

stress * Therapy Sphericity Assumed .312 .019

Greenhouse-Geisser .299 .019

Huynh-Feldt .300 .019

Lower-bound .283 .019

Tests of Within-Subjects Effects

Measure:MEASURE_1

Source stress

Type III Sum

of Squares df Mean Square F

stress Linear 312.820 1 312.820 13.910

Quadratic 145.681 1 145.681 16.424

stress * Therapy Linear 18.933 1 18.933 .842

Quadratic 17.903 1 17.903 2.018

Error(stress) Linear 1371.831 61 22.489

Quadratic 541.086 61 8.870

Tests of Within-Subjects Contrasts

Measure:MEASURE_1

Page 10

Page 11 of 14

Source stress Sig.

Partial Eta

Squared

stress Linear .000 .186

Quadratic .000 .212

stress * Therapy Linear .362 .014

Quadratic .161 .032

Tests of Within-Subjects Contrasts

Measure:MEASURE_1

Source

Type III Sum

of Squares df Mean Square F Sig.

Partial Eta

Squared

Intercept 24332.527 1 24332.527 164.377 .000 .729

Therapy 1791.469 1 1791.469 12.102 .001 .166

Error 9029.769 61 148.029

Tests of Between-Subjects Effects

Measure:MEASURE_1

Transformed Variable:Average

Estimated Marginal Means

95% Confidence Interval

Mean Std. Error Lower Bound Upper Bound

11.348 .885 9.578 13.118

1. Grand Mean

Measure:MEASURE_1

2. Therapy

95% Confidence Interval

Therapy Mean Std. Error Lower Bound Upper Bound

Cognitive-Behavioral 14.427 1.242 11.944 16.910

Psychodynamic 8.269 1.262 5.746 10.792

Estimates

Measure:MEASURE_1

Page 11

Page 12 of 14

Mean

Difference (I- a

(I) Therapy (J) Therapy J) Std. Error Sig.

*

1

Cognitive-Behavioral Psychodynamic 6.158 1.770 .001

* Psychodynamic Cognitive-Behavioral -6.158 1.770 .00

Pairwise Comparisons

Measure:MEASURE_1

95% Confidence Interval for a Difference

(I) Therapy (J) Therapy Lower Bound Upper Bound

Cognitive-Behavioral Psychodynamic 2.618 9.698

Psychodynamic Cognitive-Behavioral -9.698 -2.618

Pairwise Comparisons

Measure:MEASURE_1

Based on estimated marginal means

*. The mean difference is significant at the .05 level.

a. Adjustment for multiple comparisons: Bonferroni.

Sum of

Squares df Mean Square F Sig.

Partial Eta

Squared

Contrast 597.156 1 597.156 12.102 .001 .166

Error 3009.923 61 49.343

Univariate Tests

The F tests the effect of Therapy. This test is based on the linearly independent pairwise

comparisons among the estimated marginal means.

Measure:MEASURE_1

3. stress

95% Confidence Interval

stress Mean Std. Error Lower Bound Upper Bound

1 9.151 .930 7.292 11.011

2 12.590 1.002 10.587 14.592

3 12.303 .990 10.323 14.283

Estimates

Measure:MEASURE_1

Page 12

Page 13 of 14

95% Confidence Interval for a Difference

Mean

Difference (I- J) (I) stress

1

(J) stress

2 * -3.439

Std. Error

.781

a Sig.

.000

Lower Bound Upper Bound

-5.362 -1.515

3 * -3.152 .845 .001 -5.232 -1.071

2 1 * 3.439 .781 .000 1.515 5.362

3 .287 .411 1.000 -.726 1.299

3 1 * 3.152 .845 .001 1.071 5.232

2 -.287 .411 1.000 -1.299 .726

Pairwise Comparisons

Based on estimated marginal means

*. The mean difference is significant at the .05 level.

a. Adjustment for multiple comparisons: Bonferroni.

Measure:MEASURE_1

Partial Eta

Value F Hypothesis df Error df Sig. Squared

Pillai's trace .242 a 9.558 2.000 60.000 .000 .242

Wilks' lambda .758 a 9.558 2.000 60.000 .000 .242

Hotelling's trace .319 a 9.558 2.000 60.000 .000 .242

Roy's largest root .319 a 9.558 2.000 60.000 .000 .242

Multivariate Tests

Each F tests the multivariate effect of stress. These tests are based on the linearly independent

pairwise comparisons among the estimated marginal means.

a. Exact statistic

95% Confidence Interval

Therapy stress Mean Std. Error Lower Bound Upper Bound

Cognitive-Behavioral 1 11.625 1.305 9.016 14.234

2 16.104 1.405 13.294 18.914

3 15.552 1.389 12.774 18.330

Psychodynamic 1 6.677 1.325 4.027 9.328

2 9.075 1.428 6.221 11.930

3 9.054 1.411 6.232 11.876

4. Therapy * stress

Measure:MEASURE_1

COMMENT This creates the overall mean for grapes consumed (across all conditi

ons)

COMPUTE x_OverallGrapes = MEAN (Rel_grapes,Work_grapes,Future_grapes) .

Page 13

Page 14 of 14

EXECUTE .

COMMENT This calculates the overall mean for grapes consumed

DESCRIPTIVES

VARIABLES=x_OverallGrapes

/STATISTICS=MEAN STDDEV .

Descriptives

[DataSet3] C:\Users\dstrohme\Dropbox\Textbook - Files\xx - Instructor Manual\

Chapter 12\_12_Statistics_from_Chapter\12_12_ChapterRQ_Mixed_ ANOVA_Data.sav

N Mean Std. Deviation

x_OverallGrapes 63 11.3968 7.62750

Valid N (listwise) 63

Descriptive Statistics

Page 14