Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 11-1 Chapter 11 Analysis of Variance Basic Business Statistics 10 th Edition.

Slides:



Advertisements
Presentasi serupa
BAB 1 ANALISIS VARIANSI / KERAGAMAN Analysis of Variance ( ANOVA )
Advertisements

Pengujian Hipotesis.
BAB 2 (sambungan) DESAIN BLOK LENGKAP ACAK
Chapter 11 k- Fold Cross Validation
Common Effect Model.
Regresi linier sederhana
BUDIYONO Program Pascasarjana UNS
Bujur Sangkar Latin (RBL)
K-Map Using different rules and properties in Boolean algebra can simplify Boolean equations May involve many of rules / properties during simplification.
Tabel Nilai-Nilai Kritis Sebaran t – berekor satu
Pertemuan 02 Ukuran Numerik Deskriptif
(Rancangan Petak Terbagi)
BLACK BOX TESTING.
Presented By : Group 2. A solution of an equation in two variables of the form. Ax + By = C and Ax + By + C = 0 A and B are not both zero, is an ordered.
Research Design (Cont). Jenis Perancangan Riset Jenis perancangan mana yg akan digunakan ? Peneliti perlu memikirkan tentang apa yang mereka inginkan.
© 2002 Prentice-Hall, Inc.Chap 1-1 Bab 1 Pendahuluan.
Compound Amount Factors
ANALYSIS OF VARIANCE (ANOVA)
BAB 1 ANALISIS VARIANSI / KERAGAMAN Analysis of Variance ( ANOVA )
Ruang Contoh dan Peluang Pertemuan 05
Pendugaan Parameter Proporsi dan Varians (Ragam) Pertemuan 14 Matakuliah: L0104 / Statistika Psikologi Tahun : 2008.
Population and sample. Population is complete actual/theoretical collection of numerical values (scores) that are of interest to the researcher. Simbol.
Masalah Transportasi II (Transportation Problem II)
Percobaan Satu Faktor-RAL
PENDUGAAN PARAMETER Pertemuan 7
Uji Goodness of Fit : Distribusi Multinomial
METODE STATISTIKA II Analysis of Variance Met Stat 2
Pertemuan 07 Peluang Beberapa Sebaran Khusus Peubah Acak Kontinu
HAMPIRAN NUMERIK SOLUSI PERSAMAAN NIRLANJAR Pertemuan 3
Simple Regression ©. Null Hypothesis The analysis of business and economic processes makes extensive use of relationships between variables.
MULTIPLE REGRESSION ANALYSIS THE THREE VARIABLE MODEL: NOTATION AND ASSUMPTION 08/06/2015Ika Barokah S.
ANALYSIS OF VARIANCE (ANOVA) Matakuliah: KodeJ0204/Statistik Ekonomi Tahun: Tahun 2007 Versi: Revisi.
9.3 Geometric Sequences and Series. Objective To find specified terms and the common ratio in a geometric sequence. To find the partial sum of a geometric.
Chapter 10 – The Design of Feedback Control Systems PID Compensation Networks.
Keuangan dan Akuntansi Proyek Modul 2: BASIC TOOLS CHRISTIONO UTOMO, Ph.D. Bidang Manajemen Proyek ITS 2011.
Smoothing. Basic Smoothing Models Moving average, weighted moving average, exponential smoothing Single and Double Smoothing First order exponential smoothing.
STATISTICAL INFERENCE PART VI HYPOTHESIS TESTING 1.
PROBABILITY DISTRIBUTION
STATISTIKA CHATPER 4 (Perhitungan Dispersi (Sebaran))
Statistik TP A Pengujian Hipotesis Satu Populasi (Mean dan Proporsi)
Mata kuliah : A Statistik Ekonomi
Uji Goodness of Fit : Distribusi Multinomial
Pengujian Hipotesis (I) Pertemuan 11
Matakuliah : I0014 / Biostatistika Tahun : 2005 Versi : V1 / R1
Uji Hipotesis Dua Sampel
Pertemuan 25 Uji Kesamaan Proporsi
Presentasi Statistika Dasar
PENDUGAAN PARAMETER Pertemuan 8
the formula for the standard deviation:
Significantly Significant
t(ea) for Two Tests Between the Means of Different Groups
T(ea) for Two Again Tests Between the Means of Related Groups
Pendugaan Parameter (II) Pertemuan 10
REAL NUMBERS EKSPONENT NUMBERS.
Uji Kesamaan Proporsi dan Uji Kebebasan Pertemuan 24
Pertemuan 09 Pengujian Hipotesis 2
Research methodology and Scientific Writing W#8
Nilai UTS.
An Introducation to Inferential Statistics
Eksperimen Satu Faktor: (Disain RAL)
Master data Management
Uji Hipotesis Dua Sampel
Pertemuan 21 dan 22 Analisis Regresi dan Korelasi Sederhana
Ukuran Akurasi Model Deret Waktu Manajemen Informasi Kesehatan
BAB 1 ANALISIS VARIANSI / KERAGAMAN Analysis of Variance ( ANOVA )
KULIAH KE 9 Elementary Statistics Eleventh Edition
Kuliah ke.7 Elementary Statistics Eleventh Edition
Two Groups Too Many? Try Analysis of Variance
Hypothesis Testing Niniet Indah Arvitrida, ST, MT SepuluhNopember Institute of Technology INDONESIA 2008.
Transcript presentasi:

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 11-1 Chapter 11 Analysis of Variance Basic Business Statistics 10 th Edition

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 11-2 Learning Objectives In this chapter, you learn: The basic concepts of experimental design How to use one-way analysis of variance to test for differences among the means of several populations (also referred to as “groups” in this chapter) When to use a randomized block design How to use two-way analysis of variance and the concept of interaction

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 11-3 Chapter Overview Analysis of Variance (ANOVA) F-test Tukey- Kramer test One-Way ANOVA Two-Way ANOVA Interaction Effects Randomized Block Design Multiple Comparisons

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 11-4 General ANOVA Setting Investigator controls one or more independent variables Called factors (or treatment variables) Each factor contains two or more levels (or groups or categories/classifications) Observe effects on the dependent variable Response to levels of independent variable Experimental design: the plan used to collect the data

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 11-5 Completely Randomized Design Experimental units (subjects) are assigned randomly to treatments Subjects are assumed homogeneous Only one factor or independent variable With two or more treatment levels Analyzed by one-way analysis of variance (ANOVA)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 11-6 One-Way Analysis of Variance Evaluate the difference among the means of three or more groups Examples: Accident rates for 1 st, 2 nd, and 3 rd shift Expected mileage for five brands of tires Assumptions Populations are normally distributed Populations have equal variances Samples are randomly and independently drawn

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 11-7 Hypotheses of One-Way ANOVA All population means are equal i.e., no treatment effect (no variation in means among groups) At least one population mean is different i.e., there is a treatment effect Does not mean that all population means are different (some pairs may be the same)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 11-8 One-Factor ANOVA All Means are the same: The Null Hypothesis is True (No Treatment Effect)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 11-9 One-Factor ANOVA At least one mean is different: The Null Hypothesis is NOT true (Treatment Effect is present) or (continued)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Partitioning the Variation Total variation can be split into two parts: SST = Total Sum of Squares (Total variation) SSA = Sum of Squares Among Groups (Among-group variation) SSW = Sum of Squares Within Groups (Within-group variation) SST = SSA + SSW

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Partitioning the Variation Total Variation = the aggregate dispersion of the individual data values across the various factor levels (SST) Within-Group Variation = dispersion that exists among the data values within a particular factor level (SSW) Among-Group Variation = dispersion between the factor sample means (SSA) SST = SSA + SSW (continued)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Partition of Total Variation Variation Due to Factor (SSA) Variation Due to Random Sampling (SSW) Total Variation (SST) Commonly referred to as:  Sum of Squares Within  Sum of Squares Error  Sum of Squares Unexplained  Within-Group Variation Commonly referred to as:  Sum of Squares Between  Sum of Squares Among  Sum of Squares Explained  Among Groups Variation = + d.f. = n – 1 d.f. = c – 1d.f. = n – c

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Total Sum of Squares Where: SST = Total sum of squares c = number of groups (levels or treatments) n j = number of observations in group j X ij = i th observation from group j X = grand mean (mean of all data values) SST = SSA + SSW

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Total Variation (continued)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Among-Group Variation Where: SSA = Sum of squares among groups c = number of groups n j = sample size from group j X j = sample mean from group j X = grand mean (mean of all data values) SST = SSA + SSW

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Among-Group Variation Variation Due to Differences Among Groups Mean Square Among = SSA/degrees of freedom (continued)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Among-Group Variation (continued)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Within-Group Variation Where: SSW = Sum of squares within groups c = number of groups n j = sample size from group j X j = sample mean from group j X ij = i th observation in group j SST = SSA + SSW

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Within-Group Variation Summing the variation within each group and then adding over all groups Mean Square Within = SSW/degrees of freedom (continued)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Within-Group Variation (continued)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Obtaining the Mean Squares

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap One-Way ANOVA Table Source of Variation dfSS MS (Variance) Among Groups SSAMSA = Within Groups n - cSSWMSW = Totaln - 1 SST = SSA+SSW c - 1 MSA MSW F ratio c = number of groups n = sum of the sample sizes from all groups df = degrees of freedom SSA c - 1 SSW n - c F =

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap One-Way ANOVA F Test Statistic Test statistic MSA is mean squares among groups MSW is mean squares within groups Degrees of freedom df 1 = c – 1 (c = number of groups) df 2 = n – c (n = sum of sample sizes from all populations) H 0 : μ 1 = μ 2 = … = μ c H 1 : At least two population means are different

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Interpreting One-Way ANOVA F Statistic The F statistic is the ratio of the among estimate of variance and the within estimate of variance The ratio must always be positive df 1 = c -1 will typically be small df 2 = n - c will typically be large Decision Rule: Reject H 0 if F > F U, otherwise do not reject H 0 0  =.05 Reject H 0 Do not reject H 0 FUFU

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap One-Way ANOVA F Test Example You want to see if three different golf clubs yield different distances. You randomly select five measurements from trials on an automated driving machine for each club. At the 0.05 significance level, is there a difference in mean distance? Club 1 Club 2 Club

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap One-Way ANOVA Example: Scatter Diagram Distance Club 1 Club 2 Club Club 1 2 3

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap One-Way ANOVA Example Computations Club 1 Club 2 Club X 1 = X 2 = X 3 = X = n 1 = 5 n 2 = 5 n 3 = 5 n = 15 c = 3 SSA = 5 (249.2 – 227) (226 – 227) (205.8 – 227) 2 = SSW = (254 – 249.2) 2 + (263 – 249.2) 2 +…+ (204 – 205.8) 2 = MSA = / (3-1) = MSW = / (15-3) = 93.3

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap F = One-Way ANOVA Example Solution H 0 : μ 1 = μ 2 = μ 3 H 1 : μ j not all equal  = 0.05 df 1 = 2 df 2 = 12 Test Statistic: Decision: Conclusion: Reject H 0 at  = 0.05 There is evidence that at least one μ j differs from the rest 0  =.05 F U = 3.89 Reject H 0 Do not reject H 0 Critical Value: F U = 3.89

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap SUMMARY GroupsCountSumAverageVariance Club Club Club ANOVA Source of Variation SSdfMSFP-valueF crit Between Groups E Within Groups Total One-Way ANOVA Excel Output EXCEL: tools | data analysis | ANOVA: single factor

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap The Tukey-Kramer Procedure Tells which population means are significantly different e.g.: μ 1 = μ 2  μ 3 Done after rejection of equal means in ANOVA Allows pair-wise comparisons Compare absolute mean differences with critical range x μ 1 = μ 2 μ 3

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Tukey-Kramer Critical Range where: Q U = Value from Studentized Range Distribution with c and n - c degrees of freedom for the desired level of  (see appendix E.9 table) MSW = Mean Square Within n j and n j’ = Sample sizes from groups j and j’

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap The Tukey-Kramer Procedure: Example 1. Compute absolute mean differences: Club 1 Club 2 Club Find the Q U value from the table in appendix E.7 with c = 3 and (n – c) = (15 – 3) = 12 degrees of freedom for the desired level of  (  = 0.05 used here):

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 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. Thus, with 95% confidence we can conclude that the mean distance for club 1 is greater than club 2 and 3, and club 2 is greater than club Compute Critical Range: 4. Compare: (continued)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap The Randomized Block Design Like One-Way ANOVA, we test for equal population means (for different factor levels, for example)......but we want to control for possible variation from a second factor (with two or more levels) Levels of the secondary factor are called blocks

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Partitioning the Variation Total variation can now be split into three parts: SST = Total variation SSA = Among-Group variation SSBL = Among-Block variation SSE = Random variation SST = SSA + SSBL + SSE

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Sum of Squares for Blocking Where: c = number of groups r = number of blocks X i. = mean of all values in block i X = grand mean (mean of all data values) SST = SSA + SSBL + SSE

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Partitioning the Variation Total variation can now be split into three parts: SST and SSA are computed as they were in One-Way ANOVA SST = SSA + SSBL + SSE SSE = SST – (SSA + SSBL)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Mean Squares

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Randomized Block ANOVA Table Source of Variation dfSSMS Among Blocks SSBLMSBL Error (r–1)(c-1)SSEMSE Totalrc - 1SST r - 1 MSBL MSE F ratio c = number of populationsrc = sum of the sample sizes from all populations r = number of blocksdf = degrees of freedom Among Treatments SSAc - 1MSA MSE

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Blocking Test Blocking test: df 1 = r – 1 df 2 = (r – 1)(c – 1) MSBL MSE F = Reject H 0 if F > F U

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Main Factor test: df 1 = c – 1 df 2 = (r – 1)(c – 1) MSA MSE F = Reject H 0 if F > F U Main Factor Test

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap The Tukey Procedure To test which population means are significantly different e.g.: μ 1 = μ 2 ≠ μ 3 Done after rejection of equal means in randomized block ANOVA design Allows pair-wise comparisons Compare absolute mean differences with critical range x  =  123

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap The Tukey Procedure (continued) If the absolute mean difference is greater than the critical range then there is a significant difference between that pair of means at the chosen level of significance. Compare:

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Factorial Design: Two-Way ANOVA Examines the effect of Two factors of interest on the dependent variable e.g., Percent carbonation and line speed on soft drink bottling process Interaction between the different levels of these two factors e.g., Does the effect of one particular carbonation level depend on which level the line speed is set?

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Two-Way ANOVA Assumptions Populations are normally distributed Populations have equal variances Independent random samples are drawn (continued)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Two-Way ANOVA Sources of Variation Two Factors of interest: A and B r = number of levels of factor A c = number of levels of factor B n ’ = number of replications for each cell n = total number of observations in all cells (n = rcn ’ ) X ijk = value of the k th observation of level i of factor A and level j of factor B

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Two-Way ANOVA Sources of Variation SST Total Variation SSA Factor A Variation SSB Factor B Variation SSAB Variation due to interaction between A and B SSE Random variation (Error) Degrees of Freedom: r – 1 c – 1 (r – 1)(c – 1) rc(n’ – 1) n - 1 SST = SSA + SSB + SSAB + SSE (continued)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Two Factor ANOVA Equations Total Variation: Factor A Variation: Factor B Variation:

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Two Factor ANOVA Equations Interaction Variation: Sum of Squares Error: (continued)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Two Factor ANOVA Equations where: r = number of levels of factor A c = number of levels of factor B n ’ = number of replications in each cell (continued)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Mean Square Calculations

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Two-Way ANOVA: The F Test Statistic F Test for Factor B Effect F Test for Interaction Effect H 0 : μ 1.. = μ 2.. = μ 3.. = H 1 : Not all μ i.. are equal H 0 : the interaction of A and B is equal to zero H 1 : interaction of A and B is not zero F Test for Factor A Effect H 0 : μ.1. = μ.2. = μ.3. = H 1 : Not all μ.j. are equal Reject H 0 if F > F U

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Two-Way ANOVA Summary Table Source of Variation Sum of Squares Degrees of Freedom Mean Squares F Statistic Factor ASSAr – 1 MSA = SSA /(r – 1) MSA MSE Factor BSSBc – 1 MSB = SSB /(c – 1) MSB MSE AB (Interaction) SSAB(r – 1)(c – 1) MSAB = SSAB / (r – 1)(c – 1) MSAB MSE ErrorSSE rc(n ’ – 1) MSE = SSE/rc(n’ – 1) TotalSSTn – 1

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Features of Two-Way ANOVA F Test Degrees of freedom always add up n-1 = rc(n ’ -1) + (r-1) + (c-1) + (r-1)(c-1) Total = error + factor A + factor B + interaction The denominator of the F Test is always the same but the numerator is different The sums of squares always add up SST = SSE + SSA + SSB + SSAB Total = error + factor A + factor B + interaction

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Examples: Interaction vs. No Interaction No interaction: Factor B Level 1 Factor B Level 3 Factor B Level 2 Factor A Levels Factor B Level 1 Factor B Level 3 Factor B Level 2 Factor A Levels Mean Response Interaction is present:

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Multiple Comparisons: The Tukey Procedure Unless there is a significant interaction, you can determine the levels that are significantly different using the Tukey procedure Consider all absolute mean differences and compare to the calculated critical range Example: Absolute differences for factor A, assuming three factors:

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Multiple Comparisons: The Tukey Procedure Critical Range for Factor A: ( where Q u is from Table E.10 with r and rc(n’–1) d.f.) Critical Range for Factor B: (where Q u is from Table E.10 with c and rc(n’–1) d.f.)

Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap Chapter Summary Described one-way analysis of variance The logic of ANOVA ANOVA assumptions F test for difference in c means The Tukey-Kramer procedure for multiple comparisons Considered the Randomized Block Design Treatment and Block Effects Multiple Comparisons: Tukey Procedure Described two-way analysis of variance Examined effects of multiple factors Examined interaction between factors