SEVERAL π S AND MEDIANS: MORE ISSUES Business Statistics
CONTENTS Post-hoc analysis ANOVA for 2 groups The equal variances assumption The Kruskal-Wallis test Old exam question Further study
POST-HOC ANALYSIS After rejecting the null hypothesis of equal means, we naturally want to know: βͺ which of the means differ (differs) significantly? βͺ is it (are they) lower or higher than the others? We are only allowed to go into this after πΌ 0 has been rejected βͺ therefore, we speak of a post-hoc analysis or post-hoc test π πβ1 For π groups, there are distinct pairs of means to be 2 compared βͺ so-called multiple comparison tests
POST-HOC ANALYSIS There are many such multiple comparison tests We focus on Tukeyβs studentized range test (or HSD for βhonestly significant differenceβ test) βͺ a multiple comparison test that is widely used βͺ named after statistician John Wilder Tukey (1915-2000)
POST-HOC ANALYSIS This line, for instance, compares Club 1 to Club 3
POST-HOC ANALYSIS On the basis of significant differences, SPSS defines homogeneous subsets The means of club 2 and club 3 cannot be discerned (statistically), and both differ significantly from the mean of club 1. And: club 1 is significantly better. Rule: if two groups are in the same subset, they do not differ significantly
ANOVA FOR 2 GROUPS Comparing 2 means βͺ Choice between: βͺ independent sample π’ -test βͺ ANOVA βͺ Example on Computer Anxiety Rating
ANOVA FOR 2 GROUPS Result of π’ -test (which of the two?) Result of ANOVA
ANOVA FOR 2 GROUPS Comparing two means (equality: π 1 = π 2 ) βͺ π’ -test βͺ null distribution: π’~π’ π 1 +π 2 β2 βͺ reject for small and large values βͺ equal variance required βͺ or the other test without this requirement βͺ normal populations required βͺ or symmetric populations and π 1 , π 2 β₯ 15 , or π 1 , π 2 β₯ 30 βͺ ANOVA for two groups (one factor with two levels) βͺ null distribution πΊ~πΊ 1,π 1 +π 2 β2 βͺ reject for large values βͺ equal variance required βͺ normal populations required
ANOVA FOR 2 GROUPS So, π’ -test is not superfluous now we have ANOVA You still need the independent samples π’ -test: βͺ more hypotheses possible ( π 1 β₯ π 2 , π 1 = π 2 + 7 , etc.) βͺ weaker requirement for population variances βͺ weaker requirement for population distributions
THE EQUAL VARIANCES ASSUMPTION Main assumption of ANOVA: equal variances Seen before in the independent samples π’ -test 2 = π 2 βͺ where the pooled variance was used to estimate π 1 2 the assumption was tested with Leveneβs test
THE EQUAL VARIANCES ASSUMPTION Leveneβs test is a homogeneity of variance test 2 = π 2 2 ) βͺ works for two variances ( H 0 : π 1 2 = π 2 2 = π 3 2 = β― ) βͺ but also for several variances ( H 0 : π 1 Example (golf clubs) βͺ πβvalue β« 0.1 , so hypothesis of equal variances is not rejected if not, escape to nonparametric ANOVA? βͺ validity of use of ANOVA is OK see next ...
THE KRUSKAL-WALLIS TEST βͺ Recall that we used non-parametric methods when populations are not normally distributed βͺ Can we develop a non-parametric ANOVA? βͺ Yes: the Kruskal-Wallis test βͺ based on ranking of the observations on π βͺ compares medians ( πΌ 0 : π 1 = π 2 = π 3 = β― ) βͺ has lower power than ANOVA (is less sensitive) βͺ requires few assumptions βͺ Generalization of Wilcoxon-Mann-Whitney test, but for more than two groups
THE KRUSKAL-WALLIS TEST Computational steps in Kruskal-Wallis test: βͺ Rank the observations π§ 1 , β¦ , π§ π , yielding π 1 , β¦ , π π π βͺ π π size of group π ; π = Ο π=1 π π βͺ Calculate the sum of ranks in every group π π π ππ (for all groups π = 1, β¦ , π ) On formula sheet a βͺ π π = Ο π=1 slightly different form βͺ Calculate test statistic that works easier 2 ; reject for large values 12 π π π π βπ β ന βͺ π π+1 Ο π=1 πΌ = π ββ 2 βͺ Under πΌ 0 : πΌ βΌ π πβ1 Required: populations of βsimilarβ shape βͺ test right-tailed (like ANOVA) βͺ for very small samples (groups<5), test not appropriate
THE KRUSKAL-WALLIS TEST Example: comparing three golf clubs βͺ using SPSS Kruskal-Wallis statistic ( πΌ ) π -value
EXERCISE 1 Fill out the table
OLD EXAM QUESTION 21 May 2015, Q1n
FURTHER STUDY Doane & Seward 5/E 11.3-11.4, 16.5 Tutorial exercises week 4 Homogeneous subsets, Kruskal-Wallis test
Recommend
More recommend