1 / 9

One-way ANOVA with SPSS

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

gaille
Download Presentation

One-way ANOVA with SPSS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. One-way ANOVA • 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. • What happen when we have more than two sample and want to compare more than 2 means? • A one-way analysis of variance (ANOVA) is appropriate when you wish to compare the means of more than two sample.

  3. The Hypothesis • ANOVA is one of the test used in hypothesis testing. • 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. • The hypothesis for ANOVA in general is • H0 : The means are all equal. • H1 : At least one of the means are not equal.

  4. One-way between groups ANOVA with post-hoc comparisons • Used when samples are independent. • If we reject the null hypothesis, we need to identify which ones are significantly different and this requires a post-hoc analysis. • 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. • 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 • 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. • This assumption can be tested using the Levene’s test where the H0 is variances is equal and H1 is variances are unequal.

  6. Example • An economist wished to compare household expenditure on electricity and gas in 4 major towns (KK, tawau, Lahad Datu, Sandakan) in Sabah. • She obtained random samples of 25 households from each town and asked them to keep records of their expenditure over a 6 month period. • This is an independent group design because different households are in different towns. • 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. • The hypothesis • H0: The mean expenditure for the 4 towns are equal • H1: At least one of the mean expenditure for 4 towns is unequal

  7. Output Variances are equal H0 is rejected

  8. Output These 2 towns have significantly different means

  9. Conclusion • 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 H0 and conclude that the assumption of homogeneity of variance is not violated. • Based on the ANOVA, the p-value is 0.013 that is less than significant level 0.05, therefore we reject H0 and conclude that at leastone of the mean expenditure for 4 towns are unequal. • 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.

More Related