SlideShare a Scribd company logo
1 of 38
1
Basic Concepts of One-way
Analysis of Variance
(ANOVA)
Sporiš Goran, PhD.
http://kif.hr/predmet/mki
http://www.science4performance.com/
2
Overview
• What is ANOVA?
• When is it useful?
• How does it work?
• Some Examples
• Limitations
• Conclusions
3
Definitions
• ANOVA: analysis of variation in an
experimental outcome and
especially of a statistical variance in
order to determine the contributions
of given factors or variables to the
variance.
• Remember: Variance: the square of
the standard deviation
Remember: RA
Fischer, 1919-
Evolutionary Biology
4
Introduction
• Any data set has variability
• Variability exists within groups…
• and between groups
• Question that ANOVA allows us to
answer : Is this variability significant, or
merely by chance?
5
• The difference between variation
within a group and variation
between groups may help us
determine this. If both are equal it is
likely that it is due to chance and
not significant.
• H0: Variability w/i groups =
variability b/t groups, this means
that 1 = n
• Ha: Variability w/i groups does not =
variability b/t groups, or, 1 ≠ n
6
Assumptions
• Normal distribution
• Variances of dependent
variable are equal in all
populations
• Random samples; independent
scores
7
One-Way ANOVA
• One factor (manipulated
variable)
• One response variable
• Two or more groups to
compare
8
Usefulness
• Similar to t-test
• More versatile than t-test
• Compare one parameter
(response variable) between
two or more groups
9
For instance, ANOVA
Could be Used to:
• Compare heights of plants with and
without galls
• Compare birth weights of deer in
different geographical regions
• Compare responses of patients to
real medication vs. placebo
• Compare attention spans of
undergraduate students in different
programs at PC.
10
Why Not Just Use t-
tests?
• Tedious when many groups are
present
• Using all data increases
stability
• Large number of
comparisons some may
appear significant by chance
11
Remember that…
• Standard deviation (s)
n
s = √[(Σ (xi
– X)2
)/(n-1)]
i = 1
• In this case: Degrees of freedom (df)
df = Number of observations or groups - 1
12
Notation
• k = # of groups
• n = # observations in each group
• xij = one observation in group i
• Y = mean over all groups
• Yi = mean for group i
• SS = Sum of Squares
• MS = Mean of Squares
• λ = Between MS/Within MS
13
FYI this is how SS
Values are calculated
k ni
• Total SS = Σ Σ (xij
– )2 =
SStot
i=1 j=1
k ni
• Within SS = Σ Σ (xij
– i
)2 =
SSw
i=1 j=1
k ni
• Between SS = Σ Σ ( i
– )2 =
SSbet
i=1 j=1
14
and
• SStot = SSw + SSbet
15
Calculating MS Values
• MS = SS/df
• For between groups, df = k-1
• For within groups, df= n-k
16
Hypothesis Testing &
Significance Levels
17
F-Ratio = MSBet/MSw
• If:
– The ratio of Between-Groups MS:
Within-Groups MS is LARGE reject
H0 there is a difference between
groups
– The ratio of Between-Groups MS:
Within-Groups MS is SMALLdo not
reject H0 there is no difference
between groups
18
p-values
• Use table in stats book to determine
p
• Use df for numerator and
denominator
• Choose level of significance
• If F > critical value, reject the null
hypothesis (for one-tail test)
19
Example 1, pp. 400 of
your handout
• Three groups:
– Middle class sample
– Persons on welfare
– Lower-middle class sample
• Question: Are attitudes toward
welfare payments the same?
20
So,
21
and
From the table with  = 0.05 and df = 2 and 24, we see that if
F > 3.40 we can reject Ho. This is what we would conclude
in this case.
22
Example 2
• Bat cave gates:
– Group 1 = No gate (NG)
– Group 2 = Straight entrance gate (SE)
– Group 3 = Angled entrance gate (AE)
– Group 4 = Straight dark zone gate (SD)
– Group 5 = Angled dark zone gate (AD)
• Question: Is variation in bat flight
speed greater within or between
groups? Or Ho = no difference
significant difference in means.
23
Just leave me alone
Max! Go back to
your hockey!
24
Example 2 (cont’d)
Group #,
i
Gate
Type
Mean FS (m/s) sd FS (m/s) ni
1 NG 5.6 0.93 150
2 SE 3.8 1.05 150
3 AE 4.7 0.97 150
4 SD 4.2 1.23 137
5 AD 5.1 1.03 143
Hypothetical data for bat flight speed with various gate arrangements.
FS= Flight speed; sd = standard deviation
25
Example 2  SSbet
Between SS = 300
Group
#, i
Gate
Type
Mean FS
(m/s)
sd FS (m/s) ni
1 NG 5.6 0.93 150
2 SE 3.8 1.05 150
3 AE 4.7 0.97 150
4 SD 4.2 1.23 137
5 AD 5.1 1.03 143
26
Example 2  SSw
Within SS = 790
Group
#, i
Gate
Type
Mean FS
(m/s)
sd FS (m/s) ni
1 NG 5.6 0.93 150
2 SE 3.8 1.05 150
3 AE 4.7 0.97 150
4 SD 4.2 1.23 137
5 AD 5.1 1.03 143
27
Example 2 (cont’d)
• Between MS = 300/4 = 75
• Within MS = 790/(730-5) = 1.09
• F Ratio = 75/1.09 = 68.8
• See Table find p-value based on
df= 4,
• Since F>value found on the table we
reject Ho.
28
What ANOVA Cannot
Do
• Tell which groups are different
– Post-hoc test of mean differences
required
• Compare multiple parameters
for multiple groups (so it
cannot be used for multiple
response variables)
29
Some Variations
• Two-Way, Three-Way, etc.
ANOVA (will talk about this next
class)
– 2+ factors
• MANOVA (Multiple analysis of
variance)
– multiple response variables
30
Summary
• ANOVA:
– allows us to know if variability in a data
set is between groups or merely within
groups
– is more versatile than t-test
– can compare multiple groups at once
– cannot process multiple response
variables
– does not indicate which groups are
different
31
Now, let’s go to our
SPSS manual
• Perform the sample problem on the effects
of attachment styles on the psychology of
sleep with the data set from the NAAGE
site called Delta Sleep.
• Pay attention to the procedure and the
post-hoc tests to determine which groups
are significantly different. Perform the
Tukey Test at a 5% significance level.
• Look at your output and interpret your
results.
• Tell me when you are done.
32
So, you had
33
Then, following the steps
34
35
You got
36
and
37
What do all these
mean?
38
When you are done
with this,
• Do practice exercises 1, 4, 6, 7
and 12 from the handout in
SPSS.
– Create the data sets.
– Run the one-way ANOVAS and
interpret your results.

More Related Content

What's hot

Introduction to ANOVA
Introduction to ANOVAIntroduction to ANOVA
Introduction to ANOVAAKASH GHANATE
 
Anova ONE WAY
Anova ONE WAYAnova ONE WAY
Anova ONE WAYelulu123
 
Two-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretationTwo-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretationSr Edith Bogue
 
oneway ANOVA.ppt
oneway ANOVA.pptoneway ANOVA.ppt
oneway ANOVA.pptNeha Madan
 
Chi square test
Chi square testChi square test
Chi square testNayna Azad
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of varianceAndi Koentary
 
Chi square test final
Chi square test finalChi square test final
Chi square test finalHar Jindal
 
Mann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsMann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsTransweb Global Inc
 
Full Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVAFull Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVAStevegellKololi
 
Assumptions underlying the one way anova
Assumptions underlying the one way anovaAssumptions underlying the one way anova
Assumptions underlying the one way anovaTAYYABA MAHR
 
Randomized complete block_design_rcbd_
Randomized complete block_design_rcbd_Randomized complete block_design_rcbd_
Randomized complete block_design_rcbd_Rione Drevale
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminHazilahMohd
 
Repeated anova measures ppt
Repeated anova measures pptRepeated anova measures ppt
Repeated anova measures pptAamna Haneef
 
