Version:

Last Modified: March 15, 2017

Tests hypotheses about the median of a population whose distribution is continuous.

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

Randomly sampled data from the population.

Hypothesized median value of the population.

The null hypothesis is that the population median is equal to **median**.

The median of a distribution is a value of a random variable such that the probability that an observed value of the variable is less than or equal to the median and the probability that the observed value is greater than or equal to the median are both 50%.

**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 population median is equal to **median**.

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

median(pop) != median | 0 | The population median is not equal to median. |

median(pop) > median | 1 | The population median is greater than median. |

median(pop) < median | -1 | The population median is less than median. |

**Default: **median(pop) != median

A Boolean that indicates whether to reject the null hypothesis.

True | p value is less than or equal to significance level. Reject the null hypothesis and accept the alternative hypothesis. |

False | p value is greater than significance level. Accept the null hypothesis and reject 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: This product does not support FPGA devices