SlideShare une entreprise Scribd logo
1  sur  24
Group Difference Methods


  By Rama Krishna Kompella
The basic ANOVA situation
Two variables: 1 Categorical (IV), 1 Continuous (DV)

Main Question: Do the (means of) the quantitative variables
depend on which group (given by categorical variable) the
individual is in?

If categorical variable has only 2 values:
     • 2-sample t-test

ANOVA allows for 3 or more groups
ANOVA - Analysis of Variance

• Extends independent-samples t test
• Compares the means of groups of
  independent observations
  – Don’t be fooled by the name. ANOVA does not
    compare variances.
• Can compare more than two groups
ANOVA –
  Null and Alternative Hypotheses
Say the sample contains K independent groups

• ANOVA tests the null hypothesis
             H0: μ1 = μ2 = … = μK
   – That is, “the group means are all equal”
• The alternative hypothesis is
                  H1: μi ≠ μj   for some i, j

   – or, “the group means are not all equal”
Assumptions
• Homogeneity of variance
     σ21 = σ22 = ... = σ2k
   – Moderate departures are not problematic, unless sample
     sizes are very unbalanced
• Normality
   – Scores with in each group are normally distributed around
     their group mean
   – Moderate departures are not problematic
• Independence of observations
   – Observations are independent of one another
   – Violations are very serious -- do not violate
• If assumptions violated, may need alternative statistics
The Logic of ANOVA
 
t = difference between sample means
   difference expected by chance (error)
 
F=      variance (differences) between sample means
        variance (difference) expected by chance (error)
 
Concerned with variance:
   variance = differences between scores
The Logic of ANOVA
Two sources of variance:

Between group variance: Differences between
  group means

Within group variance: Differences among
 people within the same group
The Logic of ANOVA
The Logic of ANOVA
• If H0 True:
  – F=      0 + Chance ≈  1
              Chance
• If H0 False:
  – F=     Treatment Effect + Chance   >  1
                 Chance
The F statistic
• F is a statistic that represents ratio of two variance
    estimates
• Denominator of F is called “error term” 
• When no treatment effect, F ≈ 1
If treatment effect, observed F will be > 1
• How large does F have to be to conclude there is a
    treatment effect (to reject H0)?
• Compare observed F to critical values based on
  sampling distribution of F
Computing ANOVA
(1)    Compute SS (sums of squares)
 (2)   Compute df
 (3)   Compute MS (mean squares)
 (4)   Compute F
Computing ANOVA
Computing ANOVA
Computing ANOVA
Computing ANOVA
Example
• Does presence of offer during festival season affect sales?
IV     = Number of offers present
DV = Sales (in units)
• Three conditions: No offer, Only one offer on a product,
   Multiple offers on a product
• Is there a significant difference among these means?
           MO               SO               NO
             10               6               1
             13               8               3
             5               10               4
             9                4               5
             8               12               2
          X2 = 9          X 1= 8           X 0= 3
Computing ANOVA

       MO   SO   NO
       10    6    1
       13    8    3
        5   10    4
        9    4    5
        8   12    2
n       5    5    5        N = 15
Xj      9    8    3   X .. = 6.67
Computing ANOVA
Computing ANOVA
Computing ANOVA
Computing ANOVA
Critical Value:
• We need two df to find our critical F value from Table (Note
   E.3 α =.05; E.4 α =.01)
• “Numerator” df: dfG      “Denominator” df: dfE
• df = 2,12 and α = .05     Fcritical= 3.89
 Decision:            Reject H0 because observed F (7.38)
                      exceeds critical value (3.89)
Interpret findings: 
• At least two of the means are significantly different from each
   other.
• “The amount of sales generated is influenced by the number
   of offers present on the product, F(2,12) = 7.38, p ≤ .05.”
Types of ANOVA
• One-way ANOVA, is used to test for differences
  among two or more independent groups.
• Factorial ANOVA, is used in the study of the
  interaction effects among treatments.
• Repeated measures ANOVA, is used when the same
  subject is used for each treatment.
• Multivariate analysis of variance (MANOVA), is used
  when there is more than one response variable
Questions?

Contenu connexe

Tendances

