nonparametric statistics: anova
DESCRIPTION
STAT E-150 Statistical Methods. Nonparametric Statistics: ANOVA. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/1.jpg)
Nonparametric Statistics: ANOVA
STAT E-150Statistical Methods
![Page 2: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/2.jpg)
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.
![Page 3: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/3.jpg)
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.
![Page 4: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/4.jpg)
4
Start by ranking all scores without regard to their groups, and then find the ranks for each group. The sums are denoted by Ri. If the null hypothesis is true, we would expect all values of Ri to be about equal, assuming that the sample sizes are all equal. A measure of the degree to which the Ri differ from each other is
Where k = the number of groupsNi = the number of observations in the ith groupRi = the sum of the ranks in the ith groupN = the total sample size
12HN(N 1)
∑2
i
i
Rn
3(N 1)
![Page 5: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/5.jpg)
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 Placeboscore rank score rank score rank
55 9 73 15 61 11 0 1.5 85 18 54 8 1 3 51 7 80 16 0 1.5 36 12 47 550 6 85 18 60 10 85 18 44 4 66 13 69 14
Ri 35 115 40
![Page 6: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/6.jpg)
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 Placeboscore rank score rank score rank
55 9 73 15 61 11 0 1.5 85 18 54 8 1 3 51 7 80 16 0 1.5 36 12 47 550 6 85 18 60 10 85 18 44 4 66 13 69 14
Ri 35 115 40
![Page 7: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/7.jpg)
7
The histograms, with Normal curves superimposed, indicate that the data is nonnormal:
![Page 8: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/8.jpg)
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.
![Page 9: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/9.jpg)
9
We will use SPSS to find the results:
H0: μd = μs = μp
Ha: 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.
![Page 10: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/10.jpg)
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.
![Page 11: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/11.jpg)
11
Using SPSS Note that the groups are in one column and the data is in another:
![Page 12: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/12.jpg)
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.
![Page 13: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/13.jpg)
13
Choose Columns panel variable.
![Page 14: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/14.jpg)
14
Then drag the grouping variable to the Panel box.
![Page 15: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/15.jpg)
15
To add the Normal curves, click on Element Properties, then select Display Normal curve and Apply. Then click on OK.
![Page 16: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/16.jpg)
16
For the Kruskal-Wallis test: Click on > Analyze > Nonparametric Tests > Legacy Dialogs > K Independent SamplesChoose the Test Variables and the Grouping variable.Select Kruskal-Wallis H as the Test Type
![Page 17: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/17.jpg)
17
Click on Define Range… and enter the minimum and maximum values for the grouping variable.
Click on Continue and then on OK.
![Page 18: Nonparametric Statistics: ANOVA](https://reader035.vdocuments.site/reader035/viewer/2022081505/56816679550346895dda1979/html5/thumbnails/18.jpg)
18
Here are the results: