Analysis of Variance l Chapter 8 l 8.1 One way ANOVA

Slides:



Advertisements
Similar presentations
ANALYSIS OF VARIANCE (ONE WAY)
Advertisements

Multiple Analysis of Variance – MANOVA
Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
i) Two way ANOVA without replication
Analysis of variance (ANOVA)-the General Linear Model (GLM)
Design of Experiments and Analysis of Variance
Chapter 11 Analysis of Variance
Statistics for Business and Economics
Statistics for Managers Using Microsoft® Excel 5th Edition
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Analysis of Variance Statistics for Managers Using Microsoft.
Chap 10-1 Analysis of Variance. Chap 10-2 Overview Analysis of Variance (ANOVA) F-test Tukey- Kramer test One-Way ANOVA Two-Way ANOVA Interaction Effects.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
CHAPTER 3 Analysis of Variance (ANOVA) PART 1
QNT 531 Advanced Problems in Statistics and Research Methods
© 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee.
Srinivasulu Rajendran Centre for the Study of Regional Development (CSRD) Jawaharlal Nehru University (JNU) New Delhi India
© 2002 Prentice-Hall, Inc.Chap 9-1 Statistics for Managers Using Microsoft Excel 3 rd Edition Chapter 9 Analysis of Variance.
CHAPTER 12 Analysis of Variance Tests
1 Chapter 13 Analysis of Variance. 2 Chapter Outline  An introduction to experimental design and analysis of variance  Analysis of Variance and the.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Analysis of Variance Statistics for Managers Using Microsoft.
Inferential Statistics
ANALYSIS OF VARIANCE (ANOVA) BCT 2053 CHAPTER 5. CONTENT 5.1 Introduction to ANOVA 5.2 One-Way ANOVA 5.3 Two-Way ANOVA.
Analysis of Variance 1 Dr. Mohammed Alahmed Ph.D. in BioStatistics (011)
ANOVA: Analysis of Variance.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 14 Experimental.
Chapter 13 - ANOVA. ANOVA Be able to explain in general terms and using an example what a one-way ANOVA is (370). Know the purpose of the one-way ANOVA.
CHAPTER 4 Analysis of Variance One-way ANOVA
SW318 Social Work Statistics Slide 1 One-way Analysis of Variance  1. Satisfy level of measurement requirements  Dependent variable is interval (ordinal)
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
Chapter 4 Analysis of Variance
© The McGraw-Hill Companies, Inc., Chapter 12 Analysis of Variance (ANOVA)
One-way ANOVA with SPSS POSTGRADUATE METHODOLOGY COURSE Hairul Hafiz Mahsol Institute for Tropical Biology & Conservation School of Science & Technology.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 7 l Hypothesis Tests 7.1 Developing Null and Alternative Hypotheses 7.2 Type I & Type.
Chapter 15 Analysis of Variance. The article “Could Mean Platelet Volume be a Predictive Marker for Acute Myocardial Infarction?” (Medical Science Monitor,
Six Easy Steps for an ANOVA 1) State the hypothesis 2) Find the F-critical value 3) Calculate the F-value 4) Decision 5) Create the summary table 6) Put.
Chapter 11 Analysis of Variance
CHAPTER 3 Analysis of Variance (ANOVA) PART 1
Chapter 13 f distribution and 0ne-way anova
Hypothesis Tests l Chapter 7 l 7.1 Developing Null and Alternative
Keller: Stats for Mgmt & Econ, 7th Ed Analysis of Variance
CHAPTER 3 Analysis of Variance (ANOVA) PART 1
CHAPTER 4 Analysis of Variance (ANOVA)
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Statistics for Managers Using Microsoft Excel 3rd Edition
Factorial Experiments
ANOVA Econ201 HSTS212.
Two way ANOVA with replication
CHAPTER 13 Design and Analysis of Single-Factor Experiments:
An Introduction to Two-Way ANOVA
ANOVA (Chapter - 04/D) Dr. C. Ertuna.
i) Two way ANOVA without replication
Applied Business Statistics, 7th ed. by Ken Black
Comparing Three or More Means
CHAPTER 3 Analysis of Variance (ANOVA)
Two way ANOVA with replication
CHAPTER 4 Analysis of Variance (ANOVA)
Chapter 10: Analysis of Variance: Comparing More Than Two Means
Post Hoc Tests on One-Way ANOVA
Post Hoc Tests on One-Way ANOVA
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Econ 3790: Business and Economic Statistics
Chapter 11 Analysis of Variance
Analysis of Variance (ANOVA)
One way ANOVA One way Analysis of Variance (ANOVA) is used to test the significance difference of mean of one dependent variable across more than two.
Chapter 15 Analysis of Variance
Exercise 1 Use Transform  Compute variable to calculate weight lost by each person Calculate the overall mean weight lost Calculate the means and standard.
Chapter 10 – Part II Analysis of Variance
ANalysis Of VAriance Lecture 1 Sections: 12.1 – 12.2
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

