1 / 10

Lesson 15 - 4

Lesson 15 - 4. Inferences about the Differences between Two Medians: Dependent Samples. Objectives. Test a claim about the difference between the medians of two dependent samples. Vocabulary.

fongw
Download Presentation

Lesson 15 - 4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lesson 15 - 4 Inferences about the Differences between Two Medians: Dependent Samples

  2. Objectives • Test a claim about the difference between the medians of two dependent samples

  3. Vocabulary • Wilcoxon Matched-Pairs Signed-Ranks Test -- a nonparametric procedure that is used to test the equality of two population medians by dependent sampling. • Ranks – 1 through n with ties award the sum of the tied ranks divided by the number tied. For example, if 4th and 5th observation was tied then they would both receive a 4.5 ranking. • Signed-Ranks – ranks are constructed with absolute values and then the sign of the value (positive or negative) is applied to the ranking.

  4. Parametric vs Nonparametric • For our parametric test for matched-pairs (dependent samples), we • Compared the corresponding observations by subtracting one from the other • Performed a test of whether the mean is 0 • For our nonparametric case for matched-pairs (dependent samples), we will • Compare the corresponding observations by subtracting one from the other • Perform a test of whether the median is 0

  5. Hypothesis Tests Using Wilcoxon Test Step 0:Compute the differences in the matched-pairs observations. Rank the absolute value of all sample differences from smallest to largest after discarding those differences that equal 0. Handle ties by finding the mean of the ranks for tied values. Assign negative values to the ranks where the differences are negative and positive values to the ranks where the differences are positive. Step 1 Hypotheses: Step 2 Box Plot:Draw a boxplot of the differences to compare the sample data from the two populations. This helps to visualize the difference in the medians. Step 3 Level of Significance:(level of significance determines the critical value) Determine a level of significance, based on the seriousness of making a Type I error Small-sample case: Use Table XI. Large-sample case: Use Table IV. Step 4 Compute Test Statistic: Step 5 Critical Value Comparison:Reject H0 if test statistic < critical value Step 6 Conclusion:Reject or Fail to Reject

  6. Test Statistic for the Wilcoxon Matched-Pairs Signed-Ranks Test n (n + 1) T – -------------- 4 z0= ----------------------------- n (n + 1)(2n + 1) ------------------------ 24 Small-Sample Case: (n ≤ 30) Large-Sample Case: (n > 30) Note: MD is the median of the differences of matched pairs. T+ is the sum of the ranks of the positive differences T- is the sum of the ranks of the negative differences where T is the test statistic from the small-sample case.

  7. Critical Value for Wilcoxon Matched-Pairs Signed-Ranks Test Small-Sample Case (n ≤ 30): Using αas the level of significance, the critical value is obtained from Table XI in Appendix A. Large-Sample Case (n > 30): Using αas the level of significance, the critical value is obtained from Table IV in Appendix A. The critical value is always in the left tail of the standard normal distribution.

  8. Example 1 from 15.4

  9. Example continued H0: Meddif = 0 Ha: Meddif > 0 (Right tailed test) Test Statistic: |T-| = 3 From Table XI: Tcritcal = T0.05 = 25 The test statistic is less than the critical value (3 < 25) so we reject the null hypothesis.

  10. Summary and Homework • Summary • The Wilcoxon sign test is a nonparametric test for comparing the median of two dependent samples • This test is a weighted count of the differences in signs between the paired observations • The critical values for small samples are given in tables • The critical values for large samples can be approximated by a calculation with the normal distribution • Homework • problems 2, 4, 5, 8, 9, 15 from the CD

More Related