Beruflich Dokumente
Kultur Dokumente
Non-Parametric
Methods
Peter T. Donnan
Professor of Epidemiology and Biostatistics
Objectives of Presentation
• Introduction
• Ranks & Median
• Paired Wilcoxon Signed Rank
• Mann-Whitney test (or Wilcoxon Rank
Sum test)
• Spearman’s Rank Correlation
Coefficient
• Others….
What are non-parametric tests?
• ‘Parametric’ tests involve estimating
parameters such as the mean, and
assume that distribution of sample
means are ‘normally’ distributed
• Often data does not follow a Normal
distribution eg number of cigarettes
smoked, cost to NHS etc.
• Positively skewed distributions
A positively skewed distribution
20
15
Frequency
10
Mean = 8.03
Std. Dev. = 12.952
N = 30
0
0 10 20 30 40 50
• BPs:
135, 138, 140, 140, 141, 142, 143
Median=
Median
• BPs:
135, 138, 140, 140, 141, 142, 143
Median=140
• BPs:
135, 138, 140, 140, 141, 142, 143
Median=140
p < 0.05
Wilcoxon tests
• Frank Wilcoxon was Chemist
In USA who wanted to develop
test similar to t-test but without
requirement of Normal distribution
• Presented paper in 1945
• Wilcoxon Signed Rank Ξ paired t-test
• Wilcoxon Rank Sum Ξ independent t-
test
Mann-Whitney test Ξ Wilcoxon
Rank Sum
Plot histograms
Stem and leaf plot
Box-plot
Q-Q or P-P plot
Boxplots of alcohol units per week by gender
50
40
Units of alcohol per week
6
30
25
20
10
Male Female
Gender
Example (3)
Are those distributions symmetrical?
Definitely not!
Mann-Whitney (NS)
Spearman Rank Correlation
Time to diagnosis
Distance (km)
(weeks)
5 6
2 4
4 3
8 4
20 5
45 5
10 4
Scatterplot
Distance from GP and time to diagnosis
6 d 2
rs 1
n n 12
where n is the number of pairs
Spearman’s in SPSS
Spearman’s in SPSS
Spearman Rank Correlation
Example
In our example, rs=0.468
Pearson’s correlation
Parametric / Non-parametric
Pearson’s correlation
Parametric / Non-parametric
Pearson’s correlation
Parametric / Non-parametric
Pearson’s correlation
Parametric / Non-parametric
Parametric Tests Non-parametric Tests
Pearson’s correlation
Parametric / Non-parametric
Parametric Tests Non-parametric Tests