SlideShare une entreprise Scribd logo
1  sur  40
Analysis of Variance
Experimental Design
Investigator controls one or more independent
variables
– Called treatment variables or factors
– Contain two or more levels (subcategories)
Observes effect on dependent variable
– Response to levels of independent variable
Experimental design: Plan used to test
hypotheses
Parametric Test Procedures
 Involve population parameters
– Example: Population mean
 Require interval scale or ratio scale
– Whole numbers or fractions
– Example: Height in inches: 72, 60.5, 54.7
 Have stringent assumptions
Examples:
– Normal distribution
– Homogeneity of Variance
Examples: z - test, t - test
Nonparametric Test Procedures
Statistic does not depend on population
distribution
Data may be nominally or ordinally scaled
– Examples: Gender [female-male], Birth Order
May involve population parameters such as
median
Example: Wilcoxon rank sum test
Advantages
of Nonparametric Tests
 Used with all scales
 Easier to compute
– Developed before wide computer
use
 Make fewer assumptions
 Need not involve population
parameters
 Results may be as exact as
parametric procedures © 1984-1994 T/Maker Co.
Disadvantages
of Nonparametric Tests
 May waste information
– If data permit using parametric
procedures
– Example: Converting data from
ratio to ordinal scale
 Difficult to compute by hand
for large samples
 Tables not widely available
© 1984-1994 T/Maker Co.
ANOVA (one-way)
One factor,
completely randomized
design
Completely Randomized
Design
Experimental units (subjects) are assigned
randomly to treatments
– Subjects are assumed homogeneous
One factor or independent variable
– two or more treatment levels or classifications
Analyzed by [parametric statistics]:
– One-and Two-Way ANOVA
Mini-Case
After working for the Jones Graphics
Company for one year, you have the
choice of being paid by one of three
programs:
- commission only,
- fixed salary, or
- combination of the two.
Salary Plans
 Commission only?
 Fixed salary?
 Combination of the
two?
Is the average salary under the
various plans different?
Commission Fixed Salary Combination
425 420 430
507 448 492
450 437 470
483 437 501
466 444 ---
492 --- ---
Assumptions
 Homogeneity of Variance
 Normality
 Additivity
 Independence
Homogeneity of Variance
Variances associated with each
treatment in the experiment
are equal.
Normality
Each treatment population is
normally distributed.
Additivity
The effects of the model behave in an additive
fashion [e.g. : SST = SSB + SSW].
Non-additivity may be caused by the
multiplicative effects existing in the model,
exclusion of significant interactions, or by
“outliers” - observations that are inconsistent
with major responses in the experiment.
Independence
Assuming the treatment populations
are normally distributed,
the errors are not correlated.
Compares two types of variation to test
equality of means
Ratio of variances is comparison basis
If treatment variation is significantly greater
than random variation … then means are not
equal
Variation measures are obtained by
‘partitioning’ total variation
One-Way ANOVA
ANOVA (one-way)
Source of
Variation
Sum of
Squares
Degrees of
Freedom
Mean
Square
M
Sw
Between
Treatments
(Model)
SSB c - 1 SSB/(c - 1)
Within
Treatments
(Error)
SSW N - c SSW/(N - c)
Total SST N - 1
tests:
F = MSB/MSW
Sig. level < 0.05
ANOVA Partitions Total
Variation
Total variation
ANOVA Partitions Total
Variation
Variation due to
treatment
Total variation
ANOVA Partitions Total
Variation
Variation due to
treatment
Variation due to
random sampling
Total variation
ANOVA Partitions Total
Variation
Variation due to
treatment
Variation due to
random sampling
Total variation
 Sum of squares among
 Sum of squares between
 Sum of squares model
 Among groups variation
ANOVA Partitions Total
Variation
Variation due to
treatment
Variation due to
random sampling
Total variation
 Sum of squares within
 Sum of squares error
 Within groups variation
 Sum of squares among
 Sum of squares between
 Sum of squares model
 Among groups variation
Hypothesis
H0: 1 =  2 =  3
H1: Not all means are equal
tests: F -ratio = MSB / MSW
p-value < 0.05
One-Way ANOVA
 H0: 1 = 2 = 3
– All population means are
equal
– No treatment effect
 H1: Not all means are equal
– At least one population
mean is different
– Treatment effect
 NOTE: 1  2  3
