SlideShare a Scribd company logo
Elementary Statistics
Chapter 12:
Analysis of Variance
12.1 One-Way ANOVA
1
Chapter 12: Analysis of Variance
12.1 One-Way ANOVA
12.2 Two-Way ANOVA
2
Objectives:
Use the ANOVA technique to determine if there is a significant
difference among three or more means.
Good lecture Videos to watch: ANOVA
Concept: https://www.youtube.com/watch?v=ITf4vHhyGpc
Hand Calculation: https://www.youtube.com/watch?v=WUjsSB7E-ko
Visual Explanation: https://www.youtube.com/watch?v=JgMFhKi6f6Y
YouTube: https://www.youtube.com/watch?v=YbX-JUqD1so
Tukey Website + ANOVA:
https://astatsa.com/OneWay_Anova_with_TukeyHSD/
One-Way (Single Factor) ANOVA + Tukey
1. Get rid of the check mark
2. Choose the value of K (Number of treatment columns)
3. Proceed to enter your treatment columns
4. Enter Data
5. Calculate ANOVA with Tukey, Scheffe, Bonferroni & Holm
6. All is Ready
3
12.1 One-Way ANOVA
One-way analysis of variance (ANOVA) is used for tests of hypotheses that three or more
populations have means that are all equal, as in H0: µ1 = µ2 = µ3 by analyzing sample variances.
One-way analysis of variance is used with data categorized with one factor (or treatment), so there
is one characteristic used to separate the sample data into the different categories.
• The F test, used to compare two variances, can also be used to compare three or more means.
• This technique is called analysis of variance or ANOVA.
• For three groups, the F test can only show whether or not a difference exists among the three means, not where
the difference lies. (The ANOVA test is right-tailed because only large values of the test statistic cause us to
reject equality of the population means.)
• Other statistical tests, Scheffé test and the Tukey test, are used to find where the difference exists.
• Although the t test is commonly used to compare two means, it should not be used to compare three or more.
There is a different F distribution for each different pair of degrees of freedom for numerator and denominator.
1. The F distribution is not symmetric. It is skewed right (positively skewed).
2. Values of the F distribution cannot be negative.
3. The exact shape of the F distribution depends on the two different degrees of freedom.
4
12.1 One-Way ANOVA
In the F test, two different estimates of the population variance are made.
The first estimate is called the between-group variance, and it involves finding the variance of the means.
The second estimate, the within-group variance, is made by computing the variance using all the data
and is not affected by differences in the means.
If there is no difference in the means, the between-group variance will be approximately equal to the
within-group variance, and the F test value will be close to 1; do not reject null hypothesis.
However, when the means differ significantly, the between-group variance will be much larger than
the within-group variance; the F test will be significantly greater than 1; reject null hypothesis.
The following assumptions apply when using the F test to compare three or more means.
1. The populations from which the samples were obtained must be normally or approximately
normally distributed.
2. The samples must be independent of each other.
3. The populations have the same variance σ² (or standard deviation σ).
4. The samples are simple random samples of quantitative data.
5. The different samples are from populations that are categorized in only one way.
Step 1: H0 , H1, claim & Tails
Step 2: TS Calculate (TS)
Step 3: CV using α
Step 4: Make the decision to
a. Reject or not H0
b. The claim is true or false
c. Restate this decision: There is
/ is not sufficient evidence to
support the claim that…
5
Example 1:
Three different techniques are used to lower the blood pressure of
individuals diagnosed with high blood pressure. The subjects are
randomly assigned to 3 groups; the first group takes medication, the
second group exercises, and the third group follows a special diet. After
two months, the reduction in each person’s blood pressure is recorded.
At α = 0.05, test the claim that there is no difference among the means.
Step 1: State the hypotheses and identify the claim.
H0: μ1 = μ2 = μ3 (claim)
H1: At least one mean is different from the others. (RTT)
Given:
Number of Groups (Factors): k = 3
Number of data in each group: n = 5
Total sample size: N = 3(5) = 15
Sum of Squares: SST = SSW + SSB
The total sum of squares: Find the squared distances
from the Grand Mean. (If we took the average, we
would have a variance.)
The within-group or within-cell sum of squares comes
from the distance of the observations to the cell
means. This indicates error.
The between-cells or between-groups sum of squares
tells of the distance of the cell means from the grand
mean. This indicates treatment (the column) effects.
𝑆𝑆𝑡𝑜𝑡 = 𝑆𝑆𝐵 + 𝑆𝑆𝑊 = (𝑋𝑖 − 𝑋𝐺)2
𝑆𝑆𝑊 = (𝑋𝑖 − 𝑋𝐴)2
= (𝑋1 − 𝑋1)2
+ (𝑋2 − 𝑋2)2
+ (𝑋3 − 𝑋3)2
+. . .
𝑆𝑆𝐵 = 𝑁𝐴(𝑋𝐴 − 𝑋𝐺)2
𝑂𝑅 = 𝑆𝑆𝑡𝑜𝑡 − 𝑆𝑆𝑊
𝑋𝑖: Each piece of Data,
𝑋𝐺: The Grand Mean, taken over all observations.
𝑋𝐴: The mean of any level of a treatment.
6
Example 1: Continued
Step 2: Calculate the test statistic value.
a. Find the mean and variance of each sample (Given Table).
𝑥𝐺𝑀 =
𝑥
𝑁
=
10 + 12 + 9 + 15 + 13 + 6 + ⋯ + 4
15
𝑀𝑆𝐵 𝑂𝑅 𝑠𝐵
2
=
𝑆𝑆𝐵
𝑘 − 1
=
𝑛𝑖 𝑋𝑖 − 𝑋𝐺𝑀
2
𝑘 − 1
=
5 11.8 − 7.73 2
+ 5 3.8 − 7.73 2
+ 5 7.6 − 7.73 2
3 − 1
𝑀𝑆𝑤 𝑂𝑅 𝑠𝑊
2
𝑂𝑅 𝑠𝑝
2
=
𝑆𝑆𝑤
𝑁 − 𝑘
=
𝑛𝑖 − 1 𝑠𝑖
2
𝑛𝑖 − 1
=
4 5.7 + 4 10.2 + 4 10.3
4 + 4 + 4
𝐹 =
MS𝐵
MS𝑊
=
𝑠𝐵
2
𝑠𝑊
2
=
116
15
= 7.73
=
160.13
2
= 80.07
=
104.80
12
= 8.73
Given the means of each group: 11.8, 3.8 & 7.6
Calculate their weighted average and variance:
𝑏. . 𝑥𝐺𝑀 =
𝑥𝑖
𝑘
=
11.8 + 3.8 + 7.6
3
= 7.73
𝑐. 𝑠𝑥
2
=
𝑥𝑖 − 𝑥𝐺𝑀
2
𝑘 − 1
=
11.8 − 7.73 2
+ 3.8 − 7.73 2
+ 7.6 − 7.76 2
3 − 1
≈ 16.018
𝑆𝐵 = 𝜎𝑥 =
𝜎
𝑛
→ 𝐸𝑠𝑡𝑖𝑚𝑎𝑡𝑒: 𝜎2
= 𝑛𝑠𝑥
2
→ 𝑀𝑆𝐵 𝑂𝑅 𝑠𝐵
2
= 𝑛𝑠𝑥
2
= 5(16.018) = 80.09
b. Find the Grand Mean, the mean of all values in the samples.
c. Find the Between-group variance (Mean Square, MSB.)
d. Find the Within-group variance (Error)(Mean
of sample variances, or mean square, MSW)
e. Calculate the F value.
𝑑. 𝑠𝑊
2
𝑂𝑅 𝑠𝑝
2
=
𝑆1
2
+ 𝑆2
2
+ 𝑆3
2
3
=
5.7 + 10.2 + 10.3
3
= 8.733
Source Sum of
Squares
d.f. Mean
Squares
F
Between
Within (error)
SSB =160.13
SSW =104.80
k – 1= 2
N – k=12
MSB = 80.07
MSW = 8.73
9.17
Total 264.93 14
=
80.07
8.73
= 9.17
7
Three different techniques are used to lower the blood pressure of individuals diagnosed
with high blood pressure. The subjects are randomly assigned to 3 groups; the first group
takes medication, the second group exercises, and the third group follows a special diet.
After two months, the reduction in each person’s blood pressure is recorded. At α = 0.05,
test the claim that there is no difference among the means.
Step 3: Find the critical value.
Number of Groups (Factors): k = 3, d.f.N. = k – 1 = 3 – 1 = 2,
Total sample size: N = 15, d.f.D. = N – k = 15 – 3 = 12
α = 0.05 → CV: 𝑭 = 3.8853
Step 4: Decision:
a. Reject H0
b. The claim is False
c. There is NOT sufficient evidence to support the claim that there is no difference among the
means and conclude that at least one mean is different from the others.
Step 1: H0: μ1 = μ2 = μ3 (claim)
H1: At least one mean is different from the others. (RTT)
Step 2: Calculate the test statistic value: 𝐹 = 9.17
Example 1: Continued
CV: F = 3.8853 TS: 𝑭 = 9.17
0.05
Source Sum of
Squares
d.f. Mean
Squares
F
Between
Within (error)
SSB =160.13
SSW =104.80
k – 1= 2
N – k=12
MSB = 80.07
MSW = 8.73
9.17
Total 264.93 14
TI Calculator:
One Way ANOVA
1. ClrList 𝑳𝟏, 𝑳𝟐, …
2. Enter data 𝑳𝟏, 𝑳𝟐, . .
3. Stat
4. Tests
5. 𝑨𝑵𝑶𝑽𝑨 (𝑳𝟏, 𝑳𝟐 , . . )
6. Enter
8
The between-group variance is sometimes
called the mean square, MSB.
• The numerator of the formula to
compute MSB is called the sum of
squares between groups, SSB.
• The within-group variance is sometimes
called the mean square, MSW.
• The numerator of the formula to
compute MSW is called the sum of
squares within groups, SSW.
Source Sum of
Squares
d.f. Mean
Squares = SS /df
𝑭 =
𝑴𝑺𝑩
𝑴𝑺𝒘
Squares = SS /df SSB =160.13
SSW =104.80
k – 1= 2
N – k=12
MSB = SSB / 2 = 80.07
MSW = SSW / 12 = 8.73
𝟖𝟎. 𝟎𝟕
𝟖. 𝟕𝟑
= 𝟗. 𝟏𝟕
Total SST = 264.93 14
12.1 One-Way ANOVA Summary Table
The Grand Mean,
taken over all
observations:
𝑥𝐺𝑀 =
𝑥
𝑁
=
𝑥𝑖
𝑘
Number of Groups (Factors): k
Number of data in each group: 𝒏𝟏, 𝒏𝟐,…
Total sample size: 𝑵 = 𝒏𝟏 + 𝒏𝟐 + ⋯
Each piece of data: 𝑿𝒊
Each Group (treatment) Mean: 𝒙𝒊
Between-group variance (Mean Square, MSB.)
𝑀𝑆𝐵 𝑂𝑅 𝑠𝐵
2
=
𝑆𝑆𝐵
𝑘 − 1
=
𝑛𝑖 𝑋𝑖 − 𝑋𝐺𝑀
2
𝑘 − 1
→ 𝑀𝑆𝐵 𝑂𝑅 𝑠𝐵
2
= 𝑛𝑠𝑥
2
, if same number of data in each
category (n times the variance for sample means)
Within-group variance (Error)(Mean of sample variances, or mean
square, MSW): 𝑀𝑆𝑤 𝑂𝑅 𝑠𝑊
2
𝑂𝑅 𝑠𝑝
2
=
𝑆𝑆𝑤
𝑁−𝑘
=
𝑛𝑖−1 𝑠𝑖
2
𝑛𝑖−1
𝑂𝑅 𝑠𝑝
2
=
𝑆1
2+𝑆2
2+𝑆3
2+⋯
𝑘
, if same number of data in each category
9
Data shown represents the number of employees at the security gate for 3 companies.
At α = 0.05, can it be concluded that there is a significant difference in the average
number of employees at each interchange?
Example 2:
Company A Company B Company C
7 10 1
14 1 12
32 1 1
19 0 9
10 11 1
11 1 11
𝑥1 = 15.5,
𝑠1
2
= 81.9
𝑥2 = 4.0,
𝑠2
2
= 25.6
𝑥3 = 5.8,
𝑠3
2
= 29.0
Step 1: State the hypotheses and identify the claim.
H0: μ1 = μ2 = μ3
H1: At least one mean is different from the others. (RTT, claim)
Step 1: H0 , H1, claim & Tails
Step 2: TS Calculate (TS)
Step 3: CV using α
Step 4: Make the decision to
a. Reject or not H0
b. The claim is true or false
c. Restate this decision: There is
/ is not sufficient evidence to
support the claim that…
Given:
Number of Groups (Factors): k = 3
Number of data in each group: n = 6
Total sample size: N = 3(6) = 18
10
Example 2: Continued
Step 2: Calculate the test statistic value.
a. Find the mean and variance of each sample (Given).
𝑥𝐺𝑀 =
𝑥
𝑁
=
7 + 14 + 32 + ⋯ + 11
18
𝑠𝐵
2
=
𝑛𝑖 𝑋𝑖 − 𝑋𝐺𝑀
2
𝑘 − 1
=
6 15.5 − 8.4333 2 + 6 4 − 8.4333 2 + 6 5.8 − 8.4333 2
3 − 1
𝑠𝑊
2
𝑂𝑅 𝑠𝑝
2 =
𝑛𝑖 − 1 𝑠𝑖
2
𝑛𝑖 − 1
=
5 81.9 + 5 25.6 + 5 29.0
5 + 5 + 5
𝐹 =
𝑠𝐵
2
𝑠𝑊
2
=
152
18
= 8.444
=
459.18
2
= 229.59
=
682.5
15
= 45.5
Given the means of each group: 15.5, 4 & 5.8
Calculate their mean and variance:
𝑏. 𝑥 =
𝑥𝑖
𝑘
=
15.5 + 4 + 5.8
3
= 8.4333
𝑐. 𝑠𝑥
2
=
𝑥𝑖 − 𝑥𝐺𝑀
2
𝑘 − 1
=
15.5 − 8.433 2
+ 4 − 8.433 2
+ 5.8 − 8.433 2
3 − 1
≈ 38.263
𝑆𝐵 = 𝜎𝑥 = 𝜎/ 𝑛 → 𝐸𝑠𝑡𝑖𝑚𝑎𝑡𝑒: 𝜎2
= 𝑛𝑠𝑥
2
→ 𝑀𝑆𝐵 𝑂𝑅 𝑠𝐵
2
= 𝑛𝑠𝑥
2
= 6(38.263) = 229.580
b. Find the grand mean, the mean of all values in the samples.
c. Find the between-group variance
d. Find the within-group variance (Mean of sample variances),
e. Calculate the F value.
𝑑. 𝑠𝑊
2
𝑂𝑅 𝑠𝑝
2
=
𝑆1
2
+ 𝑆2
2
+ 𝑆3
2
3
=
81.9 + 25.6 + 29
3
= 45.5
Company A Company B Company C
7 10 1
14 1 12
32 1 1
19 0 9
10 11 1
11 1 11
𝑥1 = 15.5,
𝑠1
2
= 81.9
𝑥2 = 4.0,
𝑠2
2
= 25.6
𝑥3 = 5.8,
𝑠3
2
= 29.0
=
229.59
45.5
= 5.05
11
Data shown represents the number of employees at the
security gate for 3 companies. At α = 0.05, can it be
concluded that there is a significant difference in the
average number of employees at each interchange?
Step 3: Find the critical value.
Number of Groups (Factors): k = 3, d.f.N. = k – 1 = 3 – 1 = 2,
Total sample size: N = 18, d.f.D. = N – k = 18 – 3 = 15
α = 0.05 → CV: 𝑭 = 3.6823
Step 4: Decision:
a. Reject H0
b. The claim is True
c. There is sufficient evidence to
support the claim that there is a
difference among the means and
conclude that at least one mean is
different from the others.
Step 1: H0: μ1 = μ2 = μ3
H1: At least one mean is different from the others. (RTT, claim)
Step 2: Test statistic: 𝐹 = 5.05
Example 2: Continued
0.05
Company A Company B Company C
7 10 1
14 1 12
32 1 1
19 0 9
10 11 1
11 1 11
𝑥1 = 15.5,
𝑠1
2
= 81.9
𝑥2 = 4.0,
𝑠2
2
= 25.6
𝑥3 = 5.8,
𝑠3
2
= 29.0
Source Sum of
Squares
d.f. Mean
Squares
F
Between
Within
(error)
459.18
682.5
2
15
229.59
45.5
5.05
Total 1141.68 17
TI Calculator:
One Way ANOVA
1. ClrList 𝑳𝟏, 𝑳𝟐, …
2. Enter data 𝑳𝟏, 𝑳𝟐, . .
3. Stat
4. Tests
5. 𝑨𝑵𝑶𝑽𝑨 (𝑳𝟏, 𝑳𝟐 , . . )
6. Enter
CV: F = 3.6823 TS: 𝑭 = 5.05