9. basic concepts_of_one_way_analysis_of_variance_(anova)
9. basic concepts_of_one_way_analysis_of_variance_(anova)9. basic concepts_of_one_way_analysis_of_variance_(anova)
9. basic concepts_of_one_way_analysis_of_variance_(anova)Irfan Hussain
 
Repeated Measures ANOVA - Overview
Repeated Measures ANOVA - OverviewRepeated Measures ANOVA - Overview
Repeated Measures ANOVA - OverviewSr Edith Bogue
 
Two-way Repeated Measures ANOVA
Two-way Repeated Measures ANOVATwo-way Repeated Measures ANOVA
Two-way Repeated Measures ANOVAJ P Verma
 
Repeated Measures ANOVA
Repeated Measures ANOVARepeated Measures ANOVA
Repeated Measures ANOVASr Edith Bogue
 
One way repeated measure anova
One way repeated measure anovaOne way repeated measure anova
One way repeated measure anovaAamna Haneef
 
Logit model testing and interpretation
Logit model testing and interpretationLogit model testing and interpretation
Logit model testing and interpretationFelipe Affonso
 
Anova randomized block design
Anova randomized block designAnova randomized block design
Anova randomized block designIrfan Hussain
 
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
 
T-Test for Correlated Groups by STR Grp. 2
T-Test for Correlated Groups by STR Grp. 2T-Test for Correlated Groups by STR Grp. 2
T-Test for Correlated Groups by STR Grp. 2Oj Acopiado
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestSahil Jain
 
Applied statistics lecture_8
Applied statistics lecture_8Applied statistics lecture_8
Applied statistics lecture_8Daria Bogdanova
 
Data screening
Data screeningData screening
Data screening緯鈞 沈
 

Tendances (17)

Behavioral Statistics Intro lecture
Behavioral Statistics Intro lectureBehavioral Statistics Intro lecture
Behavioral Statistics Intro lecture
 
Choosing the right statistics
Choosing the right statisticsChoosing the right statistics
Choosing the right statistics
 
9. basic concepts_of_one_way_analysis_of_variance_(anova)
9. basic concepts_of_one_way_analysis_of_variance_(anova)9. basic concepts_of_one_way_analysis_of_variance_(anova)
9. basic concepts_of_one_way_analysis_of_variance_(anova)
 
Repeated Measures ANOVA - Overview
Repeated Measures ANOVA - OverviewRepeated Measures ANOVA - Overview
Repeated Measures ANOVA - Overview
 
Two-way Repeated Measures ANOVA
Two-way Repeated Measures ANOVATwo-way Repeated Measures ANOVA
Two-way Repeated Measures ANOVA
 
Repeated Measures ANOVA
Repeated Measures ANOVARepeated Measures ANOVA
Repeated Measures ANOVA
 
One way repeated measure anova
One way repeated measure anovaOne way repeated measure anova
One way repeated measure anova
 
Z And T Tests
Z And T TestsZ And T Tests
Z And T Tests
 
Logit model testing and interpretation
Logit model testing and interpretationLogit model testing and interpretation
Logit model testing and interpretation
 
Anova randomized block design
Anova randomized block designAnova randomized block design
Anova randomized block design
 
Anova (Statistics)
Anova (Statistics)Anova (Statistics)
Anova (Statistics)
 
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
 
In Anova
In  AnovaIn  Anova
In Anova
 
T-Test for Correlated Groups by STR Grp. 2
T-Test for Correlated Groups by STR Grp. 2T-Test for Correlated Groups by STR Grp. 2
T-Test for Correlated Groups by STR Grp. 2
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum Test
 
Applied statistics lecture_8
Applied statistics lecture_8Applied statistics lecture_8
Applied statistics lecture_8
 
Data screening
Data screeningData screening
Data screening
 

Similaire à T14 anova

Anova lecture
Anova lectureAnova lecture
Anova lecturedoublem44
 
Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiationSubramani Parasuraman
 
Analysis of data in research
Analysis of data in researchAnalysis of data in research
Analysis of data in researchAbhijeet Birari
 
Full Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVAFull Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVAStevegellKololi
 
Introduction to Analysis of Variance
Introduction to Analysis of VarianceIntroduction to Analysis of Variance
Introduction to Analysis of Variancejasondroesch
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of varianceRavi Rohilla
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminHazilahMohd
 
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 dkSyifa' Humaira
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anovapraba karan
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of VarianceMichael770443
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysisutpal sharma
 
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxtest_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxRaquelMaacap
 

Similaire à T14 anova (20)

Anova lecture
Anova lectureAnova lecture
Anova lecture
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 
ANOVA 2023 aa 2564896.pptx
ANOVA 2023  aa 2564896.pptxANOVA 2023  aa 2564896.pptx
ANOVA 2023 aa 2564896.pptx
 
Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiation
 
Statistics using SPSS
Statistics using SPSSStatistics using SPSS
Statistics using SPSS
 
Analysis of data in research
Analysis of data in researchAnalysis of data in research
Analysis of data in research
 
Anova (1)
Anova (1)Anova (1)
Anova (1)
 
Full Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVAFull Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVA
 
Shovan anova main
Shovan anova mainShovan anova main
Shovan anova main
 
Introduction to Analysis of Variance
Introduction to Analysis of VarianceIntroduction to Analysis of Variance
Introduction to Analysis of Variance
 
Independent samples t-test
Independent samples t-testIndependent samples t-test
Independent samples t-test
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
 
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
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysis
 
1 ANOVA.ppt
1 ANOVA.ppt1 ANOVA.ppt
1 ANOVA.ppt
 
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxtest_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
 
MONOVA
MONOVAMONOVA
MONOVA
 

Plus de kompellark

T22 research report writing
T22 research report writingT22 research report writing
T22 research report writingkompellark
 
Rubric assignment 2
Rubric   assignment 2Rubric   assignment 2
Rubric assignment 2kompellark
 
Answers mid-term
Answers   mid-termAnswers   mid-term
Answers mid-termkompellark
 
T21 conjoint analysis
T21 conjoint analysisT21 conjoint analysis
T21 conjoint analysiskompellark
 
T20 cluster analysis
T20 cluster analysisT20 cluster analysis
T20 cluster analysiskompellark
 
T19 factor analysis
T19 factor analysisT19 factor analysis
T19 factor analysiskompellark
 
T18 discriminant analysis
T18 discriminant analysisT18 discriminant analysis
T18 discriminant analysiskompellark
 
T17 correlation
T17 correlationT17 correlation
T17 correlationkompellark
 
T16 multiple regression
T16 multiple regressionT16 multiple regression
T16 multiple regressionkompellark
 
T13 parametric tests
T13 parametric testsT13 parametric tests
T13 parametric testskompellark
 
T11 types of tests
T11 types of testsT11 types of tests
T11 types of testskompellark
 
T13 parametric tests
T13 parametric testsT13 parametric tests
T13 parametric testskompellark
 
T12 non-parametric tests
T12 non-parametric testsT12 non-parametric tests
T12 non-parametric testskompellark
 
T11 types of tests
T11 types of testsT11 types of tests
T11 types of testskompellark
 
T16 multiple regression
T16 multiple regressionT16 multiple regression
T16 multiple regressionkompellark
 
T10 statisitical analysis
T10 statisitical analysisT10 statisitical analysis
T10 statisitical analysiskompellark
 

Plus de kompellark (20)

T22 research report writing
T22 research report writingT22 research report writing
T22 research report writing
 
Rubric assignment 2
Rubric   assignment 2Rubric   assignment 2
Rubric assignment 2
 
Answers mid-term
Answers   mid-termAnswers   mid-term
Answers mid-term
 
Exam paper
Exam paperExam paper
Exam paper
 
T21 conjoint analysis
T21 conjoint analysisT21 conjoint analysis
T21 conjoint analysis
 
T20 cluster analysis
T20 cluster analysisT20 cluster analysis
T20 cluster analysis
 
T19 factor analysis
T19 factor analysisT19 factor analysis
T19 factor analysis
 
T18 discriminant analysis
T18 discriminant analysisT18 discriminant analysis
T18 discriminant analysis
 
T17 correlation
T17 correlationT17 correlation
T17 correlation
 
T16 multiple regression
T16 multiple regressionT16 multiple regression
T16 multiple regression
 
T15 ancova
T15 ancovaT15 ancova
T15 ancova
 
T14 anova
T14 anovaT14 anova
T14 anova
 
T13 parametric tests
T13 parametric testsT13 parametric tests
T13 parametric tests
 
T11 types of tests
T11 types of testsT11 types of tests
T11 types of tests
 
