SlideShare a Scribd company logo
1 of 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

More Related Content

Similar to anova.ppt

Applied statistics lecture_8
Applied statistics lecture_8Applied statistics lecture_8
Applied statistics lecture_8Daria Bogdanova
 
Anova single factor
Anova single factorAnova single factor
Anova single factorDhruv Patel
 
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, MANOVAPrincy Francis M
 
(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)DSilvaGraf83
 
(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)DMoseStaton39
 
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.docxaman341480
 
Basics of biostatistic
Basics of biostatisticBasics of biostatistic
Basics of biostatisticNeurologyKota
 
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.pptxrodrickrajamanickam
 
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 ultimateMohammad Dwikat
 
Inferential Statistics.pptx
Inferential Statistics.pptxInferential Statistics.pptx
Inferential Statistics.pptxjonatanjohn1
 
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...J. García - Verdugo
 
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 Variancejasondroesch
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysisutpal sharma
 

Similar to 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
 

Recently uploaded

Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...limedy534
 
Heart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectHeart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectBoston Institute of Analytics
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFAAndrei Kaleshka
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...Boston Institute of Analytics
 
Multiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdfMultiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdfchwongval
 
Machine learning classification ppt.ppt
Machine learning classification  ppt.pptMachine learning classification  ppt.ppt
Machine learning classification ppt.pptamreenkhanum0307
 
Biometric Authentication: The Evolution, Applications, Benefits and Challenge...
Biometric Authentication: The Evolution, Applications, Benefits and Challenge...Biometric Authentication: The Evolution, Applications, Benefits and Challenge...
Biometric Authentication: The Evolution, Applications, Benefits and Challenge...GQ Research
 
Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Seán Kennedy
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPTBoston Institute of Analytics
 
Learn How Data Science Changes Our World
Learn How Data Science Changes Our WorldLearn How Data Science Changes Our World
Learn How Data Science Changes Our WorldEduminds Learning
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改yuu sss
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfJohn Sterrett
 
Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanMYRABACSAFRA2
 
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxNLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxBoston Institute of Analytics
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 

Recently uploaded (20)

Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
 
Heart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectHeart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis Project
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFA
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
 
Multiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdfMultiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdf
 
Machine learning classification ppt.ppt
Machine learning classification  ppt.pptMachine learning classification  ppt.ppt
Machine learning classification ppt.ppt
 
Biometric Authentication: The Evolution, Applications, Benefits and Challenge...
Biometric Authentication: The Evolution, Applications, Benefits and Challenge...Biometric Authentication: The Evolution, Applications, Benefits and Challenge...
Biometric Authentication: The Evolution, Applications, Benefits and Challenge...
 
Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
 
Learn How Data Science Changes Our World
Learn How Data Science Changes Our WorldLearn How Data Science Changes Our World
Learn How Data Science Changes Our World
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdf
 
Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population Mean
 
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxNLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 

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