More Related Content

What's hot

Practice Test 2 Solutions
Practice Test 2  SolutionsPractice Test 2  Solutions
Practice Test 2 Solutions
Long Beach City College
 
Estimating a Population Proportion
Estimating a Population ProportionEstimating a Population Proportion
Estimating a Population Proportion
Long Beach City College
 
Contingency Tables
Contingency TablesContingency Tables
Contingency Tables
Long Beach City College
 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
sadiakhan783184
 
Testing a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or VarianceTesting a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or Variance
Long Beach City College
 
Kolmogorov Smirnov
Kolmogorov SmirnovKolmogorov Smirnov
Kolmogorov Smirnov
Rabin BK
 
Complements and Conditional Probability, and Bayes' Theorem
 Complements and Conditional Probability, and Bayes' Theorem Complements and Conditional Probability, and Bayes' Theorem
Complements and Conditional Probability, and Bayes' Theorem
Long Beach City College
 
Binomial Probability Distributions
Binomial Probability DistributionsBinomial Probability Distributions
Binomial Probability Distributions
Long Beach City College
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inferenceJags Jagdish
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
Regent University
 
Analysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to knowAnalysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to know
Stat Analytica
 
Test hypothesis & p-value
Test hypothesis & p-valueTest hypothesis & p-value
Test hypothesis & p-value
Raeesa Mukhtar
 
