Table Of Contents

Hypothesis Testing (Sign Test » Paired Samples) (G Dataflow)

Version:
    Last Modified: March 15, 2017

    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.

    connector_pane_image
    datatype_icon

    sample set x

    Sampled data from the first variable x.

    datatype_icon

    sample set y

    Sampled data from the second variable y.

    datatype_icon

    significance level

    Probability that this node incorrectly rejects a true null hypothesis.

    Default: 0.05

    datatype_icon

    error in

    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.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Default: No error

    datatype_icon

    alternative hypothesis

    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) != median(y) 0 The median of the first population is not equal to the median of the second population.
    median(x) > median(y) 1 The median of the first population is greater than the median of the second population.
    median(x) < median(y) -1 The median of the first population is less than the median of the second population.

    Default: median(x) != median(y)

    datatype_icon

    reject null hypothesis

    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.
    datatype_icon

    p value

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

    datatype_icon

    error out

    Error information.

    The node produces this output 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.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics