Download presentation

Presentation is loading. Please wait.

1
**Prepared by Lloyd R. Jaisingh**

A PowerPoint Presentation Package to Accompany Applied Statistics in Business & Economics, 4th edition David P. Doane and Lori E. Seward Prepared by Lloyd R. Jaisingh

2
**Nonparametric Tests Chapter 16 Chapter Contents**

16.1 Why Use Nonparametric Tests? 16.2 One-Sample Runs Test 16.3 Wilcoxon Signed-Rank Test 16.4 Wilcoxon Rank Sum 16.5 Kruskal-Wallis Test for Independent Samples 16.6 Friedman Test for Related Samples 16.7 Spearman Rank Correlation Test

3
**Nonparametric Tests Chapter 16 Chapter Learning Objectives**

LO16-1: Define nonparametric tests and explain when they may be desirable. LO16-2: Use the one-sample runs test. LO16-3: Use the Wilcoxon signed-rank test. LO16-4: Use the Wilcoxon rank sum test for two samples. LO16-5: Use the Kruskal-Wallis test for c independent samples. LO16-6: Use the Friedman test for related samples. LO16-7: Use the Spearman rank correlation test. LO16-8: Use computer software to perform the tests and obtain p-values.

4
**16.1 Why Use Nonparametric Tests?**

LO16-1 Chapter 16 LO16-1: Define nonparametric tests and explain when they may be desirable. Parametric Tests Parametric hypothesis tests require the estimation of one or more unknown parameters (e.g., population mean or variance). Often, unrealistic assumptions are made about the normality of the underlying population. Large sample sizes are often required to invoke the Central Limit Theorem. Nonparametric Tests Nonparametric or distribution-free tests - usually focus on the sign or rank of the data rather than the exact numerical value. - do not specify the shape of the parent population. - can often be used in smaller samples. - can be used for ordinal data.

5
**16.1 Why Use Nonparametric Tests?**

LO16-1 Chapter 16 Advantages and Disadvantages of Nonparametric Tests

6
**16.1 Why Use Nonparametric Tests?**

LO16-1 Chapter 16 Some Common Nonparametric Tests

7
**Wald-Wolfowitz Runs Test**

16.2 One-Sample Runs Test LO16-2 Chapter 16 Wald-Wolfowitz Runs Test To test the hypothesis of a random pattern in a sequence of binary events, first count the number of outcomes of each type. n1 = number of outcomes of the first type n2 = number of outcomes of the second type n = total sample size = n1 + n2 A run is a series of consecutive outcomes of the same type, surrounded by a sequence of outcomes of the other type. When n1 ≥ 10 and n2 ≥ 10, then the number of runs R may be assumed to be normally distributed with mean mR and standard deviation sR. For a given level of significance a, find the critical value za/2 for a two-tailed test. Reject the hypothesis of a random pattern if z < -za/2 or if z > +za/2 .

8
**16.3 Wilcoxon Signed-Rank Test**

LO16-3 Chapter 16 LO16-3: Use the Wilcoxon signed-rank test. To compare the sample median (M) with a benchmark median (M0), the hypotheses are: When evaluating the difference between paired observations, use the median difference (Md) and zero as the benchmark. Calculate the difference between the paired observations. Rank the differences from smallest to largest by absolute value. Add the ranks of the positive differences to obtain the rank sum W.

9
**16.3 Wilcoxon Signed-Rank Test**

LO16-3 Chapter 16 For small samples, a special table is required to obtain critical values. For large samples (n ≥ 20), the test statistic is approximately normal. Use Excel or Appendix C to get a p-value. Reject H0 if p-value ≤ a.

10
**16.4 Wilcoxon Rank Sum Test (Mann Whitney Test)**

LO16-4 Chapter 16 LO16-4: Use the Wilcoxon rank sum test for two samples. Performing the Test The hypotheses are H0: M1 = M2 (no difference in medians) H1: M1 ≠ M2 (medians differ) Step 1: Sort the combined samples from lowest to highest. Step 2: Assign a rank to each value. If values are tied, the average of the ranks is assigned to each. Step 3: The ranks are summed for each column (e.g., T1, T2). Step 4: The sum of the ranks T1 + T2 must be equal to n(n + 1)/2, where n = n1 + n2. Step 5: Calculate the mean rank sums – mean of T1 and mean of T2. Step 6: For large samples (n1 ≤ 10, n2 ≥ 10), use a z test.

11
**16.4 Wilcoxon Rank Sum Test (Mann Whitney Test)**

LO16-4 Chapter 16 Performing the Test Step 7: For a given a, reject H0 if z < -za/2 or z > +za/2

12
**16.5 Kruskal-Wallis Test for Independent Samples**

LO16-5 Chapter 16 Performing the Test The hypotheses to be tested are: H0: All c population medians are the same H1: Not all the population medians are the same For a completely randomized design with c groups, the tests statistic is The H test statistic follows a chi-square distribution with d.f. = c – 1 degrees of freedom. This is a right-tailed test, so reject H0 if H > c2a or if p-value ≤ a.

13
**16.6 Friedman Test for Related Samples**

LO16-6 Chapter 16 LO16-6: Use the Friedman test for related samples. The groups must be of the same size. Treatments should be randomly assigned within blocks. Data should be at least interval scale.

14
**16.6 Friedman Test for Related Samples**

LO16-6 Chapter 16 In addition to the c treatment levels that define the columns, the Friedman test also specifies r block factor levels to define each row of the observation matrix. The hypotheses to be tested are: H0: All c populations have the same median H1: Not all the populations have the same median Unlike the Kruskal-Wallis test, the Friedman ranks are computed within each block rather than within a pooled sample.

15
**16.6 Friedman Test for Related Samples**

LO16-6 Chapter 16 Performing the Test Compute the test statistic: The Friedman test statistic Fcalc follows a chi-square distribution with n = c – 1 degrees of freedom. Reject H0 if F > c2a or if p-value ≤ a.

16
**16.7 Spearman Rank Correlation Test**

LO16-7 Chapter 16 LO16-7: Use the Spearman rank correlation. The sign of rs indicates whether the relationship is direct - ranks tend to vary in the same direction, or inverse - ranks tend to vary in opposite directions The magnitude of rs indicated the degree of relationship. If rs is near 0 - there is little or no agreement between rankings rs is near +1 - there is strong direct agreement rs is near 1 - there is strong inverse agreement

17
**16.7 Spearman Rank Correlation Test**

LO16-7 Chapter 16 Performing the Test The sums of ranks within each column must always be n(n+1)/2. Next, compute the difference in ranks di for each observation. The rank differences should sum to zero. Calculate the sample rank correlation coefficient rs.

18
**16.7 Spearman Rank Correlation Test**

LO16-7 Chapter 16 Performing the Test For a right-tailed test for example, the hypotheses to be tested are H0: True rank correlation is zero (rs ≤ 0) H1: True rank correlation is positive (rs > 0) If n is large (at least 20 observations), then rs may be assumed to follow the normal distribution using the test statistic Here we will reject H0 if zcalc > za or if p-value ≤ a.

Similar presentations

OK

McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Nonparametric Methods Chapter 15.

McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Nonparametric Methods Chapter 15.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on 14 principles of henri fayol principles Ppt on sea level rise Ppt on inhabiting other planets that support Ppt on london stock exchange Ppt on bluetooth with slides Free ppt on team building and leadership Ppt on types of parallelograms pictures Ppt on carburetor exchange Ppt on non biodegradable waste list Ppt on water softening techniques hair