Presented by :
Saumya Bhatnagar
Fisher’s exact test
1) Lady Bristol’s claim
• H0 = her ability to distinguish the teas is mere chance
• In Fisher’s approach, no Ha
• 8 cups, p= 0.014 (=1/8C4 = 1/70) <0.05 (association is random = reject H0)
2) Lady tasting tea
• two-alternative forced choice
3) Increase the #observations in each group
• How these groups are varied?
. . … . .
. . … . .
. . … . .
Table of Content
1) Fisher’s exact test
2) Anova
1) Anova & t-test
2) Anova Designs
3) One way Anova
4) Assumptions Anova
5) Computing F score & Anova table
3) Anova in R
4) Why Anova
Anova & t-test
What is Anova?
• Omnibus to t-tests or Generalized t-test
• 𝑡 − 𝑠𝑐𝑜𝑟𝑒 =
𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑐𝑒 𝑏𝑒𝑡𝑤𝑒𝑒𝑛 𝑔𝑟𝑜𝑢𝑝𝑠
𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑐𝑒 𝑤𝑖𝑡ℎ𝑖𝑛 𝑡ℎ𝑒 𝑔𝑟𝑜𝑢𝑝
⇒ 𝑔𝑟𝑜𝑢𝑝𝑠 𝑎𝑟𝑒 𝑡 𝑡𝑖𝑚𝑒𝑠 𝑎𝑠 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑡 𝑓𝑟𝑜𝑚 𝑒𝑎𝑐ℎ 𝑜𝑡ℎ𝑒𝑟 𝑎𝑠 𝑡ℎ𝑒𝑦 𝑎𝑟𝑒 𝑤𝑖𝑡ℎ𝑖𝑛 𝑒𝑎𝑐ℎ 𝑜𝑡ℎ𝑒𝑟
• Analysis of data from two samples by both a t test and an ANOVA shows that the
observed F values equals the observed t value squared
F = t2, (degree of freedom=1)
T-test & type of errors
1) Null Hypothesis & errors
2) T-test
1) t-score
2) p-value(probability that results are by chance)
3) An Independent Samples t-test compares the means for two groups.
4) A Paired sample t-test compares means from the same group at different times
5) A One sample t-test tests the mean of a single group against a known mean
Decision H0 = True H0 = False
H0=
reject
Type 1 error,
(false positive)
Denoted as α
Aka “significance level of a test”
Correct
inference
(True Positive)
H0 = Fail
to reject
Correct inference
(True Negative)
Type II error
(False Negative)
Denoted as β
One way Anova
Two or more samples
One factor or independent variable
One dependent variable
e.g. Tea taste is being tested at one level – what was poured
first?
Factorial Anova
Two or more samples
Multiple independent variable
One dependent variable
e.g. Tea taste is being tested at various levels - sugar, tea
content etc.
Repeated Measures Anova
Same sample
e.g. Tea being poured to the same set thrice a day and tested
M-AN-O-VA
Two or more samples
Multiple independent variable
Multiple dependent variables
e.g. Tea being tested for color + taste at various levels
AN-O-VA
designs
One-way Anova
• Do differences exist between two or more groups on one DV?
• a priori vs. post-hoc (a posteriori) tests
• Post hoc is the multiple comparison test of groups. it compares all possible pairs of
means.
othersthefromdifferentismeanstheofoneleastAt:
:
321
a
k
o
H
H   
Assumptions One-way Anova
One way ANOVA is based on the following assumptions:
1) Normal distribution of the population
2) Two or more than two categorical independent groups in an independent variable.
3) Independence of samples
4) σ1
2 = σ2
2 = σ3
2 = ….
Computing F-score
ANOVA is computed with the three sums of squares
• Total – Total Sum of Squares, a measure of all variations in the dependent variable, SST
• Treatment (Between) – Sum of Squares Treatments (Between), SSC
• Error (Within) – Sum of Squares of Errors; yields the variations within treatments (or columns), SSE
 