– is wrong
– not correct
X
f(X)
1
= 2
= 3
X
f(X)
1
= 2
3
StatGraphics Input
salary plan
425 1
507 1
450 1
::: ::
466 1
492 1
420 2
448 2
437 2
StatGraphics Results
Source of
Variation
Sum of
Squares d.f.
Mean
Square F-ratio
Model 3,962.68 2 1,981.34 3.001
Error 7,923.05 12 660.254 ---
Total 11,885.73 14 ---
p-value
0.0877
Diagnostic Checking
 Evaluate hypothesis
H0:  1 =  2 =  3
H1: Not all means equal
 F-ratio = 3.001 {Table value = 3.89}
 significance level [p-value] = 0.0877
 Retain null hypothesis [ H0 ]
ANOVA (two-way)
Two factor factorial design
Mini-Case
Investigate the effect of decibel
output using four different
amplifiers and two different
popular brand speakers, and the
effect of both amplifier and
speaker operating jointly.
What effects decibel output?
 Type of amplifier?
 Type of speaker?
 The interaction
between amplifier
and speaker?
Are the effects of amplifiers, speakers, and
interaction significant? [Data in decibel units.]
Amplifier/
Speaker
A1 A2 A3 A4
S1
9
9
12
8
11
16
8
7
1
10
15
9
S2
7
1
4
5
9
6
0
1
7
6
7
5
Hypothesis
 Amplifier H0:  1 =  2 =  3 =  4
H1: Not all means are equal
 Speaker H0:  1 =  2
H1: Not all means are equal
 Interaction H0: The interaction is not significant
H1: The interaction is significant
StatGraphics Input
decibels amplifier speaker
9 1 1
4 1 1
12 1 1
7 1 2
1 1 2
4 1 2
8 2 1
11 2 1
16 2 1
5 2 2
::: ::: :::
StatGraphics Results
Source of
Variation
Sum of
Squares d.f.
Mean
Square F-ratio Sig. level
Main Effects
amplifier
speaker
97.79167
135.37500
3
1
32.5972
135.3750
3.589
15.319
0.0372
0.0014
Interaction
[AB]
9.45833 3 3.152778 0.347 0.7917
Residual 145.3333 16 9.08333 --- ---
Total 387.95833 23 --- --- ---
Diagnostics
Amplifier p-value = 0.0372 Reject Null
Speaker p-value = 0.0014 Reject Null
Interaction p-value = 0.7917 Retain Null
Thus, based on the data, the type of amplifier and the
type of speaker appear to effect the mean decibel
output. However, it appears there is no significant
interaction between amplifier and speaker mean
decibel output.
You and StatGraphics
 Specification
[Know assumptions
underlying various
models.]
 Estimation
[Know mechanics of
StatGraphics Plus Win].
 Diagnostic checking
Questions?
ANOVA
End of Chapter

Contenu connexe

Similaire à anova.ppt

Applied statistics lecture_8
Applied statistics lecture_8Applied statistics lecture_8
Applied statistics lecture_8
Daria Bogdanova
 
(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D
SilvaGraf83
 
(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D
MoseStaton39
 
Calculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docx
Calculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docxCalculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docx
Calculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docx
aman341480
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysis
utpal sharma
 

Similaire à anova.ppt (20)

Applied statistics lecture_8
Applied statistics lecture_8Applied statistics lecture_8
Applied statistics lecture_8
 
Anova single factor
Anova single factorAnova single factor
Anova single factor
 
Parametric test - t Test, ANOVA, ANCOVA, MANOVA
Parametric test  - t Test, ANOVA, ANCOVA, MANOVAParametric test  - t Test, ANOVA, ANCOVA, MANOVA
Parametric test - t Test, ANOVA, ANCOVA, MANOVA
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
Spss software
Spss softwareSpss software
Spss software
 
(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D
 
(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D(Individuals With Disabilities Act Transformation Over the Years)D
(Individuals With Disabilities Act Transformation Over the Years)D
 
Anova; analysis of variance
Anova; analysis of varianceAnova; analysis of variance
Anova; analysis of variance
 
Calculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docx
Calculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docxCalculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docx
Calculating Analysis of Variance (ANOVA) and Post Hoc Analyses Follo.docx
 
Basics of biostatistic
Basics of biostatisticBasics of biostatistic
Basics of biostatistic
 
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
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 
Factorial Experiments
Factorial ExperimentsFactorial Experiments
Factorial Experiments
 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptx
 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptx
 
1 main spss test summary 2020 ultimate
1 main spss test  summary 2020 ultimate1 main spss test  summary 2020 ultimate
1 main spss test summary 2020 ultimate
 
Inferential Statistics.pptx
Inferential Statistics.pptxInferential Statistics.pptx
Inferential Statistics.pptx
 
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W2 Simple Variance Ana...
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W2 Simple Variance Ana...Javier Garcia - Verdugo Sanchez - Six Sigma Training - W2 Simple Variance Ana...
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W2 Simple Variance Ana...
 
Repeated-Measures and Two-Factor Analysis of Variance
Repeated-Measures and Two-Factor Analysis of VarianceRepeated-Measures and Two-Factor Analysis of Variance
Repeated-Measures and Two-Factor Analysis of Variance
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysis
 

Dernier

Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
HyderabadDolls
 
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
HyderabadDolls
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Klinik kandungan
 
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
HyderabadDolls
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
nirzagarg
 
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
HyderabadDolls
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
nirzagarg
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
gajnagarg
 
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
gajnagarg
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
nirzagarg
 

Dernier (20)

Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
 
💞 Safe And Secure Call Girls Agra Call Girls Service Just Call 🍑👄6378878445 🍑...
💞 Safe And Secure Call Girls Agra Call Girls Service Just Call 🍑👄6378878445 🍑...💞 Safe And Secure Call Girls Agra Call Girls Service Just Call 🍑👄6378878445 🍑...
💞 Safe And Secure Call Girls Agra Call Girls Service Just Call 🍑👄6378878445 🍑...
 
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
 
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt
 
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
 
Statistics notes ,it includes mean to index numbers
Statistics notes ,it includes mean to index numbersStatistics notes ,it includes mean to index numbers
Statistics notes ,it includes mean to index numbers
 
TrafficWave Generator Will Instantly drive targeted and engaging traffic back...
TrafficWave Generator Will Instantly drive targeted and engaging traffic back...TrafficWave Generator Will Instantly drive targeted and engaging traffic back...
TrafficWave Generator Will Instantly drive targeted and engaging traffic back...
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
 
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
 

anova.ppt

  • 2. Experimental Design Investigator controls one or more independent variables – Called treatment variables or factors – Contain two or more levels (subcategories) Observes effect on dependent variable – Response to levels of independent variable Experimental design: Plan used to test hypotheses
  • 3. Parametric Test Procedures  Involve population parameters – Example: Population mean  Require interval scale or ratio scale – Whole numbers or fractions – Example: Height in inches: 72, 60.5, 54.7  Have stringent assumptions Examples: – Normal distribution – Homogeneity of Variance Examples: z - test, t - test
  • 4. Nonparametric Test Procedures Statistic does not depend on population distribution Data may be nominally or ordinally scaled – Examples: Gender [female-male], Birth Order May involve population parameters such as median Example: Wilcoxon rank sum test
  • 5. Advantages of Nonparametric Tests  Used with all scales  Easier to compute – Developed before wide computer use  Make fewer assumptions  Need not involve population parameters  Results may be as exact as parametric procedures © 1984-1994 T/Maker Co.
  • 6. Disadvantages of Nonparametric Tests  May waste information – If data permit using parametric procedures – Example: Converting data from ratio to ordinal scale  Difficult to compute by hand for large samples  Tables not widely available © 1984-1994 T/Maker Co.
  • 8. Completely Randomized Design Experimental units (subjects) are assigned randomly to treatments – Subjects are assumed homogeneous One factor or independent variable – two or more treatment levels or classifications Analyzed by [parametric statistics]: – One-and Two-Way ANOVA
  • 9. Mini-Case After working for the Jones Graphics Company for one year, you have the choice of being paid by one of three programs: - commission only, - fixed salary, or - combination of the two.
  • 10. Salary Plans  Commission only?  Fixed salary?  Combination of the two?
  • 11. Is the average salary under the various plans different? Commission Fixed Salary Combination 425 420 430 507 448 492 450 437 470 483 437 501 466 444 --- 492 --- ---
  • 12. Assumptions  Homogeneity of Variance  Normality  Additivity  Independence
  • 13. Homogeneity of Variance Variances associated with each treatment in the experiment are equal.
  • 14. Normality Each treatment population is normally distributed.
  • 15. Additivity The effects of the model behave in an additive fashion [e.g. : SST = SSB + SSW]. Non-additivity may be caused by the multiplicative effects existing in the model, exclusion of significant interactions, or by “outliers” - observations that are inconsistent with major responses in the experiment.
  • 16. Independence Assuming the treatment populations are normally distributed, the errors are not correlated.
  • 17. Compares two types of variation to test equality of means Ratio of variances is comparison basis If treatment variation is significantly greater than random variation … then means are not equal Variation measures are obtained by ‘partitioning’ total variation One-Way ANOVA
  • 18. ANOVA (one-way) Source of Variation Sum of Squares Degrees of Freedom Mean Square M Sw Between Treatments (Model) SSB c - 1 SSB/(c - 1) Within Treatments (Error) SSW N - c SSW/(N - c) Total SST N - 1 tests: F = MSB/MSW Sig. level < 0.05
  • 20. ANOVA Partitions Total Variation Variation due to treatment Total variation
  • 21. ANOVA Partitions Total Variation Variation due to treatment Variation due to random sampling Total variation
  • 22. ANOVA Partitions Total Variation Variation due to treatment Variation due to random sampling Total variation  Sum of squares among  Sum of squares between  Sum of squares model  Among groups variation
  • 23. ANOVA Partitions Total Variation Variation due to treatment Variation due to random sampling Total variation  Sum of squares within  Sum of squares error  Within groups variation  Sum of squares among  Sum of squares between  Sum of squares model  Among groups variation
  • 24. Hypothesis H0: 1 =  2 =  3 H1: Not all means are equal tests: F -ratio = MSB / MSW p-value < 0.05
  • 25. One-Way ANOVA  H0: 1 = 2 = 3 – All population means are equal – No treatment effect  H1: Not all means are equal – At least one population mean is different – Treatment effect  NOTE: 1  2  3 – is wrong – not correct X f(X) 1 = 2 = 3 X f(X) 1 = 2 3
  • 26. StatGraphics Input salary plan 425 1 507 1 450 1 ::: :: 466 1 492 1 420 2 448 2 437 2
  • 27. StatGraphics Results Source of Variation Sum of Squares d.f. Mean Square F-ratio Model 3,962.68 2 1,981.34 3.001 Error 7,923.05 12 660.254 --- Total 11,885.73 14 --- p-value 0.0877
  • 28. Diagnostic Checking  Evaluate hypothesis H0:  1 =  2 =  3 H1: Not all means equal  F-ratio = 3.001 {Table value = 3.89}  significance level [p-value] = 0.0877  Retain null hypothesis [ H0 ]
  • 29. ANOVA (two-way) Two factor factorial design
  • 30. Mini-Case Investigate the effect of decibel output using four different amplifiers and two different popular brand speakers, and the effect of both amplifier and speaker operating jointly.
  • 31. What effects decibel output?  Type of amplifier?  Type of speaker?  The interaction between amplifier and speaker?
  • 32. Are the effects of amplifiers, speakers, and interaction significant? [Data in decibel units.] Amplifier/ Speaker A1 A2 A3 A4 S1 9 9 12 8 11 16 8 7 1 10 15 9 S2 7 1 4 5 9 6 0 1 7 6 7 5
  • 33. Hypothesis  Amplifier H0:  1 =  2 =  3 =  4 H1: Not all means are equal  Speaker H0:  1 =  2 H1: Not all means are equal  Interaction H0: The interaction is not significant H1: The interaction is significant
  • 34. StatGraphics Input decibels amplifier speaker 9 1 1 4 1 1 12 1 1 7 1 2 1 1 2 4 1 2 8 2 1 11 2 1 16 2 1 5 2 2 ::: ::: :::
  • 35. StatGraphics Results Source of Variation Sum of Squares d.f. Mean Square F-ratio Sig. level Main Effects amplifier speaker 97.79167 135.37500 3 1 32.5972 135.3750 3.589 15.319 0.0372 0.0014 Interaction [AB] 9.45833 3 3.152778 0.347 0.7917 Residual 145.3333 16 9.08333 --- --- Total 387.95833 23 --- --- ---
  • 36. Diagnostics Amplifier p-value = 0.0372 Reject Null Speaker p-value = 0.0014 Reject Null Interaction p-value = 0.7917 Retain Null Thus, based on the data, the type of amplifier and the type of speaker appear to effect the mean decibel output. However, it appears there is no significant interaction between amplifier and speaker mean decibel output.
  • 37. You and StatGraphics  Specification [Know assumptions underlying various models.]  Estimation [Know mechanics of StatGraphics Plus Win].  Diagnostic checking
  • 39. ANOVA