Anova lecture
Anova lectureAnova lecture
Anova lecturedoublem44
 

What's hot (20)

Introduction to ANOVA
Introduction to ANOVAIntroduction to ANOVA
Introduction to ANOVA
 
Anova ONE WAY
Anova ONE WAYAnova ONE WAY
Anova ONE WAY
 
Two-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretationTwo-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretation
 
oneway ANOVA.ppt
oneway ANOVA.pptoneway ANOVA.ppt
oneway ANOVA.ppt
 
{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx
 
Chi square test
Chi square testChi square test
Chi square test
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Chi square test final
Chi square test finalChi square test final
Chi square test final
 
Mann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsMann Whitney U Test | Statistics
Mann Whitney U Test | Statistics
 
Statistical test
Statistical testStatistical test
Statistical test
 
Full Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVAFull Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVA
 
Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)
 
Assumptions underlying the one way anova
Assumptions underlying the one way anovaAssumptions underlying the one way anova
Assumptions underlying the one way anova
 
Randomized complete block_design_rcbd_
Randomized complete block_design_rcbd_Randomized complete block_design_rcbd_
Randomized complete block_design_rcbd_
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
 
Repeated anova measures ppt
Repeated anova measures pptRepeated anova measures ppt
Repeated anova measures ppt
 
Anova lecture
Anova lectureAnova lecture
Anova lecture
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Chi square
Chi squareChi square
Chi square
 
Binary Logistic Regression
Binary Logistic RegressionBinary Logistic Regression
Binary Logistic Regression
 

Viewers also liked (20)

Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
Dissolution considerations for novel immediate release formulations
Dissolution considerations for novel immediate release formulationsDissolution considerations for novel immediate release formulations
Dissolution considerations for novel immediate release formulations
 
Consolidation seminar......
Consolidation seminar......Consolidation seminar......
Consolidation seminar......
 
Manova dalam spss
Manova dalam spssManova dalam spss
Manova dalam spss
 
Oneway ANOVA - Overview
Oneway ANOVA - OverviewOneway ANOVA - Overview
Oneway ANOVA - Overview
 
metodologi penelitian
metodologi penelitianmetodologi penelitian
metodologi penelitian
 
study design for bioavailability and bioequivalence
study design for bioavailability and bioequivalencestudy design for bioavailability and bioequivalence
study design for bioavailability and bioequivalence
 
analisis varians
analisis varians analisis varians
analisis varians
 
Analisis varian (anava)
Analisis varian (anava)Analisis varian (anava)
Analisis varian (anava)
 
PPT ANALISIS DATA SURVEI
PPT ANALISIS DATA SURVEIPPT ANALISIS DATA SURVEI
PPT ANALISIS DATA SURVEI
 
Dissolution study
Dissolution  studyDissolution  study
Dissolution study
 
In Anova
In  AnovaIn  Anova
In Anova
 
Presentasi uji manova
Presentasi uji manovaPresentasi uji manova
Presentasi uji manova
 
Data analysis with spss anova
Data analysis with spss anovaData analysis with spss anova
Data analysis with spss anova
 
Micro emulsions and multiple emulsions
Micro emulsions and multiple emulsionsMicro emulsions and multiple emulsions
Micro emulsions and multiple emulsions
 
Diffusion final
Diffusion finalDiffusion final
Diffusion final
 
Multiple and microemulsions
Multiple and microemulsionsMultiple and microemulsions
Multiple and microemulsions
 
Manova
ManovaManova
Manova
 
Biogeochemical cycles C, H2O, N, and O
Biogeochemical cycles C, H2O, N, and O Biogeochemical cycles C, H2O, N, and O
Biogeochemical cycles C, H2O, N, and O
 
Dissolution testing
Dissolution testingDissolution testing
Dissolution testing
 

Similar to 9. basic concepts_of_one_way_analysis_of_variance_(anova)

Similar to 9. basic concepts_of_one_way_analysis_of_variance_(anova) (20)

