1. Trang chủ
  2. » Kinh Doanh - Tiếp Thị

Statistics for business economics 7th by paul newbold chapter 15

57 252 1

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 57
Dung lượng 0,92 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

One-Way Analysis of Variance Evaluate the difference among the means of three or more groups Examples: Average production for 1 st , 2 nd , and 3 rd shifts Expected mileage for five br

Trang 1

Statistics for Business and Economics

7 th Edition

Chapter 15

Analysis of Variance

Trang 2

Chapter Goals

After completing this chapter, you should be able to:

interpret the results

one observation per cell

Trang 3

One-Way Analysis of Variance

 Evaluate the difference among the means of three

or more groups

Examples: Average production for 1 st , 2 nd , and 3 rd shifts Expected mileage for five brands of tires

 Assumptions

 Populations are normally distributed

 Populations have equal variances

 Samples are randomly and independently drawn

15.2

Trang 4

Hypotheses of One-Way ANOVA

 All population means are equal

 i.e., no variation in means between groups

 At least one population mean is different

 i.e., there is variation between groups

 Does not mean that all population means are different (some pairs may be the same)

K 3

2 1

pair

j i, one least

at for μ

μ :

Trang 5

2 1

same the

are μ

all Not

:

3 2

Trang 6

One-Way ANOVA

At least one mean is different:

The Null Hypothesis is NOT true (Variation is present between groups)

3 2

2 1

same the

are μ

all Not

:

Trang 7

 The variability of the data is key factor to test the

equality of means

large variation within groups in B makes the evidence that the means are different weak

Small variation within groups

A B C Group

A B C Group

Large variation within groups

Trang 8

Partitioning the Variation

 Total variation can be split into two parts:

SST = Total Sum of Squares

Total Variation = the aggregate dispersion of the individual

data values across the various groups

SSW = Sum of Squares Within Groups

Within-Group Variation = dispersion that exists among the

data values within a particular group

SSG = Sum of Squares Between Groups

Between-Group Variation = dispersion between the group

SST = SSW + SSG

Trang 9

Partition of Total Variation

Variation due to differences between groups

(SSG)

Variation due to random sampling

(SSW)

Total Sum of Squares

(SST)

Trang 10

Total Sum of Squares

Where:

SST = Total sum of squares

K = number of groups (levels or treatments)

n i = number of observations in group i

x ij = j th observation from group i

x = overall sample mean

n

1 j

2 ij

i

) x (x

SST

Trang 11

Total Variation

Group 1 Group 2 Group 3

Response, X

2 Kn

2 12

Trang 12

Within-Group Variation

Where:

SSW = Sum of squares within groups

K = number of groups

n i = sample size from group i

n

1 j

2 i ij

i

) x (x

SSW

Trang 13

1 j

2 i ij

i

) x (x

SSW

i

μ

Trang 14

Within-Group Variation

Group 1 Group 2 Group 3

Response, X

2 K Kn

2 1 12

2 1

Trang 15

Between-Group Variation

Where:

SSG = Sum of squares between groups

K = number of groups

n i = sample size from group i

x = grand mean (mean of all data values)

2 i

K

1 i

i ( x x ) n

SSG   

SST = SSW + SSG

Trang 16

Between-Group Variation

Variation Due to Differences Between Groups K 1

SSG MSG

K

1 i

i ( x x ) n

SSG   

i

Trang 17

Between-Group Variation

Group 1 Group 2 Group 3

Response, X

2 K

K

2 2

2

2 1

Trang 18

Obtaining the Mean Squares

K n

SSW MSW

1 K

SSG MSG

1 n

SST MST

Trang 19

One-Way ANOVA Table

Source of

MS (Variance)

n - K

F =

Trang 20

One-Factor ANOVA

F Test Statistic

 Test statistic

MSG is mean squares between variances

MSW is mean squares within variances

Trang 21

Interpreting the F Statistic

 The F statistic is the ratio of the between

estimate of variance and the within estimate

of variance

F K-1,n-K,

Trang 22

One-Factor 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

.05 significance level, is there

Trang 23

One-Factor ANOVA Example:

205.8 x

226.0 x

249.2

Trang 24

One-Factor ANOVA Example

MSG = 4716.4 / (3-1) = 2358.2

MSW = 1119.6 / (15-3) = 93.3 25.275

93.3 2358.2

Trang 25

One-Factor ANOVA Example

There is evidence that

at least one μ i differs from the rest

2358.2 MSW

Trang 26

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.89 Within

Groups 1119.6 12 93.3 Total 5836.0 14

ANOVA Single Factor:

Excel Output EXCEL: data | data analysis | ANOVA: single factor

Trang 27

Multiple Comparisons Between

 Allows pair-wise comparisons

range

x

 =  1 23

Trang 28

Two Subgroups

 When there are only two subgroups, compute

the minimum significant difference (MSD)

 Use hypothesis testing methods of Ch 10

n

2 S

t MSD  α/2 p

Trang 29

Multiple Supgroups

 q is a factor from appendix Table 13

for the chosen level of 

n

S q

subgroups is

where S p  MSW

Trang 30

etc

x x

x x

x x

3 2

3 1

2 1

level of significance

Compare:

? MSD(k) x

Trang 31

20.2 x

x

43.4 x

x

23.2 x

x

3 2

3 1

2 1

(where q = 3.77 is from Table 13 for  = 05 and 12 df)

Multiple Supgroups: Example

9.387 15

93.3 3.77

n

S q

Trang 32

Kruskal-Wallis Test

 Use when the normality assumption for

one-way ANOVA is violated

 Assumptions:

15.3

Trang 33

Kruskal-Wallis Test Procedure

 Obtain relative rankings for each value

 In event of tie, each of the tied values gets the average rank

 Sum the rankings for data from each of the K groups

degrees of freedom

Trang 34

Kruskal-Wallis Test Procedure

 The Kruskal-Wallis test statistic:

(chi-square with K – 1 degrees of freedom)

1)

3(n n

R 1)

R i = Sum of ranks in the i th group

n i = Size of the i th group

(continued)

Trang 35

Kruskal-Wallis Test Procedure

Trang 36

Kruskal-Wallis Example

 Do different departments have different class

sizes?

Class size (Math, M) (English, E) Class size (Biology, B) Class size

23 45 54 78 66

55 60 72 45 70

30 40 18 34 44

Trang 37

Class size (Biology, B) Ranking

23 41 54 78 66

2 6 9 15 12

55 60 72 45 70

10 11 14 8 13

30 40 18 34 44

3 5 1 4 7

Trang 38

Kruskal-Wallis Example

 The W statistic is

(continued)

6.72 1)

3(15 5

20 5

56 5

44 1)

15(15

12

1)

3(n n

R 1)

n(n

12 W

2 2

means population

all Not :

H

Mean Mean

Mean :

H

1

B E

M

Trang 39

 Compare W = 6.72 to the critical value from

the chi-square distribution for 3 – 1 = 2 degrees of freedom and  = 05:

5.991

2 2,0.05 

There is sufficient evidence to reject that the population means are all equal

Trang 40

Two-Way Analysis of Variance

 Examines the effect of

Trang 41

Two-Way ANOVA

 Assumptions

 Populations are normally distributed

 Populations have equal variances

 Independent random samples are drawn

(continued)

Trang 42

Randomized Block Design

Two Factors of interest: A and B

K = number of groups of factor A

H = number of levels of factor B

Block

Group

1 2 H

x11

x12 .

x21

x22 .

xK1

xK2 .

Trang 43

 Denote the block sample means by

K) , 1,2, (j

) H , 1,2,

(i

Trang 44

Partition of Total Variation

 SST = SSG + SSB + SSE

Variation due to differences between groups (SSG)

Variation due to random sampling (unexplained error)

Trang 45

Two-Way Sums of Squares

 The sums of squares are

2

i x ) (x

K SSB

: Blocks -

2

j x ) x

( H

SSG :

Groups -

H

1 i

2

ji x ) (x

SST :

H

1 i

2 i

j

ji x x x ) (x

SSE :

Error

Degrees of Freedom:

n – 1

K – 1

H – 1

(K – 1)(K – 1)

Trang 46

Two-Way Mean Squares

 The mean squares are

1) 1)(H

(K

SSE MSE

1 H

SST MSB

1 K

SST MSG

1 n

SST MST

Trang 47

Two-Way ANOVA:

The F Test Statistic

F Test for Blocks

H 0 : The K population group

means are all the same

F Test for Groups

H 0 : The H population block

means are the same

Trang 48

General Two-Way Table Format

K – 1

H – 1 (K – 1)(H – 1)

n - 1

1 K

SSG MSG

1 H

SSB MSB

1) 1)(H (K

SSE MSE

MSE MSG

MSE MSB

Trang 49

More than One Observation per Cell

 A two-way design with more than one

observation per cell allows one further source

of variation

 The interaction between groups and blocks

can also be identified

 Let

15.5

Trang 50

More than One Observation per Cell

SST Total Variation

Trang 51

Sums of Squares with Interaction

2

i x ) (x

KL SSB

: blocks -

2

j x ) x

( HL

SSG :

groups -

Between

2

j i l

jil x ) (x

SST :

Total     

2 ji

i j l

jil x ) (x

SSE :

H

1 i

2 i

j

ji x x x ) x

( L

SSI :

n Interactio

Trang 52

Two-Way Mean Squares

with Interaction

 The mean squares are

1) KH(L

SSE MSE

1) 1)(H

(K

-SSI MSI

1 H

SST MSB

1 K

SST MSG

1 n

SST MST

Trang 53

Two-Way ANOVA:

The F Test Statistic

F Test for block effect

F Test for interaction effect

H 0 : the interaction of groups and

blocks is equal to zero

F Test for group effect

H 0 : The K population group

means are all the same

H 0 : The H population block

means are the same

Trang 54

Two-Way ANOVA Summary Table

Interaction SSI (K – 1)(H – 1) MSI

= SSI / (K – 1)(H – 1)

MSI MSE

Error SSE KH(L – 1) MSE

= SSE / KH(L – 1)

Total SST n – 1

Trang 55

Features of Two-Way

ANOVA F Test

 Degrees of freedom always add up

The denominator of the F Test is always the

same but the numerator is different

 The sums of squares always add up

Trang 56

Block Level 1

Block Level 3 Block Level 2

A B C A B C

Trang 57

Chapter Summary

 Described one-way analysis of variance

 Applied the Kruskal-Wallis test when the populations are not known to be normal

 Described two-way analysis of variance

Ngày đăng: 10/01/2018, 16:03

TỪ KHÓA LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm