You are on page 1of 15

NAME: CHRISTIAN JOHN A.

SALUDAR
FINAL ASSESSMENT #3

INSTRUCTIONS: Answer the following problem. Late submission of the answers will
mean deduction of points.

Problem Statement. The effective life (in hours) of batteries is compared by material type
(1, 2 or 3) and operating temperature: Low (-10˚C), Medium (20˚C) or High (45˚C).
Twelve batteries are randomly selected from each material type and are then randomly
allocated to each temperature level. The resultinlife of all 36 batteries is shown below:

Research question: Is there difference in mean life of the batteries for differing material
type and operating temperature levels?

Formulating our Hypothesis:

Ho: There is no significant difference in mean battery life of batteries when grouped
according to operating temperature
Ha: There is a significant difference in mean battery life of batteries when grouped
according to operating temperature

Ho: There is no significant difference in mean battery life of batteries when grouped
according to material type
Ha: There is a significant difference in mean battery life of batteries when grouped
according to material type

Ho: There is no significant difference in mean battery life for group combinations of
material type and temperature level
Ha: There is a significant difference in mean battery life for group combinations of material
type and temperature level
OUTPUT:
Between-Subjects Factors
Value Label N
MaterialType 1 12
2 12
3 12
Temperature 1 Low(-10C) 12
2 Medium(20C) 12
3 High(45C) 12

Descriptive Statistics
Dependent Variable: EffectiveLife
MaterialType Temperature Mean Std. Deviation N
1 Low(-10C) 134.75 45.35 4.00
Medium(20C) 57.25 23.60 4.00
High(45C) 57.50 26.85 4.00
Total 83.17 48.59 12.00
2 Low(-10C) 155.75 25.62 4.00
Medium(20C) 119.75 12.66 4.00
High(45C) 49.50 19.26 4.00
Total 108.33 49.47 12.00
3 Low(-10C) 144.00 25.97 4.00
Medium(20C) 145.75 22.54 4.00
High(45C) 85.50 19.28 4.00
Total 125.08 35.77 12.00
Total Low(-10C) 144.83 31.69 12.00
Medium(20C) 107.58 42.88 12.00
High(45C) 64.17 25.67 12.00
Total 105.53 47.10 36.00
Tests of Between-Subjects Effects
Dependent Variable: EffectiveLife
Type III Sum of Partial Eta
Source Squares df Mean Square F Sig. Squared
Corrected Model 59416.22a 8.00 7427.03 11.00 9.43E-7 .77
Intercept 400900.03 1.00 400900.03 593.74 6.46E-20 .96
MaterialType 10683.72 2.00 5341.86 7.91 .00 .37
Temperature 39118.72 2.00 19559.36 28.97 1.91E-7 .68
MaterialType * Temperature 9613.78 4.00 2403.44 3.56 .02 .35
Error 18230.75 27.00 675.21
Total 478547.00 36.00
Corrected Total 77646.97 35.00
a. R Squared = .765 (Adjusted R Squared = .696)

Multiple Comparisons
Dependent Variable: EffectiveLife
LSD
Mean Difference 95% Confidence Interval
(I) MaterialType (J) MaterialType (I-J) Std. Error Sig. Lower Bound Upper Bound
1 2 -25.17* 10.61 .03 -46.93 -3.40
3 -41.92* 10.61 .00 -63.68 -20.15
2 1 25.17* 10.61 .03 3.40 46.93
3 -16.75 10.61 .13 -38.52 5.02
3 1 41.92* 10.61 .00 20.15 63.68
2 16.75 10.61 .13 -5.02 38.52
Based on observed means.
The error term is Mean Square(Error) = 675.213.
*. The mean difference is significant at the .05 level.

Multiple Comparisons
Dependent Variable: EffectiveLife
LSD
Mean Difference 95% Confidence Interval
(I) Temperature (J) Temperature (I-J) Std. Error Sig. Lower Bound Upper Bound
Low(-10C) Medium(20C) 37.25* 10.61 .00 15.48 59.02
High(45C) 80.67* 10.61 .00 58.90 102.43
Medium(20C) Low(-10C) -37.25* 10.61 .00 -59.02 -15.48
High(45C) 43.42* 10.61 .00 21.65 65.18
High(45C) Low(-10C) -80.67* 10.61 .00 -102.43 -58.90
Medium(20C) -43.42* 10.61 .00 -65.18 -21.65
Based on observed means.
The error term is Mean Square(Error) = 675.213.
*. The mean difference is significant at the .05 level.

A two way ANOVA was conducted to determine the effect of temperature and material
type to effective life of batteries. Results reveal that Material Type has a significant
effect on Effective Life(F(2,27)=7.91, p<0.01, n2=0.37). Post Hoc Analysis using LSD
with Alpha Value of 0.05 reveal that Material Type 3(M=125.08, SD=35.77) has
significantly higher effective life than Material Type 2(M=108.33, SD=49.47) and
Material Type 1(M=83.17, SD=48.59). In the same manner, Material Type 2 has
significantly higher effective life than Material Type 1.

