SlideShare a Scribd company logo
1 of 56
Analysis of Variance
Chapter Goals ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Chapter Overview Analysis of Variance (ANOVA) F-test F-test Tukey- Kramer  test Fisher’s Least  Significant Difference test One-Way  ANOVA Randomized  Complete  Block ANOVA Two-factor  ANOVA  with replication
General ANOVA Setting ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
One-Way Analysis of Variance ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Completely Randomized Design ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hypotheses of One-Way ANOVA ,[object Object],[object Object],[object Object],[object Object],[object Object]
One-Factor ANOVA  All Means are the same: The Null Hypothesis is True  (No Treatment Effect)
One-Factor ANOVA  At least one mean is different: The Null Hypothesis is NOT true  (Treatment Effect is present) or (continued)
Partitioning the Variation ,[object Object],SST = Total Sum of Squares SSB = Sum of Squares Between SSW = Sum of Squares Within SST = SSB + SSW
Partitioning the Variation Total Variation  = the aggregate dispersion of the individual data values across the various factor levels (SST) Within-Sample Variation  = dispersion that exists among the data values within a particular factor level (SSW) Between-Sample Variation  = dispersion among the factor sample means (SSB) SST = SSB + SSW (continued)
Partition of Total Variation ,[object Object],[object Object],[object Object],[object Object],[object Object],Variation Due to Factor (SSB) Variation Due to Random Sampling (SSW) Total Variation (SST) ,[object Object],[object Object],[object Object],[object Object],[object Object],= +
Total Sum of Squares Where: SST = Total sum of squares k = number of populations (levels or treatments) n i  = sample size from population i x ij  = j th  measurement from population i x = grand mean (mean of all data values) SST = SSB + SSW
Total Variation (continued)
Sum of Squares Between Where: SSB = Sum of squares between k = number of populations n i  = sample size from population i x i  = sample mean from population i x = grand mean (mean of all data values) SST = SSB + SSW
Between-Group Variation Variation Due to  Differences Among Groups Mean Square Between = SSB/degrees of freedom
Between-Group Variation (continued)
Sum of Squares Within Where: SSW = Sum of squares within k = number of populations n i  = sample size from population i x i  = sample mean from population i x ij  = j th  measurement from population i SST = SSB + SSW
Within-Group Variation Summing the variation within each group and then adding over all groups Mean Square Within = SSW/degrees of freedom
Within-Group Variation (continued)
One-Way ANOVA Table Source of Variation df SS MS Between Samples SSB MSB = Within Samples N - k SSW MSW = Total N - 1 SST = SSB+SSW k - 1 MSB MSW F ratio k = number of populations N = sum of the sample sizes from all populations df = degrees of freedom SSB k - 1 SSW N - k F =
One-Factor ANOVA F Test Statistic ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],H 0 : μ 1 = μ 2  = …   = μ  k H A : At least two population means are different
Interpreting One-Factor ANOVA  F Statistic ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
One-Factor ANOVA  F Test Example ,[object Object],Club 1   Club 2   Club 3 254   234   200 263   218   222 241   235   197 237   227   206 251   216   204
One-Factor ANOVA Example: Scatter Diagram • • • • • 270 260 250 240 230 220 210 200 190 • • • • • • • • • • Distance Club 1   Club 2   Club 3 254   234   200 263   218   222 241   235   197 237   227   206 251   216   204 Club 1  2  3
One-Factor ANOVA Example Computations Club 1   Club 2   Club 3 254   234   200 263   218   222 241   235   197 237   227   206 251   216   204 x 1  = 249.2 x 2  = 226.0 x 3  = 205.8 x = 227.0 n 1  = 5 n 2  = 5 n 3  = 5 N = 15 k = 3 SSB =  5 [ (249.2 – 227) 2  + (226 – 227) 2  + (205.8 – 227) 2  ] = 4716.4 SSW =  (254 – 249.2) 2  + (263 – 249.2) 2  +…+ (204 – 205.8) 2  = 1119.6 MSB = 4716.4 / (3-1) = 2358.2 MSW = 1119.6 / (15-3) = 93.3
One-Factor ANOVA Example Solution ,[object Object],[object Object],[object Object],[object Object],F   = 25.275 Test Statistic:  Decision: Conclusion: Reject H 0  at    = 0.05 There is evidence that at least one  μ i   differs from the rest 0      = .05 F .05  = 3.885 Reject H 0 Do not  reject H 0 Critical Value:  F    = 3.885
ANOVA -- Single Factor: Excel Output EXCEL:  tools | data analysis | ANOVA: single factor SUMMARY Groups Count Sum Average Variance Club 1 5 1246 249.2 108.2 Club 2 5 1130 226 77.5 Club 3 5 1029 205.8 94.2 ANOVA Source of Variation SS df MS F P-value F crit Between Groups 4716.4 2 2358.2 25.275 4.99E-05 3.885 Within  Groups 1119.6 12 93.3 Total 5836.0 14        
The Tukey-Kramer Procedure ,[object Object],[object Object],[object Object],[object Object],[object Object],x μ 1 =  μ 2 μ 3
Tukey-Kramer Critical Range where: q    = Value from standardized range table  with k and N - k degrees of freedom for  the desired level of   MSW = Mean Square Within n i  and n j  = Sample sizes from populations (levels) i and j
The Tukey-Kramer Procedure: Example ,[object Object],Club 1   Club 2   Club 3 254   234   200 263   218   222 241   235   197 237   227   206 251   216   204 2. Find the q value from the table in appendix J with k and N - k degrees of freedom for  the desired level of  
The Tukey-Kramer Procedure: Example 5. All of the absolute mean differences are greater than critical range. Therefore there is a significant difference between each pair of means at 5% level of significance.   3. Compute Critical Range: 4. Compare:
Tukey-Kramer in PHStat
Randomized Complete Block ANOVA ,[object Object],[object Object],[object Object],[object Object]
Partitioning the Variation ,[object Object],SST = Total sum of squares SSB = Sum of squares between factor levels SSBL = Sum of squares between blocks SSW = Sum of squares within levels SST = SSB + SSBL + SSW
Sum of Squares for Blocking Where: k = number of levels for this factor b = number of blocks x j  = sample mean from the j th  block  x = grand mean (mean of all data values) SST = SSB + SSBL + SSW
Partitioning the Variation ,[object Object],SST and SSB are computed as they were in One-Way ANOVA SST = SSB + SSBL + SSW SSW = SST – (SSB + SSBL)
Mean Squares
Randomized Block ANOVA Table Source of Variation df SS MS Between Samples SSB MSB  Within Samples (k–1)(b-1) SSW MSW Total N - 1 SST k - 1 MSBL MSW F ratio k = number of populations N = sum of the sample sizes from all populations b = number of blocks df = degrees of freedom Between Blocks SSBL b - 1 MSBL  MSB MSW
Blocking Test ,[object Object],[object Object],MSBL MSW F = Reject H 0   if  F > F 
[object Object],[object Object],Main Factor Test MSB MSW F = Reject H 0   if  F > F 
Fisher’s  Least Significant Difference Test ,[object Object],[object Object],[object Object],[object Object],[object Object],x  =    1 2 3
Fisher’s Least Significant Difference (LSD) Test where: t  /2   = Upper-tailed value from Student’s t-distribution  for   /2 and (k -1)(n - 1) degrees of freedom MSW = Mean square within from ANOVA table   b = number of blocks   k = number of levels of the main factor
Fisher’s Least Significant Difference (LSD) Test (continued) If the absolute mean difference is greater than LSD then there is a significant difference between that pair of means at the chosen level of significance.   Compare:
Two-Way ANOVA ,[object Object],[object Object],[object Object],[object Object],[object Object]
Two-Way ANOVA ,[object Object],[object Object],[object Object],[object Object],(continued)
Two-Way ANOVA  Sources of Variation Two Factors of interest:  A  and  B a =  number of levels of factor A b =  number of levels of factor B N = total number of observations in all cells
Two-Way ANOVA  Sources of Variation SST Total Variation SS A Variation due to factor A SS B Variation due to factor B SS AB Variation due to interaction  between A and B SSE Inherent variation (Error) Degrees of Freedom: a – 1 b – 1 (a – 1)(b – 1) N – ab N - 1 SST = SS A  + SS B  + SS AB  + SSE (continued)
Two Factor ANOVA Equations Total Sum of Squares: Sum of Squares Factor A: Sum of Squares Factor B:
Two Factor ANOVA Equations Sum of Squares Interaction Between A and B: Sum of Squares Error: (continued)
Two Factor ANOVA Equations where: a =  number of levels of factor A b =  number of levels of factor B n’ = number of replications in each cell (continued)
Mean Square Calculations
Two-Way ANOVA: The F Test Statistic F Test for Factor B Main Effect F Test for Interaction Effect H 0 : μ A1  = μ A2  = μ A3   =   • • • H A : Not all μ Ai  are equal H 0 : factors A and B do not interact to affect the mean response   H A : factors A and B do interact F Test for Factor A Main Effect H 0 : μ B1  = μ B2  = μ B3   =   • • • H A : Not all μ Bi  are equal Reject H 0  if  F > F  Reject H 0  if  F > F  Reject H 0  if  F > F 
Two-Way ANOVA Summary Table Source of Variation Sum of Squares Degrees of Freedom Mean  Squares F Statistic Factor A SS A a – 1 MS A   = SS A  /(a – 1) MS A MSE Factor B SS B b – 1 MS B = SS B  /(b – 1) MS B MSE AB (Interaction) SS AB (a – 1)(b – 1) MS AB = SS AB  / [(a – 1)(b – 1)] MS AB MSE Error SSE N – ab MSE =  SSE/(N – ab) Total SST N – 1
Features of Two-Way ANOVA  F   Test ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Examples: Interaction vs. No Interaction ,[object Object],1 2 Factor B Level 1 Factor B Level 3 Factor B Level 2 Factor A Levels 1 2 Factor B Level 1 Factor B Level 3 Factor B Level 2 Factor A Levels Mean Response Mean Response Interaction is present:

