Presentation is loading. Please wait.

Presentation is loading. Please wait.

One-way ANOVA with SPSS POSTGRADUATE METHODOLOGY COURSE Hairul Hafiz Mahsol Institute for Tropical Biology & Conservation School of Science & Technology.

Similar presentations


Presentation on theme: "One-way ANOVA with SPSS POSTGRADUATE METHODOLOGY COURSE Hairul Hafiz Mahsol Institute for Tropical Biology & Conservation School of Science & Technology."— Presentation transcript:

1 One-way ANOVA with SPSS POSTGRADUATE METHODOLOGY COURSE Hairul Hafiz Mahsol Institute for Tropical Biology & Conservation School of Science & Technology

2 One-way ANOVA n We use the two sample t-test when you have data from two sample and wish to know whether the mean of the two population from which the samples are drawn are the same or different. n What happen when we have more than two sample and want to compare more than 2 means? n A one-way analysis of variance (ANOVA) is appropriate when you wish to compare the means of more than two sample.

3 The Hypothesis n ANOVA is one of the test used in hypothesis testing. n In ANOVA the F-ratio is calculated to obtain the p-value and a significant p-value (< level of significant ) tells us that the population means are probably not all equal. n The hypothesis for ANOVA in general is –H 0 : The means are all equal. –H 1 : At least one of the means are not equal.

4 One-way between groups ANOVA with post-hoc comparisons n Used when samples are independent. n If we reject the null hypothesis, we need to identify which ones are significantly different and this requires a post-hoc analysis. n There are a number of post hoc test available for example Scheffe test which allows you to perform every possible comparison but is tough on rejecting the null hypothesis. n In contrast, Tukey’s honestly significant difference (HSD) test is more lenient, but you are restricted in terms of the types of comparison that you can make. For this course, we will be using the HSD post-hoc test.

5 Assumption testing n Before you can conduct the ANOVA you must ensure that the necessary assumptions are met. The assumptions for ANOVA are –Population normality – population from which the samples have been drawn should be normal. –Homogeneity of variance – the scores in each group should have homogeneous (equal) variances. n This assumption can be tested using the Levene’s test where the H 0 is variances is equal and H 1 is variances are unequal.

6 Example n An economist wished to compare household expenditure on electricity and gas in 4 major towns (KK, tawau, Lahad Datu, Sandakan) in Sabah. n She obtained random samples of 25 households from each town and asked them to keep records of their expenditure over a 6 month period. n This is an independent group design because different households are in different towns. n Since we are comparing more than 2 means and the samples are independent we will conduct a one-way between groups ANOVA with post-hoc comparisons. n The hypothesis –H 0 : The mean expenditure for the 4 towns are equal –H 1 : At least one of the mean expenditure for 4 towns is unequal

7 Output Variances are equal H 0 is rejected

8 Output These 2 towns have significantly different means

9 Conclusion n Based on the Levene’s test, the p-value is 0.488 that is greater than significant level 0.05, therefore we do not reject H 0 and conclude that the assumption of homogeneity of variance is not violated. n Based on the ANOVA, the p-value is 0.013 that is less than significant level 0.05, therefore we reject H 0 and conclude that at least one of the mean expenditure for 4 towns are unequal. n Based on the Tukey’s HSD, the only significant p-value is the one between Kota Kinabalu and Lahad Datu, therefore we concluded that there is a significant difference between the mean expenditure between Kota Kinabalu and Lahad Datu while there is no significant difference for the other combinations.


Download ppt "One-way ANOVA with SPSS POSTGRADUATE METHODOLOGY COURSE Hairul Hafiz Mahsol Institute for Tropical Biology & Conservation School of Science & Technology."

Similar presentations


Ads by Google