Wilcoxon Signed Rank Test
Wilcoxon Signed Rank Test Wilcoxon Signed Rank Test
Wilcoxon Signed Rank Test
Sharlaine Ruth
 
Student t-test
Student t-testStudent t-test
Student t-test
Steve Bishop
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
Tesfamichael Getu
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
Long Beach City College
 
Practice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsPractice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populations
Long Beach City College
 
T-Test
T-TestT-Test

What's hot (20)

Practice Test 2 Solutions
Practice Test 2  SolutionsPractice Test 2  Solutions
Practice Test 2 Solutions
 
Estimating a Population Proportion
Estimating a Population ProportionEstimating a Population Proportion
Estimating a Population Proportion
 
Contingency Tables
Contingency TablesContingency Tables
Contingency Tables
 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
 
Testing a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or VarianceTesting a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or Variance
 
Kolmogorov Smirnov
Kolmogorov SmirnovKolmogorov Smirnov
Kolmogorov Smirnov
 
Complements and Conditional Probability, and Bayes' Theorem
 Complements and Conditional Probability, and Bayes' Theorem Complements and Conditional Probability, and Bayes' Theorem
Complements and Conditional Probability, and Bayes' Theorem
 
Binomial Probability Distributions
Binomial Probability DistributionsBinomial Probability Distributions
Binomial Probability Distributions
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inference
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
 
Analysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to knowAnalysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to know
 
Test hypothesis & p-value
Test hypothesis & p-valueTest hypothesis & p-value
Test hypothesis & p-value
 
Wilcoxon Signed Rank Test
Wilcoxon Signed Rank Test Wilcoxon Signed Rank Test
Wilcoxon Signed Rank Test
 
Student t-test
Student t-testStudent t-test
Student t-test
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Practice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsPractice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populations
 
T-Test
T-TestT-Test
T-Test
 

Similar to One-Way ANOVA

test_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxtest_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
RaquelMaacap
 
Anova.ppt
Anova.pptAnova.ppt
Anova.ppt
satyamsk
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
praba karan
 
ANOVA.pptx
ANOVA.pptxANOVA.pptx
ANOVA.pptx
SUJAY G GOWDA
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
HazilahMohd
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
sadiakhan783184
 
Lecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.pptLecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.ppt
MohammedAbdela7
 
Statistical analysis by iswar
Statistical analysis by iswarStatistical analysis by iswar
Survival.pptx
Survival.pptxSurvival.pptx
Survival.pptx
MohammedAbdela7
 
Lecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.pptLecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.ppt
habtamu biazin
 
Factorial Experiments
Factorial ExperimentsFactorial Experiments
Factorial Experiments
HelpWithAssignment.com
 
Anova stat 512
Anova stat 512Anova stat 512
Anova stat 512
gargnisha
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
Atula Ahuja
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
Sneh Kumari
 
In the t test for independent groups, ____.we estimate µ1 µ2.docx
In the t test for independent groups, ____.we estimate µ1 µ2.docxIn the t test for independent groups, ____.we estimate µ1 µ2.docx
In the t test for independent groups, ____.we estimate µ1 µ2.docx
bradburgess22840
 
One-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual FoundationsOne-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual Foundations
smackinnon
 
Quality Engineering material
Quality Engineering materialQuality Engineering material
Quality Engineering material
TeluguSudhakar3
 
MPhil clinical psy Non-parametric statistics.pptx
MPhil clinical psy Non-parametric statistics.pptxMPhil clinical psy Non-parametric statistics.pptx
MPhil clinical psy Non-parametric statistics.pptx
rodrickrajamanickam
 
Anova.pptx
Anova.pptxAnova.pptx
f and t test
f and t testf and t test

Similar to One-Way ANOVA (20)

test_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxtest_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
 
Anova.ppt
Anova.pptAnova.ppt
Anova.ppt
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
 
ANOVA.pptx
ANOVA.pptxANOVA.pptx
ANOVA.pptx
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
 
Lecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.pptLecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.ppt
 
Statistical analysis by iswar
Statistical analysis by iswarStatistical analysis by iswar
Statistical analysis by iswar
 
Survival.pptx
Survival.pptxSurvival.pptx
Survival.pptx
 
Lecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.pptLecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.ppt
 
Factorial Experiments
Factorial ExperimentsFactorial Experiments
Factorial Experiments
 
Anova stat 512
Anova stat 512Anova stat 512
Anova stat 512
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
In the t test for independent groups, ____.we estimate µ1 µ2.docx
In the t test for independent groups, ____.we estimate µ1 µ2.docxIn the t test for independent groups, ____.we estimate µ1 µ2.docx
In the t test for independent groups, ____.we estimate µ1 µ2.docx
 
One-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual FoundationsOne-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual Foundations
 
Quality Engineering material
Quality Engineering materialQuality Engineering material
Quality Engineering material
 
MPhil clinical psy Non-parametric statistics.pptx
MPhil clinical psy Non-parametric statistics.pptxMPhil clinical psy Non-parametric statistics.pptx
MPhil clinical psy Non-parametric statistics.pptx
 
Anova.pptx
Anova.pptxAnova.pptx
Anova.pptx
 
f and t test
f and t testf and t test
f and t test
 

More from Long Beach City College

Practice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samplesPractice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samples
Long Beach City College
 
Practice Test Ch 8 Hypothesis Testing
Practice Test Ch 8 Hypothesis TestingPractice Test Ch 8 Hypothesis Testing
Practice Test Ch 8 Hypothesis Testing
Long Beach City College
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Long Beach City College
 
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsSolution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Long Beach City College
 
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability DistributionSolution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Long Beach City College
 
Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)
Long Beach City College
 
Practice Test 1 solutions
Practice Test 1 solutions  Practice Test 1 solutions
Practice Test 1 solutions
Long Beach City College
 
Stat sample test ch 12 solution
Stat sample test ch 12 solutionStat sample test ch 12 solution
Stat sample test ch 12 solution
Long Beach City College
 
Stat sample test ch 12
Stat sample test ch 12Stat sample test ch 12
Stat sample test ch 12
Long Beach City College
 
Stat sample test ch 11
Stat sample test ch 11Stat sample test ch 11
Stat sample test ch 11
Long Beach City College
 
Stat sample test ch 10
Stat sample test ch 10Stat sample test ch 10
Stat sample test ch 10
Long Beach City College
 
Two-Way ANOVA
Two-Way ANOVATwo-Way ANOVA
Two Variances or Standard Deviations
Two Variances or Standard DeviationsTwo Variances or Standard Deviations
Two Variances or Standard Deviations
Long Beach City College
 
Two Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsTwo Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched Pairs
Long Beach City College
 
Inferences about Two Proportions
 Inferences about Two Proportions Inferences about Two Proportions
Inferences about Two Proportions
Long Beach City College
 
Testing a Claim About a Mean
Testing a Claim About a MeanTesting a Claim About a Mean
Testing a Claim About a Mean
Long Beach City College
 
Testing a Claim About a Proportion
Testing a Claim About a ProportionTesting a Claim About a Proportion
Testing a Claim About a Proportion
Long Beach City College
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
Long Beach City College
 

More from Long Beach City College (18)

Practice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samplesPractice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samples
 
Practice Test Ch 8 Hypothesis Testing
Practice Test Ch 8 Hypothesis TestingPractice Test Ch 8 Hypothesis Testing
Practice Test Ch 8 Hypothesis Testing
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anova
 
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsSolution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
 
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability DistributionSolution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
 
Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)
 
Practice Test 1 solutions
Practice Test 1 solutions  Practice Test 1 solutions
Practice Test 1 solutions
 
Stat sample test ch 12 solution
Stat sample test ch 12 solutionStat sample test ch 12 solution
Stat sample test ch 12 solution
 
Stat sample test ch 12
Stat sample test ch 12Stat sample test ch 12
Stat sample test ch 12
 
Stat sample test ch 11
Stat sample test ch 11Stat sample test ch 11
Stat sample test ch 11
 
Stat sample test ch 10
Stat sample test ch 10Stat sample test ch 10
Stat sample test ch 10
 
Two-Way ANOVA
Two-Way ANOVATwo-Way ANOVA
Two-Way ANOVA
 
Two Variances or Standard Deviations
Two Variances or Standard DeviationsTwo Variances or Standard Deviations
Two Variances or Standard Deviations
 
Two Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsTwo Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched Pairs
 
Inferences about Two Proportions
 Inferences about Two Proportions Inferences about Two Proportions
Inferences about Two Proportions
 
Testing a Claim About a Mean
Testing a Claim About a MeanTesting a Claim About a Mean
Testing a Claim About a Mean
 
Testing a Claim About a Proportion
Testing a Claim About a ProportionTesting a Claim About a Proportion
Testing a Claim About a Proportion
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 

Recently uploaded

GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 

Recently uploaded (20)

GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 