Relatively, Temperature has a significant main effect on Effective Life(F(2,27)=28.97,


p<0.01, n2=0.68). Low(-10C) (M=144.83, SD=31.69) Temperature has significantly
higher effective life than Medium(20C)(M=107.58, SD=42.88) Temperature and
High(45C) Temperature(M=64.17, SD=25.67). In the same manner, Medium(20C)
Temperature has significantly higher effective life than High(45C) Temperature.

Results also reveal that material type and temperature have a significant interaction
(F(4,27)=3.56, p=0.02, n2=0.35). For Material Type 1 and 2, Low Temperature(-10C)
has the highest effective life(M=134.75, SD=45.35) compared with Medium
Temperature(20C)(M=57.25, SD=23.60) and High Temperature(45C)(M=57.50,
SD=26.85). For Material Type 2, Low Temperature(-10C) has the highest effective life
(M=155.75, SD=25.62) followed by Medium Temperature(20C)( M=119.75, SD=75) and
the lowest being high temperature(45C)( M=49.50, SD=19.26 ). (For Material Type 3,
there is only a minimal difference between low temperature(-10C) (M=144.00,
SD=25.97) and medium temperature(20C)(M=145.75, SD=22.54), but both have higher
effective life than high temperature(45C)(M=85.50, SD=19.28).

Hence, there is a strong evidence that the mean battery life varies with material used
and operating temperature. The presence of a significant interaction between material
type and temperature means that the way battery effective life varies for material type
depends on temperature and the way battery effective life varies with temperature
depends on the material type.

Overall, given p<0.05 for temperature, we reject Null Hypothesis 1. p<0.05 for material
type, we reject Null Hypothesis 2. Lastly, given p<0.05 for material type and
temperature interaction, we reject null hypothesis 3.
PROCEDURE
I. OPENING SPSS
a. Opening SPSS
i. Click start in the desktop

ii. Click the IBM SPSS Statistics

iii. Click the IBM SPSS Statist

iv. The initial data screen will appear

II. ENTERING THE DATA


a. In the variable view, define the following variables
i. Temperature (Name: Temperature, Decimals: 0, Values: 1=Low(-
10C), 2=Medium(20C), 3=High(45C), Role: Input)
ii. Material Type (Name: MaterialType, Decimals: 0, Role: Input)
iii. Effective Life (Name: EffectiveLife, Decimals:0, Role: Target)

b. Enter the data in the data view

CONDUCTING TWO-WAY ANOVA


1. Click on Analyze-> General Linear Model -> Univariate

2. In the appearing window, we set the options for analysis:


a. We set temperature and material type as fixed factor(s)
i. Click on temperature on the left box and click on the arrow to the
side of the fixed factor box
ii. Repeat procedure for Material Type
b. We set EffectiveLife as Dependent variable
i. Click on EffectiveLife in the left box and click on the arrow to the
side of Dependent Variable Box.

c. Click on Options. In the appearing window, we tick on Descriptive


Statistics and Estimates of Effect Size. After, we click on continue.

d. Click on Post Hoc. In the appearing window, we set Material Type and
Temperature as Post Hoc Tests for
i. Click on Material Type in the left box and the arrow to the left of
Post Hoc Tests for ox.
ii. Click on Temperature in the left box and the arrow to the left of Post
Hoc Tests for ox.
e. After, we tick on LSD and then continue.
f. We click on Plots and set Temperature as Horizontal Axis and Material
Type as Separate Lines. Click on Add then Continue

g. After, we click on ok. Results will appear in the output window.


FORMATTING OUR TABLES
*SETTING VALUES INTO 2 DECIMAL PLACES
i. Click on the table. Right click then Edit Content -> Separate Window

ii. In the appearing window, highlight all values. Click on Format then Cell Properties

iii. Click on Format Value tab then set Decimals to 2. After, click on ok. Repeat for all tables.
TO PLACE TABLE IN ONE PAGE
i. Right click on the table -> Edit Content -> Separate Window
ii. The pivot table statistics window will appear
iii. Click on Format -> Table Properties
iv. Click on Printing Tab -> Tick the box for “rescale wide table to fit page” and
“rescale long table to fit page”
v. Click on ok
vi. Close the pivot table statistics window
vii. In the Output Window, click on file in the menu bar then print preview to check
if the table is only in one page.
OUTPUT:
Between-Subjects Factors
Value Label N
MaterialType 1 12
2 12
3 12
Temperature 1 Low(-10C) 12
2 Medium(20C) 12
3 High(45C) 12

Descriptive Statistics
Dependent Variable: EffectiveLife
MaterialType Temperature Mean Std. Deviation N
1 Low(-10C) 134.75 45.35 4.00
Medium(20C) 57.25 23.60 4.00
High(45C) 57.50 26.85 4.00
Total 83.17 48.59 12.00
2 Low(-10C) 155.75 25.62 4.00
Medium(20C) 119.75 12.66 4.00
High(45C) 49.50 19.26 4.00
Total 108.33 49.47 12.00
3 Low(-10C) 144.00 25.97 4.00
Medium(20C) 145.75 22.54 4.00
High(45C) 85.50 19.28 4.00
Total 125.08 35.77 12.00
Total Low(-10C) 144.83 31.69 12.00
Medium(20C) 107.58 42.88 12.00
High(45C) 64.17 25.67 12.00
Total 105.53 47.10 36.00
Tests of Between-Subjects Effects
Dependent Variable: EffectiveLife
Type III Sum of Partial Eta
Source Squares df Mean Square F Sig. Squared
Corrected Model 59416.22a 8.00 7427.03 11.00 9.43E-7 .77
Intercept 400900.03 1.00 400900.03 593.74 6.46E-20 .96
MaterialType 10683.72 2.00 5341.86 7.91 .00 .37
Temperature 39118.72 2.00 19559.36 28.97 1.91E-7 .68
MaterialType * Temperature 9613.78 4.00 2403.44 3.56 .02 .35
Error 18230.75 27.00 675.21
Total 478547.00 36.00
Corrected Total 77646.97 35.00
a. R Squared = .765 (Adjusted R Squared = .696)

Multiple Comparisons
Dependent Variable: EffectiveLife
LSD
Mean Difference 95% Confidence Interval
(I) MaterialType (J) MaterialType (I-J) Std. Error Sig. Lower Bound Upper Bound
1 2 -25.17* 10.61 .03 -46.93 -3.40
3 -41.92* 10.61 .00 -63.68 -20.15
2 1 25.17* 10.61 .03 3.40 46.93
3 -16.75 10.61 .13 -38.52 5.02
3 1 41.92* 10.61 .00 20.15 63.68
2 16.75 10.61 .13 -5.02 38.52
Based on observed means.
The error term is Mean Square(Error) = 675.213.
*. The mean difference is significant at the .05 level.

Multiple Comparisons
Dependent Variable: EffectiveLife
LSD
Mean Difference 95% Confidence Interval
(I) Temperature (J) Temperature (I-J) Std. Error Sig. Lower Bound Upper Bound
Low(-10C) Medium(20C) 37.25* 10.61 .00 15.48 59.02
High(45C) 80.67* 10.61 .00 58.90 102.43
Medium(20C) Low(-10C) -37.25* 10.61 .00 -59.02 -15.48
High(45C) 43.42* 10.61 .00 21.65 65.18
High(45C) Low(-10C) -80.67* 10.61 .00 -102.43 -58.90
Medium(20C) -43.42* 10.61 .00 -65.18 -21.65
Based on observed means.
The error term is Mean Square(Error) = 675.213.
*. The mean difference is significant at the .05 level.

A two way ANOVA was conducted to determine the effect of temperature and material
type to effective life of batteries. Results reveal that Material Type has a significant
effect on Effective Life(F(2,27)=7.91, p<0.01, n2=0.37). Post Hoc Analysis using LSD
with Alpha Value of 0.05 reveal that Material Type 3(M=125.08, SD=35.77) has
significantly higher effective life than Material Type 2(M=108.33, SD=49.47) and
Material Type 1(M=83.17, SD=48.59). In the same manner, Material Type 2 has
significantly higher effective life than Material Type 1.

Relatively, Temperature has a significant main effect on Effective Life(F(2,27)=28.97,


p<0.01, n2=0.68). Low(-10C) (M=144.83, SD=31.69) Temperature has significantly
higher effective life than Medium(20C)(M=107.58, SD=42.88) Temperature and
High(45C) Temperature(M=64.17, SD=25.67). In the same manner, Medium(20C)
Temperature has higher effective life than High(45C) Temperature.

Results also reveal that material type and temperature have a significant interaction
(F(4,27)=3.56, p=0.02, n2=0.35). For Material Type 1 and 2, Low Temperature(-10C)
has the highest effective life(M=134.75, SD=45.35) compared with Medium
Temperature(20C)(M=57.25, SD=23.60) and High Temperature(45C)(M=57.50,
SD=26.85). For Material Type 2, Low Temperature(-10C) has the highest effective life
(M=155.75, SD=25.62) followed by Medium Temperature(20C)( M=119.75, SD=75) and
the lowest being high temperature(45C)( M=49.50, SD=19.26 ). (For Material Type 3,
there is only a minimal difference between low temperature(-10C) (M=144.00,
SD=25.97) and medium temperature(20C)(M=145.75, SD=22.54), but both have higher
effective life than high temperature(45C)(M=85.50, SD=19.28).

Hence, there is a strong evidence that the mean battery life varies with material used
and operating temperature. The presence of a significant interaction between material
type and temperature means that the way battery effective life varies for material type
depends on temperature and the way battery effective life varies with temperature
depends on the material type.

Overall, given p<0.05 for temperature, we reject Null Hypothesis 1. p<0.05 for material
type, we reject Null Hypothesis 2. Lastly, given p<0.05 for material type and
temperature interaction, we reject null hypothesis 3.

You might also like