1. Home
  2. One-sample Nonparametric Tests

One-sample Nonparametric Tests

Select menu: Stats | Statistical Tests | One-sample nonparametric tests

Use this to perform one-sample nonparametric tests. You can choose the type of analysis to perform by selecting the test from the list given.

Wilcoxon test

The Wilcoxon matched-pairs (or Signed-ranks) test is a nonparametric test of location for two related samples (for example a before-and-after study). The null hypothesis is that the samples arise from exactly the same distribution, and this is tested against the alternative that the underlying distributions differ in their locations.

The data for the one-sample Wilcoxon test is a variate holding differences between the two samples.

Runs test

Use this to perform a test of the randomness of a sequence of observations. The data for the test is assumed to be an ordered sequence of observations of two types, and a run is defined to be a succession of observations of the same type. A clue to lack of randomness is provided by the total number of runs in the sequence. A low number of runs might indicate positive serial correlation while a high number might arise from negative serial correlation.

The data for the test are in a Genstat variate structure whose name must be entered into the Variate field.

Observations larger than the value specified by the Boundary value field are considered to be of the first type, while observations smaller than this are taken to be of the second type. Missing values and observations that equal the boundary value are ignored.

Sign test

Use this to perform a nonparametric two-sided test of location of a single sample of observations. The data for the test are in a Genstat variate structure whose name must be entered into the Variate field.

The default null hypothesis is that the sample has a median value of zero, but you can test against other values by changing the Median value field. Missing values and observations that equal the specified Median value are ignored and the effective sample-size reduced accordingly.

You can choose to perform a one-sided or two-sided test from the Type of test options.

Action Icons

Pin Controls whether to keep the dialog open when you click Run. When the pin is down  the dialog will remain open, otherwise when the pin is up  the dialog will close.
Restore Restore names into edit fields and default settings.
Clear Clear all fields and list boxes.
Help Open the Help topic for this dialog.

See also

  • Save Options for details of how to save output from these tests.

These statistical tests are performed by the following procedures which may also be used in command mode with additional parameters in some cases:

The descriptions of these commands contain full details of the methods used to calculate the test statistics, along with suitable references.

Updated on April 26, 2019

Was this article helpful?