k
i
n
j
iij xxSSE
1 1
2
)(
 

k
i
n
j
ij xxSST
1 1
2
)(
  

k
i
ii
k
i
n
j
i xxnxxSSC
1
2
1 1
2
)()(
SST = SSC + SSE
Anova Table
The table is as follows:
Anova in R
One way Anova
Import data set
Check null values and mine data
Plot box-plots
Run aov
Save in another variable
Export the summary
Anova in R
(where y = dependent variable, A=independent variable)One way Anova
• fit <- aov(y ~ A, data)
(For two way Anova)Factorial Anova
• fit <- aov(y ~ A + B + A:B, data)
fit <- aov(y ~ A*B, data)
(Considering two dependent variables Y & Y’)MANOVA
• fit <- manova(cbind(Y, Y’) ~ A*B, data)
Why Anova?
1) Gives an exploratory data analysis
1) Effect of many variables at once
2) Generates ‘F’ statistics : allows testing of a nested sequence of models
3) organization of an additive data decomposition,
4) sums of squares indicate the variance of each component of the decomposition (or,
equivalently, each set of terms of a linear model).
2) Analysis of a variety of experimental designs.
3) Handles experimental error
1) Reduces chances of Type 1 error
2) The more statistical tests run, the greater likelihood that the researcher will obtain seemingly
significant effects due to chance alone. (ANOVA determines whether the amount of variance
between the groups is greater than the variance within the groups)
Thank you

More Related Content

PPT
Introduction to ANOVAs
PPTX
non parametric statistics
PPTX
Analysis of variance
PPTX
Analysis of variance (ANOVA)
PPTX
Two way analysis of variance (anova)
PPT
One Way Anova
PPTX
Anova (f test) and mean differentiation
PPTX
Analysis of variance (ANOVA) everything you need to know
Introduction to ANOVAs
non parametric statistics
Analysis of variance
Analysis of variance (ANOVA)
Two way analysis of variance (anova)
One Way Anova
Anova (f test) and mean differentiation
Analysis of variance (ANOVA) everything you need to know

What's hot (20)

PPTX
Chi square test
PPT
wilcoxon signed rank test
PPTX
Parametric Statistical tests
PPT
oneway ANOVA.ppt
PPTX
Chi square Test
PPTX
F test and ANOVA
PPTX
Statistics - ONE WAY ANOVA
PPT
Anova and T-Test
PPTX
Regression
PPTX
Chi square test
PPTX
Analysis of variance (ANOVA)
PPTX
Shovan anova main
PPTX
Regression Analysis
PDF
Analysis of Variance (ANOVA)
PPT
Chi – square test
PPTX
PPTX
One way anova final ppt.
PPTX
PPT
Standard error-Biostatistics
Chi square test
wilcoxon signed rank test
Parametric Statistical tests
oneway ANOVA.ppt
Chi square Test
F test and ANOVA
Statistics - ONE WAY ANOVA
Anova and T-Test
Regression
Chi square test
Analysis of variance (ANOVA)
Shovan anova main
Regression Analysis
Analysis of Variance (ANOVA)
Chi – square test
One way anova final ppt.
Standard error-Biostatistics
Ad

Similar to Analysis Of Variance - ANOVA (20)

PPTX
Analysis of data in research
PPTX
Testing of hypothesis anova copy
PPT
anova & analysis of variance pearson.ppt
PPTX
Anova, ancova
PPTX
Tugasan kumpulan anova
PPTX
Parametric test - t Test, ANOVA, ANCOVA, MANOVA
PPTX
Analysis of variance(one way ANOVA).pptx
PPTX
univariate and bivariate analysis in spss
PPTX
anova.pptx ..............................
PPTX
Comparing means
PPT
Statistics for Anaesthesiologists
PDF
Applied statistics lecture_8
PPTX
One way AVOVA
PDF
Anova one way sem 1 20142015 dk
PPTX
ANOVA Analysis of Varianace Biostatistics
PPTX
Anova - One way and two way
PDF
Analysis of Variance
PPTX
Lecture 6. univariate and bivariate analysis
PPTX
Presentation1.pptx
Analysis of data in research
Testing of hypothesis anova copy
anova & analysis of variance pearson.ppt
Anova, ancova
Tugasan kumpulan anova
Parametric test - t Test, ANOVA, ANCOVA, MANOVA
Analysis of variance(one way ANOVA).pptx
univariate and bivariate analysis in spss
anova.pptx ..............................
Comparing means
Statistics for Anaesthesiologists
Applied statistics lecture_8
One way AVOVA
Anova one way sem 1 20142015 dk
ANOVA Analysis of Varianace Biostatistics
Anova - One way and two way
Analysis of Variance
Lecture 6. univariate and bivariate analysis
Presentation1.pptx
Ad

