O'Reilly logo

Statistical Hypothesis Testing with SAS and R by Dirk Taeger, Sonja Kuhnt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8

Tests on location

In this chapter we present nonparametric tests for the location parameter. The simplest one is the sign test, with the only assumption that the data are sampled from a continuous distribution. This test has its foundation in the early eighteenth century (Arbuthnot 1710). Some of the tests presented here find their parametric analogs in the one- and two-sample t-tests. So, these tests are good alternatives if the Gaussian distribution assumption appears to be violated. We show how to perform one-, two-, and c08-math-0001-sample nonparametric tests on the location parameter in SAS and R. Tables of critical values can be found, for example, in Owen (1962) and in Hollander and Wolfe (1999) as well as in many other textbooks.

8.1 One-sample tests

In this section we deal with the question if the median of a population differs from a predefined value. The most straightforward test is the sign test. However, if a symmetric distribution can be assumed the Wilcoxon signed-rank test is a better alternative.

8.1.1 Sign test

Description: Tests if the location (median c08-math-0002) of a population differs from a specific value c08-math-0003.
Assumptions:
  • Data are measured at least on an ordinal scale. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required