One-Way ANOVA

  • 1. Elementary Statistics Chapter 12: Analysis of Variance 12.1 One-Way ANOVA 1
  • 2. Chapter 12: Analysis of Variance 12.1 One-Way ANOVA 12.2 Two-Way ANOVA 2 Objectives: Use the ANOVA technique to determine if there is a significant difference among three or more means. Good lecture Videos to watch: ANOVA Concept: https://www.youtube.com/watch?v=ITf4vHhyGpc Hand Calculation: https://www.youtube.com/watch?v=WUjsSB7E-ko Visual Explanation: https://www.youtube.com/watch?v=JgMFhKi6f6Y YouTube: https://www.youtube.com/watch?v=YbX-JUqD1so Tukey Website + ANOVA: https://astatsa.com/OneWay_Anova_with_TukeyHSD/ One-Way (Single Factor) ANOVA + Tukey 1. Get rid of the check mark 2. Choose the value of K (Number of treatment columns) 3. Proceed to enter your treatment columns 4. Enter Data 5. Calculate ANOVA with Tukey, Scheffe, Bonferroni & Holm 6. All is Ready
  • 3. 3 12.1 One-Way ANOVA One-way analysis of variance (ANOVA) is used for tests of hypotheses that three or more populations have means that are all equal, as in H0: µ1 = µ2 = µ3 by analyzing sample variances. One-way analysis of variance is used with data categorized with one factor (or treatment), so there is one characteristic used to separate the sample data into the different categories. • The F test, used to compare two variances, can also be used to compare three or more means. • This technique is called analysis of variance or ANOVA. • For three groups, the F test can only show whether or not a difference exists among the three means, not where the difference lies. (The ANOVA test is right-tailed because only large values of the test statistic cause us to reject equality of the population means.) • Other statistical tests, Scheffé test and the Tukey test, are used to find where the difference exists. • Although the t test is commonly used to compare two means, it should not be used to compare three or more. There is a different F distribution for each different pair of degrees of freedom for numerator and denominator. 1. The F distribution is not symmetric. It is skewed right (positively skewed). 2. Values of the F distribution cannot be negative. 3. The exact shape of the F distribution depends on the two different degrees of freedom.
  • 4. 4 12.1 One-Way ANOVA In the F test, two different estimates of the population variance are made. The first estimate is called the between-group variance, and it involves finding the variance of the means. The second estimate, the within-group variance, is made by computing the variance using all the data and is not affected by differences in the means. If there is no difference in the means, the between-group variance will be approximately equal to the within-group variance, and the F test value will be close to 1; do not reject null hypothesis. However, when the means differ significantly, the between-group variance will be much larger than the within-group variance; the F test will be significantly greater than 1; reject null hypothesis. The following assumptions apply when using the F test to compare three or more means. 1. The populations from which the samples were obtained must be normally or approximately normally distributed. 2. The samples must be independent of each other. 3. The populations have the same variance σ² (or standard deviation σ). 4. The samples are simple random samples of quantitative data. 5. The different samples are from populations that are categorized in only one way. Step 1: H0 , H1, claim & Tails Step 2: TS Calculate (TS) Step 3: CV using α Step 4: Make the decision to a. Reject or not H0 b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that…
  • 5. 5 Example 1: Three different techniques are used to lower the blood pressure of individuals diagnosed with high blood pressure. The subjects are randomly assigned to 3 groups; the first group takes medication, the second group exercises, and the third group follows a special diet. After two months, the reduction in each person’s blood pressure is recorded. At α = 0.05, test the claim that there is no difference among the means. Step 1: State the hypotheses and identify the claim. H0: μ1 = μ2 = μ3 (claim) H1: At least one mean is different from the others. (RTT) Given: Number of Groups (Factors): k = 3 Number of data in each group: n = 5 Total sample size: N = 3(5) = 15 Sum of Squares: SST = SSW + SSB The total sum of squares: Find the squared distances from the Grand Mean. (If we took the average, we would have a variance.) The within-group or within-cell sum of squares comes from the distance of the observations to the cell means. This indicates error. The between-cells or between-groups sum of squares tells of the distance of the cell means from the grand mean. This indicates treatment (the column) effects. 𝑆𝑆𝑡𝑜𝑡 = 𝑆𝑆𝐵 + 𝑆𝑆𝑊 = (𝑋𝑖 − 𝑋𝐺)2 𝑆𝑆𝑊 = (𝑋𝑖 − 𝑋𝐴)2 = (𝑋1 − 𝑋1)2 + (𝑋2 − 𝑋2)2 + (𝑋3 − 𝑋3)2 +. . . 𝑆𝑆𝐵 = 𝑁𝐴(𝑋𝐴 − 𝑋𝐺)2 𝑂𝑅 = 𝑆𝑆𝑡𝑜𝑡 − 𝑆𝑆𝑊 𝑋𝑖: Each piece of Data, 𝑋𝐺: The Grand Mean, taken over all observations. 𝑋𝐴: The mean of any level of a treatment.
  • 6. 6 Example 1: Continued Step 2: Calculate the test statistic value. a. Find the mean and variance of each sample (Given Table). 𝑥𝐺𝑀 = 𝑥 𝑁 = 10 + 12 + 9 + 15 + 13 + 6 + ⋯ + 4 15 𝑀𝑆𝐵 𝑂𝑅 𝑠𝐵 2 = 𝑆𝑆𝐵 𝑘 − 1 = 𝑛𝑖 𝑋𝑖 − 𝑋𝐺𝑀 2 𝑘 − 1 = 5 11.8 − 7.73 2 + 5 3.8 − 7.73 2 + 5 7.6 − 7.73 2 3 − 1 𝑀𝑆𝑤 𝑂𝑅 𝑠𝑊 2 𝑂𝑅 𝑠𝑝 2 = 𝑆𝑆𝑤 𝑁 − 𝑘 = 𝑛𝑖 − 1 𝑠𝑖 2 𝑛𝑖 − 1 = 4 5.7 + 4 10.2 + 4 10.3 4 + 4 + 4 𝐹 = MS𝐵 MS𝑊 = 𝑠𝐵 2 𝑠𝑊 2 = 116 15 = 7.73 = 160.13 2 = 80.07 = 104.80 12 = 8.73 Given the means of each group: 11.8, 3.8 & 7.6 Calculate their weighted average and variance: 𝑏. . 𝑥𝐺𝑀 = 𝑥𝑖 𝑘 = 11.8 + 3.8 + 7.6 3 = 7.73 𝑐. 𝑠𝑥 2 = 𝑥𝑖 − 𝑥𝐺𝑀 2 𝑘 − 1 = 11.8 − 7.73 2 + 3.8 − 7.73 2 + 7.6 − 7.76 2 3 − 1 ≈ 16.018 𝑆𝐵 = 𝜎𝑥 = 𝜎 𝑛 → 𝐸𝑠𝑡𝑖𝑚𝑎𝑡𝑒: 𝜎2 = 𝑛𝑠𝑥 2 → 𝑀𝑆𝐵 𝑂𝑅 𝑠𝐵 2 = 𝑛𝑠𝑥 2 = 5(16.018) = 80.09 b. Find the Grand Mean, the mean of all values in the samples. c. Find the Between-group variance (Mean Square, MSB.) d. Find the Within-group variance (Error)(Mean of sample variances, or mean square, MSW) e. Calculate the F value. 𝑑. 𝑠𝑊 2 𝑂𝑅 𝑠𝑝 2 = 𝑆1 2 + 𝑆2 2 + 𝑆3 2 3 = 5.7 + 10.2 + 10.3 3 = 8.733 Source Sum of Squares d.f. Mean Squares F Between Within (error) SSB =160.13 SSW =104.80 k – 1= 2 N – k=12 MSB = 80.07 MSW = 8.73 9.17 Total 264.93 14 = 80.07 8.73 = 9.17
  • 7. 7 Three different techniques are used to lower the blood pressure of individuals diagnosed with high blood pressure. The subjects are randomly assigned to 3 groups; the first group takes medication, the second group exercises, and the third group follows a special diet. After two months, the reduction in each person’s blood pressure is recorded. At α = 0.05, test the claim that there is no difference among the means. Step 3: Find the critical value. Number of Groups (Factors): k = 3, d.f.N. = k – 1 = 3 – 1 = 2, Total sample size: N = 15, d.f.D. = N – k = 15 – 3 = 12 α = 0.05 → CV: 𝑭 = 3.8853 Step 4: Decision: a. Reject H0 b. The claim is False c. There is NOT sufficient evidence to support the claim that there is no difference among the means and conclude that at least one mean is different from the others. Step 1: H0: μ1 = μ2 = μ3 (claim) H1: At least one mean is different from the others. (RTT) Step 2: Calculate the test statistic value: 𝐹 = 9.17 Example 1: Continued CV: F = 3.8853 TS: 𝑭 = 9.17 0.05 Source Sum of Squares d.f. Mean Squares F Between Within (error) SSB =160.13 SSW =104.80 k – 1= 2 N – k=12 MSB = 80.07 MSW = 8.73 9.17 Total 264.93 14 TI Calculator: One Way ANOVA 1. ClrList 𝑳𝟏, 𝑳𝟐, … 2. Enter data 𝑳𝟏, 𝑳𝟐, . . 3. Stat 4. Tests 5. 𝑨𝑵𝑶𝑽𝑨 (𝑳𝟏, 𝑳𝟐 , . . ) 6. Enter
  • 8. 8 The between-group variance is sometimes called the mean square, MSB. • The numerator of the formula to compute MSB is called the sum of squares between groups, SSB. • The within-group variance is sometimes called the mean square, MSW. • The numerator of the formula to compute MSW is called the sum of squares within groups, SSW. Source Sum of Squares d.f. Mean Squares = SS /df 𝑭 = 𝑴𝑺𝑩 𝑴𝑺𝒘 Squares = SS /df SSB =160.13 SSW =104.80 k – 1= 2 N – k=12 MSB = SSB / 2 = 80.07 MSW = SSW / 12 = 8.73 𝟖𝟎. 𝟎𝟕 𝟖. 𝟕𝟑 = 𝟗. 𝟏𝟕 Total SST = 264.93 14 12.1 One-Way ANOVA Summary Table The Grand Mean, taken over all observations: 𝑥𝐺𝑀 = 𝑥 𝑁 = 𝑥𝑖 𝑘 Number of Groups (Factors): k Number of data in each group: 𝒏𝟏, 𝒏𝟐,… Total sample size: 𝑵 = 𝒏𝟏 + 𝒏𝟐 + ⋯ Each piece of data: 𝑿𝒊 Each Group (treatment) Mean: 𝒙𝒊 Between-group variance (Mean Square, MSB.) 𝑀𝑆𝐵 𝑂𝑅 𝑠𝐵 2 = 𝑆𝑆𝐵 𝑘 − 1 = 𝑛𝑖 𝑋𝑖 − 𝑋𝐺𝑀 2 𝑘 − 1 → 𝑀𝑆𝐵 𝑂𝑅 𝑠𝐵 2 = 𝑛𝑠𝑥 2 , if same number of data in each category (n times the variance for sample means) Within-group variance (Error)(Mean of sample variances, or mean square, MSW): 𝑀𝑆𝑤 𝑂𝑅 𝑠𝑊 2 𝑂𝑅 𝑠𝑝 2 = 𝑆𝑆𝑤 𝑁−𝑘 = 𝑛𝑖−1 𝑠𝑖 2 𝑛𝑖−1 𝑂𝑅 𝑠𝑝 2 = 𝑆1 2+𝑆2 2+𝑆3 2+⋯ 𝑘 , if same number of data in each category
  • 9. 9 Data shown represents the number of employees at the security gate for 3 companies. At α = 0.05, can it be concluded that there is a significant difference in the average number of employees at each interchange? Example 2: Company A Company B Company C 7 10 1 14 1 12 32 1 1 19 0 9 10 11 1 11 1 11 𝑥1 = 15.5, 𝑠1 2 = 81.9 𝑥2 = 4.0, 𝑠2 2 = 25.6 𝑥3 = 5.8, 𝑠3 2 = 29.0 Step 1: State the hypotheses and identify the claim. H0: μ1 = μ2 = μ3 H1: At least one mean is different from the others. (RTT, claim) Step 1: H0 , H1, claim & Tails Step 2: TS Calculate (TS) Step 3: CV using α Step 4: Make the decision to a. Reject or not H0 b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… Given: Number of Groups (Factors): k = 3 Number of data in each group: n = 6 Total sample size: N = 3(6) = 18
  • 10. 10 Example 2: Continued Step 2: Calculate the test statistic value. a. Find the mean and variance of each sample (Given). 𝑥𝐺𝑀 = 𝑥 𝑁 = 7 + 14 + 32 + ⋯ + 11 18 𝑠𝐵 2 = 𝑛𝑖 𝑋𝑖 − 𝑋𝐺𝑀 2 𝑘 − 1 = 6 15.5 − 8.4333 2 + 6 4 − 8.4333 2 + 6 5.8 − 8.4333 2 3 − 1 𝑠𝑊 2 𝑂𝑅 𝑠𝑝 2 = 𝑛𝑖 − 1 𝑠𝑖 2 𝑛𝑖 − 1 = 5 81.9 + 5 25.6 + 5 29.0 5 + 5 + 5 𝐹 = 𝑠𝐵 2 𝑠𝑊 2 = 152 18 = 8.444 = 459.18 2 = 229.59 = 682.5 15 = 45.5 Given the means of each group: 15.5, 4 & 5.8 Calculate their mean and variance: 𝑏. 𝑥 = 𝑥𝑖 𝑘 = 15.5 + 4 + 5.8 3 = 8.4333 𝑐. 𝑠𝑥 2 = 𝑥𝑖 − 𝑥𝐺𝑀 2 𝑘 − 1 = 15.5 − 8.433 2 + 4 − 8.433 2 + 5.8 − 8.433 2 3 − 1 ≈ 38.263 𝑆𝐵 = 𝜎𝑥 = 𝜎/ 𝑛 → 𝐸𝑠𝑡𝑖𝑚𝑎𝑡𝑒: 𝜎2 = 𝑛𝑠𝑥 2 → 𝑀𝑆𝐵 𝑂𝑅 𝑠𝐵 2 = 𝑛𝑠𝑥 2 = 6(38.263) = 229.580 b. Find the grand mean, the mean of all values in the samples. c. Find the between-group variance d. Find the within-group variance (Mean of sample variances), e. Calculate the F value. 𝑑. 𝑠𝑊 2 𝑂𝑅 𝑠𝑝 2 = 𝑆1 2 + 𝑆2 2 + 𝑆3 2 3 = 81.9 + 25.6 + 29 3 = 45.5 Company A Company B Company C 7 10 1 14 1 12 32 1 1 19 0 9 10 11 1 11 1 11 𝑥1 = 15.5, 𝑠1 2 = 81.9 𝑥2 = 4.0, 𝑠2 2 = 25.6 𝑥3 = 5.8, 𝑠3 2 = 29.0 = 229.59 45.5 = 5.05
  • 11. 11 Data shown represents the number of employees at the security gate for 3 companies. At α = 0.05, can it be concluded that there is a significant difference in the average number of employees at each interchange? Step 3: Find the critical value. Number of Groups (Factors): k = 3, d.f.N. = k – 1 = 3 – 1 = 2, Total sample size: N = 18, d.f.D. = N – k = 18 – 3 = 15 α = 0.05 → CV: 𝑭 = 3.6823 Step 4: Decision: a. Reject H0 b. The claim is True c. There is sufficient evidence to support the claim that there is a difference among the means and conclude that at least one mean is different from the others. Step 1: H0: μ1 = μ2 = μ3 H1: At least one mean is different from the others. (RTT, claim) Step 2: Test statistic: 𝐹 = 5.05 Example 2: Continued 0.05 Company A Company B Company C 7 10 1 14 1 12 32 1 1 19 0 9 10 11 1 11 1 11 𝑥1 = 15.5, 𝑠1 2 = 81.9 𝑥2 = 4.0, 𝑠2 2 = 25.6 𝑥3 = 5.8, 𝑠3 2 = 29.0 Source Sum of Squares d.f. Mean Squares F Between Within (error) 459.18 682.5 2 15 229.59 45.5 5.05 Total 1141.68 17 TI Calculator: One Way ANOVA 1. ClrList 𝑳𝟏, 𝑳𝟐, … 2. Enter data 𝑳𝟏, 𝑳𝟐, . . 3. Stat 4. Tests 5. 𝑨𝑵𝑶𝑽𝑨 (𝑳𝟏, 𝑳𝟐 , . . ) 6. Enter CV: F = 3.6823 TS: 𝑭 = 5.05