13.6 Chapter 13 Formulas
|
Ranking Data
Order the data from smallest to largest.
The smallest value gets a rank of 1.
The next smallest gets a rank of 2, etc.
If there are any values that tie, then each of the tied values gets the average of the corresponding ranks. |
Sign Test
Median Median p-value uses binomial distribution with and is the sample size not including ties with the median or differences of 0. For a two-tailed test, the test statistic, , is the smaller of the plus or minus signs. If is the test statistic, the p-value for a two-tailed test is . For a right-tailed test, the test statistic, , is the number of plus signs. For a left-tailed test, the test statistic, , is the number of minus signs. The p-value for a one-tailed test is the for a right-tailed test, or for a left-tailed test. |
|---|---|
|
Wilcoxon Signed-Rank Test
is the sample size not including a difference of 0.
When , use test statistic , which is the absolute value of the smaller of the sum of ranks. CV uses table in Figure 13-5. If critical value is not in tables then use an online calculator: http://www.socscistatistics.com/tests/signedranks.
When , use z-test statistic: | Mann-Whitney U Test When and : . CV uses table in Figures 13-8 or 13-9. If critical value is not in tables then use an online calculator: https://www.socscistatistics.com/tests/mannwhitney/default.aspx. When and use z-test statistic: |
“For instance, a race of hyperintelligent pan‐dimensional beings once built themselves a gigantic supercomputer called Deep Thought to calculate once and for all the Answer to the Ultimate Question of Life, the Universe, and Everything. For seven and a half million years, Deep Thought computed and calculated, and in the end announced that the answer was in fact Forty‐two - and so another, even bigger, computer had to be built to find out what the actual question was.”
(Adams, 2002)
Adapted from Mostly Harmless Statistics by Rachel Webb (Portland State University), hosted on LibreTexts (stats.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.