T15 ancova
T15 ancovaT15 ancova
T15 ancova
 
T13 parametric tests
T13 parametric testsT13 parametric tests
T13 parametric tests
 
T12 non-parametric tests
T12 non-parametric testsT12 non-parametric tests
T12 non-parametric tests
 
T11 types of tests
T11 types of testsT11 types of tests
T11 types of tests
 
T16 multiple regression
T16 multiple regressionT16 multiple regression
T16 multiple regression
 
T10 statisitical analysis
T10 statisitical analysisT10 statisitical analysis
T10 statisitical analysis
 

Dernier

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 

Dernier (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

T14 anova

  • 1. Group Difference Methods By Rama Krishna Kompella
  • 2. The basic ANOVA situation Two variables: 1 Categorical (IV), 1 Continuous (DV) Main Question: Do the (means of) the quantitative variables depend on which group (given by categorical variable) the individual is in? If categorical variable has only 2 values: • 2-sample t-test ANOVA allows for 3 or more groups
  • 3. ANOVA - Analysis of Variance • Extends independent-samples t test • Compares the means of groups of independent observations – Don’t be fooled by the name. ANOVA does not compare variances. • Can compare more than two groups
  • 4. ANOVA – Null and Alternative Hypotheses Say the sample contains K independent groups • ANOVA tests the null hypothesis H0: μ1 = μ2 = … = μK – That is, “the group means are all equal” • The alternative hypothesis is H1: μi ≠ μj for some i, j – or, “the group means are not all equal”
  • 5. Assumptions • Homogeneity of variance σ21 = σ22 = ... = σ2k – Moderate departures are not problematic, unless sample sizes are very unbalanced • Normality – Scores with in each group are normally distributed around their group mean – Moderate departures are not problematic • Independence of observations – Observations are independent of one another – Violations are very serious -- do not violate • If assumptions violated, may need alternative statistics
  • 6. The Logic of ANOVA   t = difference between sample means difference expected by chance (error)   F= variance (differences) between sample means variance (difference) expected by chance (error)   Concerned with variance: variance = differences between scores
  • 7. The Logic of ANOVA Two sources of variance: Between group variance: Differences between group means Within group variance: Differences among people within the same group
  • 8. The Logic of ANOVA
  • 9. The Logic of ANOVA • If H0 True: – F= 0 + Chance ≈  1 Chance • If H0 False: – F= Treatment Effect + Chance >  1 Chance
  • 10. The F statistic • F is a statistic that represents ratio of two variance estimates • Denominator of F is called “error term”  • When no treatment effect, F ≈ 1 If treatment effect, observed F will be > 1 • How large does F have to be to conclude there is a treatment effect (to reject H0)? • Compare observed F to critical values based on sampling distribution of F
  • 11. Computing ANOVA (1) Compute SS (sums of squares) (2) Compute df (3) Compute MS (mean squares) (4) Compute F
  • 16.
  • 17. Example • Does presence of offer during festival season affect sales? IV = Number of offers present DV = Sales (in units) • Three conditions: No offer, Only one offer on a product, Multiple offers on a product • Is there a significant difference among these means? MO SO NO 10 6 1 13 8 3 5 10 4 9 4 5 8 12 2 X2 = 9 X 1= 8 X 0= 3
  • 18. Computing ANOVA MO SO NO 10 6 1 13 8 3 5 10 4 9 4 5 8 12 2 n 5 5 5 N = 15 Xj 9 8 3 X .. = 6.67
  • 22. Computing ANOVA Critical Value: • We need two df to find our critical F value from Table (Note E.3 α =.05; E.4 α =.01) • “Numerator” df: dfG “Denominator” df: dfE • df = 2,12 and α = .05  Fcritical= 3.89  Decision: Reject H0 because observed F (7.38) exceeds critical value (3.89) Interpret findings:  • At least two of the means are significantly different from each other. • “The amount of sales generated is influenced by the number of offers present on the product, F(2,12) = 7.38, p ≤ .05.”
  • 23. Types of ANOVA • One-way ANOVA, is used to test for differences among two or more independent groups. • Factorial ANOVA, is used in the study of the interaction effects among treatments. • Repeated measures ANOVA, is used when the same subject is used for each treatment. • Multivariate analysis of variance (MANOVA), is used when there is more than one response variable