Learn R Programming

MMDai (version 1.2.0)

SignTest: Sign test

Description

Test for consistent differences between pairs of observations

Usage

SignTest(x, y, method = "One-tail")

Arguments

x

- first variable

y

- second variable

method

- In "One-tail" method, the p-value is computed by Pr(x>y). In "Two-tail" method, the p-value is computed by Pr(x>y)+Pr(x<y).

Value

p_value - p value in the test