SIGN.test(x, y = NULL, md = 0, alternative = "two.sided", conf.level = 0.95)NAs and Infs are allowed but will be removed.NAs and Infs are allowed but will be removed."greater",
"less", or "two.sided", or the initial letter of each,
indicating the specification of the alternative hypothesis. For
one-sample tests, alternative rhtest, containing the following components:conf.level. When the alternative is not
"two.sided", the confidence interval will be half-infinite,
to reflect the interpretation of a confidence interval as the set of
all values k for which one would not reject the null hypothesis
that the true mean or difference in means is k. Here infinity
will be represented by Inf.estimate has a names attribute describing its elements.md. Component null.value has a names
attribute describing its elements."greater", "less", or "two.sided"xx is drawn is md.
For the two-sample dependent case, the null hypothesis is
that the median for the differences of the populations from which x
and y are drawn is md.
The alternative hypothesis indicates the direction of divergence of the
population median for x from md (i.e., "greater",
"less", "two.sided".)conf.int) which can be obtained by
interpolating between the possible achieved confidence levels closest to the
desired level. Note that, as explained under the description of
conf.int, the confidence interval will be half-infinite when alternative
is not "two.sided"; infinity will be represented by Inf.x and y are provided. If only x is provided,
computes the z.test, zsum.test, tsum.testattach(Phone)
SIGN.test(call.time,md=2.1)
detach(Phone)
# Example 10.1 from PASWR.
# Computes two-sided sign-test for the null hypothesis
# that the population median is 2.1. The alternative
# hypothesis is that the median is not 2.1. An interpolated
# upper 95% upper bound for the population median will be computed.Run the code above in your browser using DataLab