Nonparametric Statistics Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000...
-
date post
19-Dec-2015 -
Category
Documents
-
view
224 -
download
1
Transcript of Nonparametric Statistics Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000...
Nonparametric Statistics
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Nonparametric Statistics
• Many of the nonparametric statistical tests answer the same sorts of questions as the parametric tests. With nonparametric tests the assumptions can be relaxed considerably. Consequently, nonparametric methods are used for situations that violate the assumptions of parametric procedures.
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Test for Randomness;The Runs Test
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Test for Randomness;The Runs Test
number of arrangement An!
n1 !n2 !
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
The Runs Test (Small Samples)
• Sequence 1: HHHHH TTTTT
Run 1 Run 2
• Sequence 3: T HHH T H T H TT
Run 1 Run 7
• R = number of RunsIntroduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
The Runs Test (Small Samples)
Ho: The sequence was generated in a random mannerHa: The sequence was not generated in a random manner
P(Rk1 ) 2
.025
P(Rk2 ) 2
.025
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Test for Randomness;The Runs Test
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Runs Test (Large Samples)
R 1 2n1n2
n1 n2 R
2n1n2 (2n1n2 n1 n2 )
(n1 n2 )2 (n1 n2 1)
ZR R
R
Ho: The sequence was generated in a random mannerHa: The sequence was not generated in a random manner
Reject Ho if |Z| > Z/2Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Nonparametric Test Central Tendency: Two Populations
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Mann-Whitney U(Independent Samples)
Ho: The two populations have identical probability distributionsHa: The two populations differ in location
T1 = sum of the ranks of the observations from the first sample T2 = sum of the ranks of the observations from the second sample
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Mann-Whitney USmall Samples
U1 n1n2 n1 (n1 1)
2 T1
U2 n1n2 n2 (n2 1)
2 T2
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Mann-Whitney USmall Samples
Procedure:1. Assume that n1 < n2 (reverse the samples if necessary)
2. Determine U1 and U2
3. Use the value from Table A.10 to test Ho vs. Ha
Two-Sided TestHa: the two populations differ in location
Reject Ho if Table A.10 value for U is < /2, where U isthe minimum of U1 and U2.
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Mann-Whitney USmall Samples
Procedure:1. Assume that n1 < n2 (reverse the samples if necessary)
2. Determine U1 and U2
3. Use the value from Table A.10 to test Ho vs. Ha
One-Sided Test
Ha: Population 1 is shifted to Ha: Population 1 is shifted to the right of population2 the left of population 2 Reject Ho if Table A.10 Reject Ho if Table A.10 value for U is less than value for U is less than where U = U1. Where U = U2
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Mann-Whitney ULarge Samples
ZU2 U 2
U 2
U 2n1n2
2 U 2
n1n2 (n1 n2 1)
12
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Mann-Whitney ULarge Samples
Ho: The two populations have identical probabilitydistribution
Determine U2
Two-Sided Test
Ha: The two populations differ in location
Reject Ho if |Z| > Z /2
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Mann-Whitney ULarge Samples
Ho: The two populations have identical probabilitydistribution
Determine U2
One-Sided Test
Ha: Population 1 is shifted to Ha: Population 1 is shifted to the right of population 2 the left of population 2
Reject Ho if Z > Z Reject Ho if Z < - Z
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Wilcoxon Signed Rank Test for Paired Samples
When small samples from suspected nonnormal populations are used, a nonparametric technique is required. The Wilcoxon test is used for such situations
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Wilcoxon Signed Rank Test for Paired Samples
• Determine the difference for each sample.
• Arrange the absolute value of these differences in order, assigning a rank to each.
• T+ = sum of ranks having a positive value and T- = sum of ranks having a negative value
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Wilcoxon Signed Rank Test for Paired Samples (small n)
Ho: The population differences are centered at 0
Two-Sided Test
Ha: the population differences are not centered at 0
Using the two-sided value from Table A.11, Reject Ho if T table value,
where T = the minimum of T+ and T-.Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Wilcoxon Signed Rank Test for Paired Samples (small n)
Ho: The population differences are centered at 0
One-Sided TestHa:the population differences Ha:the population differences are centered at a value >0 are centered at a value < 0
Using the one-sided value from Using the one-sided value from Table A.11, Table A.11, Reject Ho if T- table value. Reject Ho if T- table value.
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Wilcoxon Signed Rank Test for Paired Samples (Large n)
T n(n1)
4T
n(n1)(2n1)
24
ZT T
T
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Wilcoxon Signed Rank Test for Paired Samples (Large n)
Ho: The population differences are centered at 0
Two-Sided Test
Ha: the population differences are not centered at 0
Reject Ho if |Z| > Z/2
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Wilcoxon Signed Rank Test for Paired Samples (Large n)
Ho: The population differences are centered at 0
One-Sided Test
Ha:the population differences Ha:the population differences are centered at a value >0 are centered at a value < 0
Reject Ho if Z > Z Reject Ho if Z < -Z Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Wilcoxon Signed Rank Test for Paired Samples
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Kruskal-Wallis Test
The nonparametric counterpart to the one-way ANOVA test.
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Kruskal-Wallis Test
Ho: the k populations have identical probability distributionsHa: at least two of the populations differ in location
KW12
n(n1)
Ti2
nii1
k 3(n1)
Reject Ho if KW > 2.dfIntroduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
p-value for KW
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Kruskal-Wallis Test
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
The Friedman Test
The nonparametric counterpart to the randomized block ANOVA test.
FR 12
bk(k1)Ti
2
i1
k 3b(k1)
Reject Ho if FR > 2.dfIntroduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
The Friedman Test
Ho: the k populations have identical probability distributionsHa: at least two of the populations differ in location
FR 12
bk(k1)Ti
2
i1
k 3b(k1)
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Spearman’s Rank Correlation
Spearman’s is the nonparametric counterpart to the Pearson Correlation
rs R(x)R(y) [R(x)][ R(y)] / n
R2 (x) [R(x)]2 / n R(y)] [R(y)]2 / n
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Spearman’s Rank Correlation
rs R(x)R(y) [R(x)][ R(y)] / n
R2 (x) [R(x)]2 / n R(y)] [R(y)]2 / n
If there are no ties then a shortcut equation may be used.0
rs 16d2
n(n2 1)Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Spearman’s Rank Correlation
Ho: No association between X and Y existsHa: An association between X and Y exists
Two-Sided Test
Determine rs
Use Table A.12 for /2
Reject Ho if |rs| > table valueIntroduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing
Spearman’s Rank Correlation
Ho: No association between X and Y exists
One-Sided Test
Ha: A positive association Ha: A negative association between X and Y exists between X and Y exists
Determine rs Determine rs
Use Table A.12 for Use Table A.12 for Reject Ho if rs > table value Reject Ho if rs < table value
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur
(c)2000 South-Western College Publishing