Analysis of Variance l Chapter 8 l 8.1 One way ANOVA 8.2 Multiple Comparison of Means 8.3 Two Way ANOVA (without Replication and With Replication)

8.0 Analysis of Variance (ANOVA) Previous chapter – at maximum, testing hypothesis of two population means. To compare means of more than two groups or level of an independent(s) variable. ANOVA can be used to analyze the data obtained from experimental or observational studies. A factor is a variable that the experimenter has selected for investigation. A treatment is a level of a factor. Experimental units are the objects of interest in the experiment. Variation between treatment groups captures the effect of the treatment. Variation within treatment groups represents random error not explained by the experimental treatments.

8.1 One way ANOVA (CRD) The one-way analysis of variance specifically allows us to compare several groups of observations whether or not their population mean are equal. One way ANOVA is also known as Completely Randomized Design (CRD). The application of one way ANOVA requires that the following assumptions hold true: The populations from which the samples are drawn are (approximately) normally distributed. The populations from which the samples are drawn have the same variance. The samples drawn from different populations are random and independent. Format for data Data appear in separate columns or rows, organized by treatment groups. Sample size of each group may differ.

8.1 One way ANOVA (CRD) Each observation may be written as: Or alternatively written as: Where

8.1 One way ANOVA (CRD) Hypothesis testing @ Where k = number of treatment groups or levels

P-value (Computer generated) 8.1 One way ANOVA (CRD) Hypothesis testing (cont.) The computations CRD problem in SPSS will be summarized in tabular form as shown in table below. This table is known as ANOVA table. Example Sum of Squares df Mean Square F Sig. Between Groups SSTR Within Groups SSE Total SST Treatment P-value (Computer generated) Error k-1/N-k SSTR k-1 SSE N-k SST N-1 MST/MSE N-k/N-1

Reject H0 if p-value < α 8.1 One way ANOVA (CRD) Hypothesis testing (cont.) Conclusion Reject H0 if p-value < α

8.1 One way ANOVA (CRD) Example (Example1WA.sav) An economist wished to compare household expenditure on electricity and gas in four major cities in Australia. She obtained random samples of 25 two-person households from each city (Adelaide, Hobart, Melbourne, and Perth) and asked them to keep records of their energy expenditure over a six-month period. Test at α=0.05.

2 3 1 8.1 One way ANOVA (CRD) Analysis in SPSS Move “city” into factor and “cost” into “Dependent list”. Next, click “Option” 1 Click “Descriptive” and “Homogeneity of variance test” check box. Continue and ok

Output 8.1 One way ANOVA (CRD) Analysis in SPSS (Cont.) Important values to draw conclusion Output

8.1 One way ANOVA (CRD) Example (Example1WA.sav – solution) 1. State the null hypothesis, and alternative hypothesis, @ 2. Compare a P-value (generated by SPSS) with the given value of α. However, variance equality need to be checked first through Levene’s test ( 2nd assumption - Homogeneity of variance).

8.1 One way ANOVA (CRD) Example (Example1WA.sav – solution) 3. Make an initial decision (whether to reject or not to reject ) Reject 4. Make the statistical decision and state the managerial conclusion. Hence, it can be concluded that one of the mean household expenditure on electricity and gas for the four cities is difference. @ Hence, it can be concluded that there is an effect for household expenditure on electricity and gas among the four different cities.

8.1 One way ANOVA (CRD) Extra Exercise (Exercise1WA.sav – solution) A biologist wishes to examine the nutrient value of six different food supplements. One hundred and fifty-four rats of the same species were each randomly assigned to one of six groups. Each group had a different supplement added to its food, and the rats’ weight gain over the ensuing six months was recorded in grams. Test the underlying assumptions of ANOVA Determine whether there are significant differences in weight gain across the food supplement.

