Sign Test
Sign Test
Vocabulary
One-sample sign test -- requires data converted to plus and minus signs to test a claim regarding the median
Change all data to + (above H0 value) or (below H0 value) Any values = to H0 value change to 0
In statistics and probability theory, the median is the numerical value separating the higher half of a data sample, a population, or a probability distribution, from the lower half.
Sign Test
Used to test the hypothesis that there is no difference in medians b/w the continuous distributions of two random variables. The test statistic used depends on the sample size In the small sample case, where the number of observations n is 25 or less, we use the number of +s and the number of s directly In the large sample case, where the number of observations n is more than 25, we use a normal approximation
Large-Sample Case: If n > 25 the test statistic is (k + ) n z0 = -------------------- n where k = is defined from above and n = number of + and signs (zeros excluded) Critical Values for a Sign Test for Randomness Small-Sample Case: Use Table VII to find critical value for a one-sample sign test Large-Sample Case: Use Table IV, standard normal table (one-tailed -z; twotailed -z/2).
Step 2 Level of Significance: (level of significance determines critical value) Determine a level of significance, based on the seriousness of making a Type I error Small-sample case: Use Table X. Large-sample case: Use Table IV, standard normal (one-tailed -z; two(k + ) n tailed -z/2). Small-Sample: k Large-Sample: z0 = -------------------- n Step 3 Compute Test Statistic:
Step 4 Critical Value Comparison: Reject H0 if Small-Sample Case: k critical value Large-Sample Case: z0 < -z/2 (two tailed) or z0 < -z (one-tailed) Step 5 Conclusion: Reject or Fail to Reject
CV = 5 (from table X)
We reject H0 if k critical value (out in the tail). Since 8 > 5, we do not reject H0.
+ = 19 - =8 0=3 n = 30-3 = 27 k= 8
z0 = -13/30 = -1.92
(k + ) n z0 = -------------------- n
Since z0 < z (-1.28), we would reject the H0 (median = 300) in favor of the alternative, median > 300