SLIDE 1
Business Statistics CONTENTS Post-hoc analysis ANOVA for 2 groups - - PowerPoint PPT Presentation
Business Statistics CONTENTS Post-hoc analysis ANOVA for 2 groups - - PowerPoint PPT Presentation
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
SLIDE 2
SLIDE 3
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 For π groups, there are
π πβ1 2
distinct pairs of means to be compared βͺ so-called multiple comparison tests POST-HOC ANALYSIS
SLIDE 4
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
SLIDE 5
POST-HOC ANALYSIS
This line, for instance, compares Club 1 to Club 3
SLIDE 6
On the basis of significant differences, SPSS defines homogeneous subsets Rule: if two groups are in the same subset, they do not differ significantly POST-HOC ANALYSIS
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.
SLIDE 7
Comparing 2 means βͺ Choice between:
βͺ independent sample π’-test βͺ ANOVA
βͺ Example on Computer Anxiety Rating ANOVA FOR 2 GROUPS
SLIDE 8
Result of π’-test (which of the two?) Result of ANOVA ANOVA FOR 2 GROUPS
SLIDE 9
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
SLIDE 10
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 ANOVA FOR 2 GROUPS
SLIDE 11
Main assumption of ANOVA: equal variances Seen before in the independent samples π’-test βͺ where the pooled variance was used to estimate π1
2 = π2 2
the assumption was tested with Leveneβs test THE EQUAL VARIANCES ASSUMPTION
SLIDE 12
Leveneβs test is a homogeneity of variance test βͺ works for two variances (H0: π1
2 = π2 2)
βͺ but also for several variances (H0: π1
2 = π2 2 = π3 2 = β―)
Example (golf clubs) βͺ πβvalue β« 0.1, so hypothesis of equal variances is not rejected βͺ validity of use of ANOVA is OK THE EQUAL VARIANCES ASSUMPTION
if not, escape to nonparametric ANOVA? see next ...
SLIDE 13
βͺ 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
SLIDE 14
Computational steps in Kruskal-Wallis test: βͺ Rank the observations π§1, β¦ , π§π, yielding π
1, β¦ , π π
βͺ ππ size of group π; π = Οπ=1
π
ππ
βͺ Calculate the sum of ranks in every group
βͺ π
π = Οπ=1 ππ πππ (for all groups π = 1, β¦ , π)
βͺ Calculate test statistic
βͺ πΌ =
12 π π+1 Οπ=1 π
ππ πβπ β ന π
ββ 2 ; reject for large values
βͺ Under πΌ0: πΌ βΌ ππβ1
2
βͺ test right-tailed (like ANOVA) βͺ for very small samples (groups<5), test not appropriate
THE KRUSKAL-WALLIS TEST
Required: populations of βsimilarβ shape On formula sheet a slightly different form that works easier
SLIDE 15
Example: comparing three golf clubs βͺ using SPSS THE KRUSKAL-WALLIS TEST
π-value Kruskal-Wallis statistic (πΌ)
SLIDE 16
Fill out the table EXERCISE 1
SLIDE 17
21 May 2015, Q1n OLD EXAM QUESTION
SLIDE 18