Last Modified: January 12, 2018

Tests hypotheses about the median of two populations whose distributions are continuous.

The sign test is a nonparametric test that makes no assumption about the distribution of the underlying population.

Sampled data from population *x*.

Sampled data from population *y*.

Hypothetical median of the differences between **sample set x** and **sample set y**.

**Default: **0

Probability that this node incorrectly rejects a true null hypothesis.

**Default: **0.05

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an **error in** input and an **error out** output so that the node can respond to and communicate errors that occur while code is running. The value of **error in** specifies whether an error occurred before the node runs. Most nodes respond to values of **error in** in a standard, predictable way.

**Default: **No error

Hypothesis to accept if this node rejects the null hypothesis that the two variable populations have a common median.

If the null hypothesis is true, the median of the differences between **sample set x** and **sample set y** is zero.

Name | Value | Description |
---|---|---|

median(x - y) != delta | 0 | The median of the differences between population x and population y is not equal to delta. |

median(x - y) > delta | 1 | The median of the differences between population x and population y is greater than delta. |

median(x - y) < delta | -1 | The median of the differences between population x and population y is less than delta. |

**Default: **median(x - y) != delta

A Boolean that indicates whether this node rejects the null hypothesis.

True | p value is less than or equal to significance level. This node rejects the null hypothesis and accepts the alternative hypothesis. |

False | p value is greater than significance level. This node accepts the null hypothesis and rejects the alternative hypothesis. |

Smallest significance level that leads to rejection of the null hypothesis based on the sample sets.

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

**error in** input and an **error out** output so that the node can respond to and communicate errors that occur while code is running. The value of **error in** specifies whether an error occurred before the node runs. Most nodes respond to values of **error in** in a standard, predictable way.

**Where This Node Can Run: **

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application