8.2 Multiple Comparison of Means Is there any differences? ANOVA Household expenditure on electricity and gas in Adelaide Household expenditure on electricity and gas in Hobart Household expenditure on electricity and gas in Perth Household expenditure on electricity and gas in Melbourne YES, THERE IS So, there really is a difference. But where actually the difference lies This is where you use post-hoc test

8.2 Multiple Comparison of Means A significant F-ratio indicates that the population means are probability not equal. Because the null hypothesis is rejected if any pair of means is unequal, where the significant differences lie needs to be work out. This requires an analysis of multiple comparison of means or specifically, post-hoc multiple comparison analysis. Post-hoc analysis involves hunting through the data for any significance by doing an entire set of comparison. Several post-hoc tests are available, but for this chapter, we are going to illustrates Tukey’s HSD post-hoc test using the same data set (Example1WA.sav). As for our previous analysis of CRD, having obtained a significant result, using Tukey’s HSD test you can go further and determine where the significance lies: i.e: Which cities is there actually a significant difference in energy costs?

8.2 Multiple Comparison of Means Analysis in SPSS Click “Post Hoc” 2 1 3 Click on the check box for “Tukey”. Continue and ok

8.2 Multiple Comparison of Means Analysis in SPSS (Cont.) Based on the table above, it can be concluded that Adelaide and Perth have a significantly different mean energy costs. Output Important values to draw conclusion

8.2 Multiple Comparison of Means Exercise By using the data of Exercise1WA.sav, if there is significant differences in weight gain across the food supplement. Locate the source of these differences using Tukey’s HSD post-hoc test.

8.3 Two way ANOVA The two way ANOVA operates in the same manner as the one way ANOVA except that an additional independent variable involve. Each independent variable may possess two or more levels and each participant performs in all conditions. In this subchapter, we are going to focus on two way ANOVA with replication or also known as Factorial Experiment (FE). It has the same assumption as CRD (except homogeneity of variance) : The purpose of Factorial Experiment is to examine: The effect of factor A on the dependent variable, y. The effect of factor B on the dependent variable, y along with The effects of the interactions between different levels of the factors on the dependent variable, y. Interaction exists when the effect of a level for one factor depends on which level of the other factor is present. Advantages of FE over testing one factor at a time (CRD) – more efficient & allow interactions to be detected.

8.3 Two way ANOVA (FE) The effect model for a FE can be written as:

8.3 Two way ANOVA (FE) There are three sets of hypothesis: Factor A effect Factor B effect: Interaction effect:

8.3 Two way ANOVA (FE) The computations of FE problem using manual calculation was summarized in tabular form as shown in table below. However, the table format generated by SPSS will be a little bit different

8.3 Two way ANOVA (FE) The table of FE generated by SPSS will be as follows: SSE is unavailable Focus only on the highlighted area. SSA a - 1 SSA / a - 1 SSB b - 1 SSB / b - 1 SSAB (a – 1)(b-1) SSAB / (a – 1)(b-1)

8.3 Two way ANOVA (FE) At a toy company, ToyRthem, manager productivity is reflected in sales of toys across various store types and locations. Each managers oversees six stores: one of each type in each location. You wish to determine the effect of store type (variety, department and discount) and location (city centre or suburbs) on productivity, measured as sales of toys. You wish to asked three questions: Does the store type influence the amount of toy sales? Does the store location influence the amount of toy sales? Does the influence of store type on the amount of toy sales depend on the location of the store?

8.3 Two way ANOVA (FE) Analysis in SPSS 2 3 1      

8.3 Two way ANOVA (FE) Analysis in SPSS Output

8.3 Two way ANOVA (FE) Hypotheses testing: Location effect Compare a P-value (generated by SPSS) with the given value of α

8.3 Two way ANOVA (FE) Hypotheses testing: Store type effect Compare a P-value (generated by SPSS) with the given value of α

8.3 Two way ANOVA (FE) Hypotheses testing: Interaction effect Compare a P-value (generated by SPSS) with the given value of α

8.3 Two way ANOVA (FE) Extra exercise A graphic designer wishes to determine which combination of colours and backgrounds produces the most aesthetically pleasing display. Five participants are exposed to two different types of background (hatched and spotted) and lettering of four different colours (red, blue, green and yellow). Participants are asked to rate the pleasing nature of these display on a 20-point scale (from 1 = least pleasing to 20 = most pleasing). Given the data in Exercise2WA.sav, your task are to: Determine whether the background influences the participants’ ratings. Determine whether the colour of the lettering influences the participants’ ratings. Determine whether the influence of the background on ratings depends on letter colouring.