Recently uploaded (20)

PPTX
chrmotography.pptx food anaylysis techni
PDF
Best Data Science Professional Certificates in the USA | IABAC
PDF
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
PPTX
The Data Security Envisioning Workshop provides a summary of an organization...
PPTX
Lesson-01intheselfoflifeofthekennyrogersoftheunderstandoftheunderstanded
PDF
OneRead_20250728_1808.pdfhdhddhshahwhwwjjaaja
PDF
Navigating the Thai Supplements Landscape.pdf
PPTX
ai agent creaction with langgraph_presentation_
PPTX
retention in jsjsksksksnbsndjddjdnFPD.pptx
PPTX
CHAPTER-2-THE-ACCOUNTING-PROCESS-2-4.pptx
PPTX
AI AND ML PROPOSAL PRESENTATION MUST.pptx
PDF
Session 11 - Data Visualization Storytelling (2).pdf
PPTX
Business_Capability_Map_Collection__pptx
PDF
ahaaaa shbzjs yaiw jsvssv bdjsjss shsusus s
PPTX
statsppt this is statistics ppt for giving knowledge about this topic
PPTX
1 hour to get there before the game is done so you don’t need a car seat for ...
PPTX
New ISO 27001_2022 standard and the changes
PPTX
MBA JAPAN: 2025 the University of Waseda
PPTX
SET 1 Compulsory MNH machine learning intro
PPTX
chuitkarjhanbijunsdivndsijvndiucbhsaxnmzsicvjsd
chrmotography.pptx food anaylysis techni
Best Data Science Professional Certificates in the USA | IABAC
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
The Data Security Envisioning Workshop provides a summary of an organization...
Lesson-01intheselfoflifeofthekennyrogersoftheunderstandoftheunderstanded
OneRead_20250728_1808.pdfhdhddhshahwhwwjjaaja
Navigating the Thai Supplements Landscape.pdf
ai agent creaction with langgraph_presentation_
retention in jsjsksksksnbsndjddjdnFPD.pptx
CHAPTER-2-THE-ACCOUNTING-PROCESS-2-4.pptx
AI AND ML PROPOSAL PRESENTATION MUST.pptx
Session 11 - Data Visualization Storytelling (2).pdf
Business_Capability_Map_Collection__pptx
ahaaaa shbzjs yaiw jsvssv bdjsjss shsusus s
statsppt this is statistics ppt for giving knowledge about this topic
1 hour to get there before the game is done so you don’t need a car seat for ...
New ISO 27001_2022 standard and the changes
MBA JAPAN: 2025 the University of Waseda
SET 1 Compulsory MNH machine learning intro
chuitkarjhanbijunsdivndsijvndiucbhsaxnmzsicvjsd

Analysis Of Variance - ANOVA

  • 2. Fisher’s exact test 1) Lady Bristol’s claim • H0 = her ability to distinguish the teas is mere chance • In Fisher’s approach, no Ha • 8 cups, p= 0.014 (=1/8C4 = 1/70) <0.05 (association is random = reject H0) 2) Lady tasting tea • two-alternative forced choice 3) Increase the #observations in each group • How these groups are varied? . . … . . . . … . . . . … . .
  • 3. Table of Content 1) Fisher’s exact test 2) Anova 1) Anova & t-test 2) Anova Designs 3) One way Anova 4) Assumptions Anova 5) Computing F score & Anova table 3) Anova in R 4) Why Anova
  • 4. Anova & t-test What is Anova? • Omnibus to t-tests or Generalized t-test • 𝑡 − 𝑠𝑐𝑜𝑟𝑒 = 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑐𝑒 𝑏𝑒𝑡𝑤𝑒𝑒𝑛 𝑔𝑟𝑜𝑢𝑝𝑠 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑐𝑒 𝑤𝑖𝑡ℎ𝑖𝑛 𝑡ℎ𝑒 𝑔𝑟𝑜𝑢𝑝 ⇒ 𝑔𝑟𝑜𝑢𝑝𝑠 𝑎𝑟𝑒 𝑡 𝑡𝑖𝑚𝑒𝑠 𝑎𝑠 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑡 𝑓𝑟𝑜𝑚 𝑒𝑎𝑐ℎ 𝑜𝑡ℎ𝑒𝑟 𝑎𝑠 𝑡ℎ𝑒𝑦 𝑎𝑟𝑒 𝑤𝑖𝑡ℎ𝑖𝑛 𝑒𝑎𝑐ℎ 𝑜𝑡ℎ𝑒𝑟 • Analysis of data from two samples by both a t test and an ANOVA shows that the observed F values equals the observed t value squared F = t2, (degree of freedom=1)
  • 5. T-test & type of errors 1) Null Hypothesis & errors 2) T-test 1) t-score 2) p-value(probability that results are by chance) 3) An Independent Samples t-test compares the means for two groups. 4) A Paired sample t-test compares means from the same group at different times 5) A One sample t-test tests the mean of a single group against a known mean Decision H0 = True H0 = False H0= reject Type 1 error, (false positive) Denoted as α Aka “significance level of a test” Correct inference (True Positive) H0 = Fail to reject Correct inference (True Negative) Type II error (False Negative) Denoted as β
  • 6. One way Anova Two or more samples One factor or independent variable One dependent variable e.g. Tea taste is being tested at one level – what was poured first? Factorial Anova Two or more samples Multiple independent variable One dependent variable e.g. Tea taste is being tested at various levels - sugar, tea content etc. Repeated Measures Anova Same sample e.g. Tea being poured to the same set thrice a day and tested M-AN-O-VA Two or more samples Multiple independent variable Multiple dependent variables e.g. Tea being tested for color + taste at various levels AN-O-VA designs
  • 7. One-way Anova • Do differences exist between two or more groups on one DV? • a priori vs. post-hoc (a posteriori) tests • Post hoc is the multiple comparison test of groups. it compares all possible pairs of means. othersthefromdifferentismeanstheofoneleastAt: : 321 a k o H H   
  • 8. Assumptions One-way Anova One way ANOVA is based on the following assumptions: 1) Normal distribution of the population 2) Two or more than two categorical independent groups in an independent variable. 3) Independence of samples 4) σ1 2 = σ2 2 = σ3 2 = ….
  • 9. Computing F-score ANOVA is computed with the three sums of squares • Total – Total Sum of Squares, a measure of all variations in the dependent variable, SST • Treatment (Between) – Sum of Squares Treatments (Between), SSC • Error (Within) – Sum of Squares of Errors; yields the variations within treatments (or columns), SSE    k i n j iij xxSSE 1 1 2 )(    k i n j ij xxSST 1 1 2 )(     k i ii k i n j i xxnxxSSC 1 2 1 1 2 )()( SST = SSC + SSE
  • 10. Anova Table The table is as follows:
  • 11. Anova in R One way Anova Import data set Check null values and mine data Plot box-plots Run aov Save in another variable Export the summary
  • 12. Anova in R (where y = dependent variable, A=independent variable)One way Anova • fit <- aov(y ~ A, data) (For two way Anova)Factorial Anova • fit <- aov(y ~ A + B + A:B, data) fit <- aov(y ~ A*B, data) (Considering two dependent variables Y & Y’)MANOVA • fit <- manova(cbind(Y, Y’) ~ A*B, data)
  • 13. Why Anova? 1) Gives an exploratory data analysis 1) Effect of many variables at once 2) Generates ‘F’ statistics : allows testing of a nested sequence of models 3) organization of an additive data decomposition, 4) sums of squares indicate the variance of each component of the decomposition (or, equivalently, each set of terms of a linear model). 2) Analysis of a variety of experimental designs. 3) Handles experimental error 1) Reduces chances of Type 1 error 2) The more statistical tests run, the greater likelihood that the researcher will obtain seemingly significant effects due to chance alone. (ANOVA determines whether the amount of variance between the groups is greater than the variance within the groups)