Sign Test (paired samples) VI
- Updated2025-07-30
- 3 minute(s) read
Tests hypotheses about the median of continuous distributions. You must manually select the polymorphic instance to use.
As in all hypothesis tests, the hypotheses are statements about the population, not about the sample set. The sign test is a nonparametric test that makes no assumption about the distribution of the underlying population.

Inputs/Outputs
sample set x
—
sample set x contains the sampled data from the first variable x.
sample set y
—
sample set y contains the sampled data from the second variable y.
significance level
—
significance level specifies the probability that the hypothesis test conclusion is wrong based on the paired samples sets.
alternative hypothesis
—
alternative hypothesis specifies the hypothesis to accept if LabVIEW 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.
reject null hypothesis
—
reject null hypothesis indicates whether to reject the null hypothesis, with significance level being the probability of reaching the wrong conclusion. If p value is less than or equal to significance level, reject null hypothesis returns TRUE. Reject the null hypothesis and accept the alternative hypothesis. If p value is greater than significance level, reject null hypothesis returns FALSE. Accept the null hypothesis and reject the alternative hypothesis.
p value
—
p value returns the probability that you incorrectly rejected the null hypothesis.
error
—
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
sample set x
—
significance level
—
alternative hypothesis
—
reject null hypothesis
—
p value
—
error
—