anova. anova - what is it? analysis of variance. a method for splitting the total variation of a...

29
ANOVA

Upload: stella-leonard

Post on 23-Dec-2015

227 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

ANOVA

Page 2: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

ANOVA - What is it?Analysis of variance.A method for splitting the

total variation of a data into meaningful components that measure different sources of variation

Page 3: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

One-Way Classification(equal samples) Assumption

Random samples of size n are selected from each of the k populations.

The k populations are independent and normally distributed with means and common variance

Page 4: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Ho: & Ha:Ho: Ha: at least two of the means are not equal

Page 5: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Critical Region and ANOVA Table [equal samples]

Page 6: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Computational Formulas

Page 7: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

EXAMPLEA company has three manufacturing plants, and company officials want to determine whether there is a difference in the average age of workers at the three locations. The following data are the ages of five randomly selected workers at each plant. Perform a one-way ANOVA to determine whether there is a significant difference in the mean ages of the workers at the three plants. Use 0.01level of significance.

Page 8: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different
Page 9: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Between Groups = Column Means Within Groups = Error

Page 10: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

EXAMPLE

Page 11: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Between Groups = Column Means Within Groups = Error

Page 12: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Critical Region and ANOVA Table [unequal samples] If the sample size for the k populations are then the critical region is given where

Page 13: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Computational Formulas

Page 14: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

ExampleIt is suspected that higher-priced automobiles are assembled with greater care than lower-priced automobiles. To investigate whether there is any basis for this feeling, a large luxury model A, a medium-size sedan B, and a subcompact hatchback C were compared for defects when they arrived at the dealer’s showroom. All cars were manufactured by the same company. The number of defects for several of the three models are recorded.

Page 15: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Test the hypothesis at 0.05 level of significance that the average number of defects is the same for the three models.

  MODEL    A B C    4 5 8    7 1 6    6 3 8    6 5 9      3 5      4    

TOTAL

23 21 36 80

Page 16: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different
Page 17: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

EXAMPLEA milk company has four machines that fill gallon jugs with milk. The quality control manager is interested in determining whether the average fill for these machines is the same. The following data represent random samples of fill measures (in quarts) for 19 jugs of milk filled by the different machines. Use to test the hypotheses. Discuss the business implications of your findings.

Page 18: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

MACHINE 1 MACHINE 2 MACHINE 3 MACHINE 44.05 3.99 3.97 44.01 4.02 3.98 4.024.02 4.01 3.97 3.994.04 3.99 3.95 4.01

  4 4    4    

Page 19: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Tukey’s Honestly Significant Difference Test : (HSD) Equal Samples

Unequal Samples

If then is is significantly different from

Page 20: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Example (Milk)

Page 21: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

ROWS

COLUMNSTOTA

LMEAN

S1 2 j c

1

2

i

r

TOTAL

MEAN

Page 22: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Two-Way ANOVA (w/o replication)

We wish to test the following hypotheses: Ho: The row means are all equal

H1: The row means are significantly different Ho: The column means are all equal

H1: The column means are significantly different

Page 23: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Computational Formulas

𝑆𝑆𝑇=(∑𝑖=1

𝑟

∑𝑗=1

𝑐

𝑥 𝑖𝑗2 )− 𝑇 ..

2

𝑟𝑐𝑆𝑆𝑅= 1

𝑐 (∑𝑖=1

𝑟

𝑇 𝑖 .2 )− 𝑇 ..

2

𝑟𝑐

𝑆𝑆𝐶=1𝑟 (∑

𝑗=1

𝑐

𝑇 . 𝑗2 )− 𝑇 ..

2

𝑟𝑐𝑆𝑆𝐸=𝑆𝑆𝑇 −𝑆𝑆𝐶−𝑆𝑆𝑅

Page 24: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

The yields of three types of wheat using four different kinds of fertilizer were recorded and are shown on the next page:

Test the hypothesis at the 0.05 level of significance that there is no difference in the average yield of wheat when different kinds of fertilizer are used. Also, test the hypothesis that there is no difference in the average yield of the three varieties of wheat.

Example 4

Page 25: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Example 4

Page 26: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

We wish to test the following hypotheses: Ho: The row means are all equal

H1: The row means are significantly different

Ho: The column means are all equal H1: The column means are significantly

different Ho: There is no significant interaction

effect. H1: There is a significant interaction effect.

Two-Way ANOVA (with Replication)

Page 27: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Computational Formulas

Page 28: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

Aside from testing the difference in the yields according to fertilizer and variety of wheat, try to determine if there is a significant interaction effect on the two variables, given the following data set. Use a 0.05 level of significance.

Example 5

Page 29: ANOVA. ANOVA - What is it?  Analysis of variance.  A method for splitting the total variation of a data into meaningful components that measure different

ANOVA : PLBautista

Example 5