Applied statistics lecture_8
Applied statistics lecture_8Applied statistics lecture_8
Applied statistics lecture_8
 
Stat2013
Stat2013Stat2013
Stat2013
 
anova.ppt
anova.pptanova.ppt
anova.ppt
 
Anova.ppt
Anova.pptAnova.ppt
Anova.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOIANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
One-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual FoundationsOne-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual Foundations
 
Anova one way sem 1 20142015 dk
Anova one way sem 1 20142015 dkAnova one way sem 1 20142015 dk
Anova one way sem 1 20142015 dk
 
Anova (Analysis of variation)
Anova (Analysis of variation)Anova (Analysis of variation)
Anova (Analysis of variation)
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
 
ANOVA 2023 aa 2564896.pptx
ANOVA 2023  aa 2564896.pptxANOVA 2023  aa 2564896.pptx
ANOVA 2023 aa 2564896.pptx
 
ayANOVA.ppt
ayANOVA.pptayANOVA.ppt
ayANOVA.ppt
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
 
Shovan anova main
Shovan anova mainShovan anova main
Shovan anova main
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysis
 
classmar16.ppt
classmar16.pptclassmar16.ppt
classmar16.ppt
 

More from Irfan Hussain

43 fb,price index, diabeties
43 fb,price index, diabeties43 fb,price index, diabeties
43 fb,price index, diabetiesIrfan Hussain
 
40 child labour,employment system,dollar rate
40 child labour,employment system,dollar rate40 child labour,employment system,dollar rate
40 child labour,employment system,dollar rateIrfan Hussain
 
39 onlineshopping,flood,adr
39 onlineshopping,flood,adr39 onlineshopping,flood,adr
39 onlineshopping,flood,adrIrfan Hussain
 
35 live stoke of pakistan ,retirement age ,rural population in pakistan
35 live stoke of pakistan ,retirement age ,rural population in pakistan35 live stoke of pakistan ,retirement age ,rural population in pakistan
35 live stoke of pakistan ,retirement age ,rural population in pakistanIrfan Hussain
 
30 unclean drinking water and its affects, transport system
30 unclean drinking water and its affects, transport system30 unclean drinking water and its affects, transport system
30 unclean drinking water and its affects, transport systemIrfan Hussain
 
29 popltn sutrctre,labour employmnt,personal saving
29 popltn sutrctre,labour employmnt,personal saving29 popltn sutrctre,labour employmnt,personal saving
29 popltn sutrctre,labour employmnt,personal savingIrfan Hussain
 
28 racism,manufacturing activity,alcohol addictn
28 racism,manufacturing activity,alcohol addictn28 racism,manufacturing activity,alcohol addictn
28 racism,manufacturing activity,alcohol addictnIrfan Hussain
 
27 educatn budgt,selfie,mp
27 educatn budgt,selfie,mp27 educatn budgt,selfie,mp
27 educatn budgt,selfie,mpIrfan Hussain
 
26 age structure, twitter, joint family system
26 age structure, twitter, joint family system26 age structure, twitter, joint family system
26 age structure, twitter, joint family systemIrfan Hussain
 
25 retail trade,dovorce causes,crude death rate
25 retail trade,dovorce causes,crude death rate25 retail trade,dovorce causes,crude death rate
25 retail trade,dovorce causes,crude death rateIrfan Hussain
 
24 utility stores, functions, load shading, transport
24 utility stores, functions, load shading, transport24 utility stores, functions, load shading, transport
24 utility stores, functions, load shading, transportIrfan Hussain
 
21 production of electricity,deforestion,sex ratio
21 production of electricity,deforestion,sex ratio21 production of electricity,deforestion,sex ratio
21 production of electricity,deforestion,sex ratioIrfan Hussain
 
20 agricultre,gold,insurance policy
20 agricultre,gold,insurance policy20 agricultre,gold,insurance policy
20 agricultre,gold,insurance policyIrfan Hussain
 
19 urbanization,import and export,culture of pakistan
19 urbanization,import and export,culture of pakistan19 urbanization,import and export,culture of pakistan
19 urbanization,import and export,culture of pakistanIrfan Hussain
 
18(10) birth and death rate,house rent,income and wages
18(10) birth and death rate,house rent,income and wages18(10) birth and death rate,house rent,income and wages
18(10) birth and death rate,house rent,income and wagesIrfan Hussain
 
18 currency strength,fertility rate,whatsapp
18 currency strength,fertility rate,whatsapp18 currency strength,fertility rate,whatsapp
18 currency strength,fertility rate,whatsappIrfan Hussain
 
17 public revenue, tax,gov spndng
17 public revenue, tax,gov spndng17 public revenue, tax,gov spndng
17 public revenue, tax,gov spndngIrfan Hussain
 
16 migrtion,tax revenue,total revenue
16 migrtion,tax revenue,total revenue16 migrtion,tax revenue,total revenue
16 migrtion,tax revenue,total revenueIrfan Hussain
 
14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technologyIrfan Hussain
 

More from Irfan Hussain (20)

43 fb,price index, diabeties
43 fb,price index, diabeties43 fb,price index, diabeties
43 fb,price index, diabeties
 
40 child labour,employment system,dollar rate
40 child labour,employment system,dollar rate40 child labour,employment system,dollar rate
40 child labour,employment system,dollar rate
 
39 onlineshopping,flood,adr
39 onlineshopping,flood,adr39 onlineshopping,flood,adr
39 onlineshopping,flood,adr
 
35 live stoke of pakistan ,retirement age ,rural population in pakistan
35 live stoke of pakistan ,retirement age ,rural population in pakistan35 live stoke of pakistan ,retirement age ,rural population in pakistan
35 live stoke of pakistan ,retirement age ,rural population in pakistan
 
30 unclean drinking water and its affects, transport system
30 unclean drinking water and its affects, transport system30 unclean drinking water and its affects, transport system
30 unclean drinking water and its affects, transport system
 
29 popltn sutrctre,labour employmnt,personal saving
29 popltn sutrctre,labour employmnt,personal saving29 popltn sutrctre,labour employmnt,personal saving
29 popltn sutrctre,labour employmnt,personal saving
 
28 racism,manufacturing activity,alcohol addictn
28 racism,manufacturing activity,alcohol addictn28 racism,manufacturing activity,alcohol addictn
28 racism,manufacturing activity,alcohol addictn
 
27 educatn budgt,selfie,mp
27 educatn budgt,selfie,mp27 educatn budgt,selfie,mp
27 educatn budgt,selfie,mp
 
26 age structure, twitter, joint family system
26 age structure, twitter, joint family system26 age structure, twitter, joint family system
26 age structure, twitter, joint family system
 
25 retail trade,dovorce causes,crude death rate
25 retail trade,dovorce causes,crude death rate25 retail trade,dovorce causes,crude death rate
25 retail trade,dovorce causes,crude death rate
 
24 utility stores, functions, load shading, transport
24 utility stores, functions, load shading, transport24 utility stores, functions, load shading, transport
24 utility stores, functions, load shading, transport
 
23 stock market
23 stock market23 stock market
23 stock market
 
21 production of electricity,deforestion,sex ratio
21 production of electricity,deforestion,sex ratio21 production of electricity,deforestion,sex ratio
21 production of electricity,deforestion,sex ratio
 
20 agricultre,gold,insurance policy
20 agricultre,gold,insurance policy20 agricultre,gold,insurance policy
20 agricultre,gold,insurance policy
 
19 urbanization,import and export,culture of pakistan
19 urbanization,import and export,culture of pakistan19 urbanization,import and export,culture of pakistan
19 urbanization,import and export,culture of pakistan
 
18(10) birth and death rate,house rent,income and wages
18(10) birth and death rate,house rent,income and wages18(10) birth and death rate,house rent,income and wages
18(10) birth and death rate,house rent,income and wages
 
