Title: Chapter 8 Nonparametric statistics
1Chapter 8Non-parametric statistics
2Agenda
- Sign test
- Wilcoxon signed-rank test
- Wilcoxon rank-sum test
- Kruskal-Wallis test
3Introduction
- Most of the hypothesis-testing and confidence
interval procedures discussed in previous
chapters are based on the assumption that we are
working with random samples from normal
populations. - These procedures are often called parametric
methods - In this chapter, nonparametric and distribution
free methods will be discussed. - We usually make no assumptions about the
distribution of the underlying population.
4Sign Test Description of the Test
- The sign test is used to test hypotheses about
the median of a continuous distribution. - Let R represent the number of differences
- that are positive.
5Sign Test Description of the Test
If the following hypotheses are being tested
The appropriate P-value is
6Sign Test Description of the Test
If the following hypotheses are being tested
The appropriate P-value is
7Sign Test Description of the Test
If the following hypotheses are being tested
If r lt n/2, then the appropriate P-value is
If r gt n/2, then the appropriate P-value is
8Example 1
9Example 1
10Example 1
11Sign Test
The Normal Approximation
12Example 2
13Example 2
14Sign Test for Paired Samples
15Example 3
16(No Transcript)
17Example 3
18Type II Error for the Sign Test
Calculation of ? for the sign test. (a) Normal
distributions. (b) Exponential distributions
19Wilcoxon Signed-Rank Test
- The Wilcoxon signed-rank test applies to the
case of symmetric continuous distributions. - Under this assumption, the mean equals the
median. - The null hypothesis is H0 ? ?0
20Example 4
21(No Transcript)
22Example 4
23Wilcoxon Signed-Rank Test Large-Sample
Approximation
24Wilcoxon Signed-Rank Test Paired Observations
Example 5
25Wilcoxon Signed-Rank Test Paired Observations
Example 5
26Wilcoxon Signed-Rank Test Paired Observations
Example 5
27Wilcoxon Rank-Sum Test Description of the Test
We wish to test the hypotheses
28Wilcoxon Rank-Sum Test Description of the Test
Test procedure Arrange all n1 n2 observations
in ascending order of magnitude and assign
ranks. Let W1 be the sum of the ranks in the
smaller sample. Let W2 be the sum of the ranks
in the other sample. Then W2 (n1 n2)(n1
n2 1)/2 W1
29Example 6
30Example 6
31Example 6
32Example 6
33Nonparametric Methods in the Analysis of
Variance Kruskal-Wallis test
The single-factor analysis of variance model for
comparing a population means is
The hypothesis of interest is
34Nonparametric Methods in the Analysis of
Variance Kruskal-Wallis test
The test statistic is
Computational method
35Example 7
36Example 7