Presentation is loading. Please wait.

Presentation is loading. Please wait.

Nonparametric Statistics: ANOVA STAT E-150 Statistical Methods.

Similar presentations


Presentation on theme: "Nonparametric Statistics: ANOVA STAT E-150 Statistical Methods."— Presentation transcript:

1 Nonparametric Statistics: ANOVA STAT E-150 Statistical Methods

2 2 The nonparametric analog to ANOVA is the Kruskal-Wallis Test, which tests the hypothesis that all samples were drawn from populations with the same shape. As with other nonparametric tests, there is no requirement that the residuals are normally distributed.

3 3 Like the Mann-Whitney Test, the Kruskal-Wallis test ranks all of the observed values. If there are differences between the groups, then the values for each group will be clustered within the ranked data. If there are no differences between the groups, the values will be intermixed within the ranked data. The null hypothesis says that there are no differences among the groups, and so the data values will not be clustered within the ordered data.

4 4 Start by ranking all scores without regard to their groups, and then find the ranks for each group. The sums are denoted by R i. If the null hypothesis is true, we would expect all values of R i to be about equal, assuming that the sample sizes are all equal. A measure of the degree to which the R i differ from each other is Where k = the number of groups N i = the number of observations in the i th group R i = the sum of the ranks in the i th group N = the total sample size

5 5 Suppose that we would like to investigate whether the number of simple arithmetic problems solved correctly in one hour is different for subjects given a depressant drug, a stimulant drug, or a placebo. Here is the data: Depressant Stimulant Placebo scorerank scorerank scorerank 55 9 7315 6111 01.5 8518 54 8 1 3 51 7 8016 01.5 3612 47 5 50 6 8518 60 10 8518 44 4 6613 6914 RiRi 35 115 40

6 6 Note that in the Depressant group, three of the subjects were able to do very little, whereas in the Stimulant group, three of the subjects answered all questions correctly. Depressant Stimulant Placebo scorerank scorerank scorerank 55 9 7315 6111 01.5 8518 54 8 1 3 51 7 8016 01.5 3612 47 5 50 6 8518 60 10 8518 44 4 6613 6914 RiRi 35 115 40

7 7 The histograms, with Normal curves superimposed, indicate that the data is nonnormal:

8 8 We will use SPSS to find the results: The mean ranks of the three groups appear different, but we will use a statistical test to see if this is correct.

9 9 We will use SPSS to find the results: H 0: μ d = μ s = μ p H a: The means are not all equal The Kruskal-Wallis statistic is  2 = 10.407 with p =.005 and 3 - 1 = 2 df. Since p is small, the null hypothesis is rejected. The data indicates that there is a significant difference between the groups.

10 10 We will use SPSS to find the results: In context, the data indicates that the number of simple arithmetic problems solved correctly in one hour is different for subjects given a depressant drug, a stimulant drug, or a placebo.

11 11 Using SPSS Note that the groups are in one column and the data is in another:

12 12 To create the histograms: Click on > Graphs > Chart Builder and choose Histogram. Drag the response variable to the horizontal axis and click on the Groups/Point ID tab.

13 13 Choose Columns panel variable.

14 14 Then drag the grouping variable to the Panel box.

15 15 To add the Normal curves, click on Element Properties, then select Display Normal curve and Apply. Then click on OK.

16 16 For the Kruskal-Wallis test: Click on > Analyze > Nonparametric Tests > Legacy Dialogs > K Independent Samples Choose the Test Variables and the Grouping variable. Select Kruskal-Wallis H as the Test Type

17 17 Click on Define Range… and enter the minimum and maximum values for the grouping variable. Click on Continue and then on OK.

18 18 Here are the results:


Download ppt "Nonparametric Statistics: ANOVA STAT E-150 Statistical Methods."

Similar presentations


Ads by Google