18 currency strength,fertility rate,whatsapp
18 currency strength,fertility rate,whatsapp18 currency strength,fertility rate,whatsapp
18 currency strength,fertility rate,whatsapp
 
17 public revenue, tax,gov spndng
17 public revenue, tax,gov spndng17 public revenue, tax,gov spndng
17 public revenue, tax,gov spndng
 
16 migrtion,tax revenue,total revenue
16 migrtion,tax revenue,total revenue16 migrtion,tax revenue,total revenue
16 migrtion,tax revenue,total revenue
 
14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology
 

Recently uploaded

80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 

Recently uploaded (20)

80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

9. basic concepts_of_one_way_analysis_of_variance_(anova)

  • 1. 1 Basic Concepts of One-way Analysis of Variance (ANOVA) Sporiš Goran, PhD. http://kif.hr/predmet/mki http://www.science4performance.com/
  • 2. 2 Overview • What is ANOVA? • When is it useful? • How does it work? • Some Examples • Limitations • Conclusions
  • 3. 3 Definitions • ANOVA: analysis of variation in an experimental outcome and especially of a statistical variance in order to determine the contributions of given factors or variables to the variance. • Remember: Variance: the square of the standard deviation Remember: RA Fischer, 1919- Evolutionary Biology
  • 4. 4 Introduction • Any data set has variability • Variability exists within groups… • and between groups • Question that ANOVA allows us to answer : Is this variability significant, or merely by chance?
  • 5. 5 • The difference between variation within a group and variation between groups may help us determine this. If both are equal it is likely that it is due to chance and not significant. • H0: Variability w/i groups = variability b/t groups, this means that 1 = n • Ha: Variability w/i groups does not = variability b/t groups, or, 1 ≠ n
  • 6. 6 Assumptions • Normal distribution • Variances of dependent variable are equal in all populations • Random samples; independent scores
  • 7. 7 One-Way ANOVA • One factor (manipulated variable) • One response variable • Two or more groups to compare
  • 8. 8 Usefulness • Similar to t-test • More versatile than t-test • Compare one parameter (response variable) between two or more groups
  • 9. 9 For instance, ANOVA Could be Used to: • Compare heights of plants with and without galls • Compare birth weights of deer in different geographical regions • Compare responses of patients to real medication vs. placebo • Compare attention spans of undergraduate students in different programs at PC.
  • 10. 10 Why Not Just Use t- tests? • Tedious when many groups are present • Using all data increases stability • Large number of comparisons some may appear significant by chance
  • 11. 11 Remember that… • Standard deviation (s) n s = √[(Σ (xi – X)2 )/(n-1)] i = 1 • In this case: Degrees of freedom (df) df = Number of observations or groups - 1
  • 12. 12 Notation • k = # of groups • n = # observations in each group • xij = one observation in group i • Y = mean over all groups • Yi = mean for group i • SS = Sum of Squares • MS = Mean of Squares • λ = Between MS/Within MS
  • 13. 13 FYI this is how SS Values are calculated k ni • Total SS = Σ Σ (xij – )2 = SStot i=1 j=1 k ni • Within SS = Σ Σ (xij – i )2 = SSw i=1 j=1 k ni • Between SS = Σ Σ ( i – )2 = SSbet i=1 j=1
  • 14. 14 and • SStot = SSw + SSbet
  • 15. 15 Calculating MS Values • MS = SS/df • For between groups, df = k-1 • For within groups, df= n-k
  • 17. 17 F-Ratio = MSBet/MSw • If: – The ratio of Between-Groups MS: Within-Groups MS is LARGE reject H0 there is a difference between groups – The ratio of Between-Groups MS: Within-Groups MS is SMALLdo not reject H0 there is no difference between groups
  • 18. 18 p-values • Use table in stats book to determine p • Use df for numerator and denominator • Choose level of significance • If F > critical value, reject the null hypothesis (for one-tail test)
  • 19. 19 Example 1, pp. 400 of your handout • Three groups: – Middle class sample – Persons on welfare – Lower-middle class sample • Question: Are attitudes toward welfare payments the same?
  • 21. 21 and From the table with  = 0.05 and df = 2 and 24, we see that if F > 3.40 we can reject Ho. This is what we would conclude in this case.
  • 22. 22 Example 2 • Bat cave gates: – Group 1 = No gate (NG) – Group 2 = Straight entrance gate (SE) – Group 3 = Angled entrance gate (AE) – Group 4 = Straight dark zone gate (SD) – Group 5 = Angled dark zone gate (AD) • Question: Is variation in bat flight speed greater within or between groups? Or Ho = no difference significant difference in means.
  • 23. 23 Just leave me alone Max! Go back to your hockey!
  • 24. 24 Example 2 (cont’d) Group #, i Gate Type Mean FS (m/s) sd FS (m/s) ni 1 NG 5.6 0.93 150 2 SE 3.8 1.05 150 3 AE 4.7 0.97 150 4 SD 4.2 1.23 137 5 AD 5.1 1.03 143 Hypothetical data for bat flight speed with various gate arrangements. FS= Flight speed; sd = standard deviation
  • 25. 25 Example 2  SSbet Between SS = 300 Group #, i Gate Type Mean FS (m/s) sd FS (m/s) ni 1 NG 5.6 0.93 150 2 SE 3.8 1.05 150 3 AE 4.7 0.97 150 4 SD 4.2 1.23 137 5 AD 5.1 1.03 143
  • 26. 26 Example 2  SSw Within SS = 790 Group #, i Gate Type Mean FS (m/s) sd FS (m/s) ni 1 NG 5.6 0.93 150 2 SE 3.8 1.05 150 3 AE 4.7 0.97 150 4 SD 4.2 1.23 137 5 AD 5.1 1.03 143
  • 27. 27 Example 2 (cont’d) • Between MS = 300/4 = 75 • Within MS = 790/(730-5) = 1.09 • F Ratio = 75/1.09 = 68.8 • See Table find p-value based on df= 4, • Since F>value found on the table we reject Ho.
  • 28. 28 What ANOVA Cannot Do • Tell which groups are different – Post-hoc test of mean differences required • Compare multiple parameters for multiple groups (so it cannot be used for multiple response variables)
  • 29. 29 Some Variations • Two-Way, Three-Way, etc. ANOVA (will talk about this next class) – 2+ factors • MANOVA (Multiple analysis of variance) – multiple response variables
  • 30. 30 Summary • ANOVA: – allows us to know if variability in a data set is between groups or merely within groups – is more versatile than t-test – can compare multiple groups at once – cannot process multiple response variables – does not indicate which groups are different
  • 31. 31 Now, let’s go to our SPSS manual • Perform the sample problem on the effects of attachment styles on the psychology of sleep with the data set from the NAAGE site called Delta Sleep. • Pay attention to the procedure and the post-hoc tests to determine which groups are significantly different. Perform the Tukey Test at a 5% significance level. • Look at your output and interpret your results. • Tell me when you are done.
  • 34. 34
  • 37. 37 What do all these mean?
  • 38. 38 When you are done with this, • Do practice exercises 1, 4, 6, 7 and 12 from the handout in SPSS. – Create the data sets. – Run the one-way ANOVAS and interpret your results.

Editor's Notes

  1. There are exceptions, and some of these assumptions can be violated: Assump. 1 can be violated if large sample size present If assump. 3 is violated, the ANOVA’s F value gives an inaccurate p-value.
  2. Similar: use both to compare groups
  3. e.g., six (6) groups or treatments = 15 different t-tests if done that way.
  4. sd = difference between each value and the mean, squared, then all added together and divided by (n-1) THEN take the square root of this value
  5. For grouped data (use diff. equation for raw data) Total SS = Between SS + Within SS
  6. 730 = total number of observations (150 + 150… etc.)
  7. Two-way ANOVA: 2 independent variables (2 factors); ex: seed type and fertilizer type MANOVA: can analyze multiple dependent variables (response) simultaneously ANCOVA: combines of simple linear regression & one-way ANOVA