More Related Content

What's hot

{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx
SNEHA AGRAWAL GUPTA
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anova
shoffma5
 
T test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaT test, independant sample, paired sample and anova
T test, independant sample, paired sample and anova
Qasim Raza
 

What's hot (20)

One way anova
One way anovaOne way anova
One way anova
 
{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx
 
One way anova final ppt.
One way anova final ppt.One way anova final ppt.
One way anova final ppt.
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anova
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Anova ppt
Anova pptAnova ppt
Anova ppt
 
Test of hypothesis test of significance
Test of hypothesis test of significanceTest of hypothesis test of significance
Test of hypothesis test of significance
 
Introduction to ANOVA
Introduction to ANOVAIntroduction to ANOVA
Introduction to ANOVA
 
Mann Whitney U test
Mann Whitney U testMann Whitney U test
Mann Whitney U test
 
Two way analysis of variance (anova)
Two way analysis of variance (anova)Two way analysis of variance (anova)
Two way analysis of variance (anova)
 
Two Way ANOVA
Two Way ANOVATwo Way ANOVA
Two Way ANOVA
 
T test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaT test, independant sample, paired sample and anova
T test, independant sample, paired sample and anova
 
Anova lecture
Anova lectureAnova lecture
Anova lecture
 
Two-Way ANOVA
Two-Way ANOVATwo-Way ANOVA
Two-Way ANOVA
 
Two-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretationTwo-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretation
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability Distributions
 
Anova in easyest way
Anova in easyest wayAnova in easyest way
Anova in easyest way
 
Wilcoxon signed rank test
Wilcoxon signed rank testWilcoxon signed rank test
Wilcoxon signed rank test
 

Similar to Analysis of variance ppt @ bec doms

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
Syifa' Humaira
 
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOIANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
prasad439227
 

Similar to Analysis of variance ppt @ bec doms (20)

Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
 
Chap15 analysis of variance
Chap15 analysis of varianceChap15 analysis of variance
Chap15 analysis of variance
 
oneway.ppt
oneway.pptoneway.ppt
oneway.ppt
 
Anova.ppt
Anova.pptAnova.ppt
Anova.ppt
 
ANOVA One way ppt statistics.pptx
ANOVA One way ppt statistics.pptxANOVA One way ppt statistics.pptx
ANOVA One way ppt statistics.pptx
 
A study on the ANOVA ANALYSIS OF VARIANCE.pptx
A study on the ANOVA ANALYSIS OF VARIANCE.pptxA study on the ANOVA ANALYSIS OF VARIANCE.pptx
A study on the ANOVA ANALYSIS OF VARIANCE.pptx
 
Ch7 Analysis of Variance (ANOVA)
Ch7 Analysis of Variance (ANOVA)Ch7 Analysis of Variance (ANOVA)
Ch7 Analysis of Variance (ANOVA)
 
Stat2013
Stat2013Stat2013
Stat2013
 
ANOVA BIOstat short explaination .pptx
ANOVA BIOstat short explaination   .pptxANOVA BIOstat short explaination   .pptx
ANOVA BIOstat short explaination .pptx
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
 
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
 
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
 
Anova test
Anova testAnova test
Anova test
 
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
 

More from Babasab Patil

Marketing management module 2 marketing environment mba 1st sem by babasab pa...
Marketing management module 2 marketing environment mba 1st sem by babasab pa...Marketing management module 2 marketing environment mba 1st sem by babasab pa...
Marketing management module 2 marketing environment mba 1st sem by babasab pa...
Babasab Patil
 
Marketing management module 4 measuring andforecasting demand mba 1st sem by...
Marketing management module 4  measuring andforecasting demand mba 1st sem by...Marketing management module 4  measuring andforecasting demand mba 1st sem by...
Marketing management module 4 measuring andforecasting demand mba 1st sem by...
Babasab Patil
 
Measuring and forecasting demand module 4 mba 1st sem by babasab patil (karri...
Measuring and forecasting demand module 4 mba 1st sem by babasab patil (karri...Measuring and forecasting demand module 4 mba 1st sem by babasab patil (karri...
Measuring and forecasting demand module 4 mba 1st sem by babasab patil (karri...
Babasab Patil
 
Notes managerial communication 3 business correspondence and report writing ...
Notes managerial communication  3 business correspondence and report writing ...Notes managerial communication  3 business correspondence and report writing ...
Notes managerial communication 3 business correspondence and report writing ...
Babasab Patil
 
Notes managerial communication mod 2 basic communication skills mba 1st sem ...
Notes managerial communication mod 2  basic communication skills mba 1st sem ...Notes managerial communication mod 2  basic communication skills mba 1st sem ...
Notes managerial communication mod 2 basic communication skills mba 1st sem ...
Babasab Patil
 
Notes managerial communication mod 4 the job application process mba 1st sem ...
Notes managerial communication mod 4 the job application process mba 1st sem ...Notes managerial communication mod 4 the job application process mba 1st sem ...
Notes managerial communication mod 4 the job application process mba 1st sem ...
Babasab Patil
 
Notes managerial communication mod 5 interviews mba 1st sem by babasab patil...
Notes managerial communication mod 5 interviews  mba 1st sem by babasab patil...Notes managerial communication mod 5 interviews  mba 1st sem by babasab patil...
Notes managerial communication mod 5 interviews mba 1st sem by babasab patil...
Babasab Patil
 
Notes managerial communication part 1 mba 1st sem by babasab patil (karrisatte)
Notes managerial communication part 1  mba 1st sem by babasab patil (karrisatte)Notes managerial communication part 1  mba 1st sem by babasab patil (karrisatte)
Notes managerial communication part 1 mba 1st sem by babasab patil (karrisatte)
Babasab Patil
 
Principles of marketing mba 1st sem by babasab patil (karrisatte)
Principles of marketing mba 1st sem by babasab patil (karrisatte)Principles of marketing mba 1st sem by babasab patil (karrisatte)
Principles of marketing mba 1st sem by babasab patil (karrisatte)
Babasab Patil
 
Marketing management module 1 important questions of marketing mba 1st sem...
Marketing management module 1  important questions of marketing   mba 1st sem...Marketing management module 1  important questions of marketing   mba 1st sem...
Marketing management module 1 important questions of marketing mba 1st sem...
Babasab Patil
 

More from Babasab Patil (20)

Segmentation module 4 mba 1st sem by babasab patil (karrisatte)
Segmentation module 4  mba 1st sem by babasab patil (karrisatte)Segmentation module 4  mba 1st sem by babasab patil (karrisatte)
Segmentation module 4 mba 1st sem by babasab patil (karrisatte)
 
Marketing management module 1 core concepts of marketing mba 1st sem by baba...
Marketing management module 1 core concepts of marketing  mba 1st sem by baba...Marketing management module 1 core concepts of marketing  mba 1st sem by baba...
Marketing management module 1 core concepts of marketing mba 1st sem by baba...
 
Marketing management module 2 marketing environment mba 1st sem by babasab pa...
Marketing management module 2 marketing environment mba 1st sem by babasab pa...Marketing management module 2 marketing environment mba 1st sem by babasab pa...
Marketing management module 2 marketing environment mba 1st sem by babasab pa...
 
Marketing management module 4 measuring andforecasting demand mba 1st sem by...
Marketing management module 4  measuring andforecasting demand mba 1st sem by...Marketing management module 4  measuring andforecasting demand mba 1st sem by...
Marketing management module 4 measuring andforecasting demand mba 1st sem by...
 
Measuring and forecasting demand module 4 mba 1st sem by babasab patil (karri...
Measuring and forecasting demand module 4 mba 1st sem by babasab patil (karri...Measuring and forecasting demand module 4 mba 1st sem by babasab patil (karri...
Measuring and forecasting demand module 4 mba 1st sem by babasab patil (karri...
 
Notes managerial communication 3 business correspondence and report writing ...
Notes managerial communication  3 business correspondence and report writing ...Notes managerial communication  3 business correspondence and report writing ...
Notes managerial communication 3 business correspondence and report writing ...
 
Notes managerial communication mod 2 basic communication skills mba 1st sem ...
Notes managerial communication mod 2  basic communication skills mba 1st sem ...Notes managerial communication mod 2  basic communication skills mba 1st sem ...
Notes managerial communication mod 2 basic communication skills mba 1st sem ...
 
Notes managerial communication mod 4 the job application process mba 1st sem ...
Notes managerial communication mod 4 the job application process mba 1st sem ...Notes managerial communication mod 4 the job application process mba 1st sem ...
Notes managerial communication mod 4 the job application process mba 1st sem ...
 
Notes managerial communication mod 5 interviews mba 1st sem by babasab patil...
Notes managerial communication mod 5 interviews  mba 1st sem by babasab patil...Notes managerial communication mod 5 interviews  mba 1st sem by babasab patil...
Notes managerial communication mod 5 interviews mba 1st sem by babasab patil...
 
Notes managerial communication part 1 mba 1st sem by babasab patil (karrisatte)
Notes managerial communication part 1  mba 1st sem by babasab patil (karrisatte)Notes managerial communication part 1  mba 1st sem by babasab patil (karrisatte)
Notes managerial communication part 1 mba 1st sem by babasab patil (karrisatte)
 
Principles of marketing mba 1st sem by babasab patil (karrisatte)
Principles of marketing mba 1st sem by babasab patil (karrisatte)Principles of marketing mba 1st sem by babasab patil (karrisatte)
Principles of marketing mba 1st sem by babasab patil (karrisatte)
 
Segmentation module 4 mba 1st sem by babasab patil (karrisatte)
Segmentation module 4  mba 1st sem by babasab patil (karrisatte)Segmentation module 4  mba 1st sem by babasab patil (karrisatte)
Segmentation module 4 mba 1st sem by babasab patil (karrisatte)
 
Marketing management module 1 important questions of marketing mba 1st sem...
Marketing management module 1  important questions of marketing   mba 1st sem...Marketing management module 1  important questions of marketing   mba 1st sem...
Marketing management module 1 important questions of marketing mba 1st sem...
 
Discovery shuttle processing NASA before launching the rocket by babasab ...
Discovery shuttle processing  NASA   before  launching the rocket by babasab ...Discovery shuttle processing  NASA   before  launching the rocket by babasab ...
Discovery shuttle processing NASA before launching the rocket by babasab ...
 
Corporate lessons from__iim__calcutta by babasab patil
Corporate lessons from__iim__calcutta by babasab patil Corporate lessons from__iim__calcutta by babasab patil
Corporate lessons from__iim__calcutta by babasab patil
 
Communication problems between men and women by babasab patil
Communication problems between men and women by babasab patil Communication problems between men and women by babasab patil
Communication problems between men and women by babasab patil
 
Brasil waterfall byy babasab patil
Brasil waterfall  byy babasab patil Brasil waterfall  byy babasab patil
Brasil waterfall byy babasab patil
 
Best aviation photography_ever__bar_none by babasab patil
Best aviation photography_ever__bar_none by babasab patil Best aviation photography_ever__bar_none by babasab patil
Best aviation photography_ever__bar_none by babasab patil
 
Attitude stone cutter
Attitude stone cutterAttitude stone cutter
Attitude stone cutter
 
Attitude stone cutter
Attitude stone cutterAttitude stone cutter
Attitude stone cutter
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

Analysis of variance ppt @ bec doms

  • 2.
  • 3. Chapter Overview Analysis of Variance (ANOVA) F-test F-test Tukey- Kramer test Fisher’s Least Significant Difference test One-Way ANOVA Randomized Complete Block ANOVA Two-factor ANOVA with replication
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. One-Factor ANOVA All Means are the same: The Null Hypothesis is True (No Treatment Effect)
  • 9. One-Factor ANOVA At least one mean is different: The Null Hypothesis is NOT true (Treatment Effect is present) or (continued)
  • 10.
  • 11. Partitioning the Variation Total Variation = the aggregate dispersion of the individual data values across the various factor levels (SST) Within-Sample Variation = dispersion that exists among the data values within a particular factor level (SSW) Between-Sample Variation = dispersion among the factor sample means (SSB) SST = SSB + SSW (continued)
  • 12.
  • 13. Total Sum of Squares Where: SST = Total sum of squares k = number of populations (levels or treatments) n i = sample size from population i x ij = j th measurement from population i x = grand mean (mean of all data values) SST = SSB + SSW
  • 15. Sum of Squares Between Where: SSB = Sum of squares between k = number of populations n i = sample size from population i x i = sample mean from population i x = grand mean (mean of all data values) SST = SSB + SSW
  • 16. Between-Group Variation Variation Due to Differences Among Groups Mean Square Between = SSB/degrees of freedom
  • 18. Sum of Squares Within Where: SSW = Sum of squares within k = number of populations n i = sample size from population i x i = sample mean from population i x ij = j th measurement from population i SST = SSB + SSW
  • 19. Within-Group Variation Summing the variation within each group and then adding over all groups Mean Square Within = SSW/degrees of freedom
  • 21. One-Way ANOVA Table Source of Variation df SS MS Between Samples SSB MSB = Within Samples N - k SSW MSW = Total N - 1 SST = SSB+SSW k - 1 MSB MSW F ratio k = number of populations N = sum of the sample sizes from all populations df = degrees of freedom SSB k - 1 SSW N - k F =
  • 22.
  • 23.
  • 24.
  • 25. One-Factor ANOVA Example: Scatter Diagram • • • • • 270 260 250 240 230 220 210 200 190 • • • • • • • • • • Distance Club 1 Club 2 Club 3 254 234 200 263 218 222 241 235 197 237 227 206 251 216 204 Club 1 2 3
  • 26. One-Factor ANOVA Example Computations Club 1 Club 2 Club 3 254 234 200 263 218 222 241 235 197 237 227 206 251 216 204 x 1 = 249.2 x 2 = 226.0 x 3 = 205.8 x = 227.0 n 1 = 5 n 2 = 5 n 3 = 5 N = 15 k = 3 SSB = 5 [ (249.2 – 227) 2 + (226 – 227) 2 + (205.8 – 227) 2 ] = 4716.4 SSW = (254 – 249.2) 2 + (263 – 249.2) 2 +…+ (204 – 205.8) 2 = 1119.6 MSB = 4716.4 / (3-1) = 2358.2 MSW = 1119.6 / (15-3) = 93.3
  • 27.
  • 28. ANOVA -- Single Factor: Excel Output EXCEL: tools | data analysis | ANOVA: single factor SUMMARY Groups Count Sum Average Variance Club 1 5 1246 249.2 108.2 Club 2 5 1130 226 77.5 Club 3 5 1029 205.8 94.2 ANOVA Source of Variation SS df MS F P-value F crit Between Groups 4716.4 2 2358.2 25.275 4.99E-05 3.885 Within Groups 1119.6 12 93.3 Total 5836.0 14        
  • 29.
  • 30. Tukey-Kramer Critical Range where: q  = Value from standardized range table with k and N - k degrees of freedom for the desired level of  MSW = Mean Square Within n i and n j = Sample sizes from populations (levels) i and j
  • 31.
  • 32. The Tukey-Kramer Procedure: Example 5. All of the absolute mean differences are greater than critical range. Therefore there is a significant difference between each pair of means at 5% level of significance. 3. Compute Critical Range: 4. Compare:
  • 34.
  • 35.
  • 36. Sum of Squares for Blocking Where: k = number of levels for this factor b = number of blocks x j = sample mean from the j th block x = grand mean (mean of all data values) SST = SSB + SSBL + SSW
  • 37.
  • 39. Randomized Block ANOVA Table Source of Variation df SS MS Between Samples SSB MSB Within Samples (k–1)(b-1) SSW MSW Total N - 1 SST k - 1 MSBL MSW F ratio k = number of populations N = sum of the sample sizes from all populations b = number of blocks df = degrees of freedom Between Blocks SSBL b - 1 MSBL MSB MSW
  • 40.
  • 41.
  • 42.
  • 43. Fisher’s Least Significant Difference (LSD) Test where: t  /2 = Upper-tailed value from Student’s t-distribution for  /2 and (k -1)(n - 1) degrees of freedom MSW = Mean square within from ANOVA table b = number of blocks k = number of levels of the main factor
  • 44. Fisher’s Least Significant Difference (LSD) Test (continued) If the absolute mean difference is greater than LSD then there is a significant difference between that pair of means at the chosen level of significance. Compare:
  • 45.
  • 46.
  • 47. Two-Way ANOVA Sources of Variation Two Factors of interest: A and B a = number of levels of factor A b = number of levels of factor B N = total number of observations in all cells
  • 48. Two-Way ANOVA Sources of Variation SST Total Variation SS A Variation due to factor A SS B Variation due to factor B SS AB Variation due to interaction between A and B SSE Inherent variation (Error) Degrees of Freedom: a – 1 b – 1 (a – 1)(b – 1) N – ab N - 1 SST = SS A + SS B + SS AB + SSE (continued)
  • 49. Two Factor ANOVA Equations Total Sum of Squares: Sum of Squares Factor A: Sum of Squares Factor B:
  • 50. Two Factor ANOVA Equations Sum of Squares Interaction Between A and B: Sum of Squares Error: (continued)
  • 51. Two Factor ANOVA Equations where: a = number of levels of factor A b = number of levels of factor B n’ = number of replications in each cell (continued)
  • 53. Two-Way ANOVA: The F Test Statistic F Test for Factor B Main Effect F Test for Interaction Effect H 0 : μ A1 = μ A2 = μ A3 = • • • H A : Not all μ Ai are equal H 0 : factors A and B do not interact to affect the mean response H A : factors A and B do interact F Test for Factor A Main Effect H 0 : μ B1 = μ B2 = μ B3 = • • • H A : Not all μ Bi are equal Reject H 0 if F > F  Reject H 0 if F > F  Reject H 0 if F > F 
  • 54. Two-Way ANOVA Summary Table Source of Variation Sum of Squares Degrees of Freedom Mean Squares F Statistic Factor A SS A a – 1 MS A = SS A /(a – 1) MS A MSE Factor B SS B b – 1 MS B = SS B /(b – 1) MS B MSE AB (Interaction) SS AB (a – 1)(b – 1) MS AB = SS AB / [(a – 1)(b – 1)] MS AB MSE Error SSE N – ab MSE = SSE/(N – ab) Total SST N – 1
  • 55.
  • 56.