| Line 45... |
Line 45... |
| 45 |
|
45 |
|
| 46 |
The presence of ties always generates a warning, since continuous
|
46 |
The presence of ties always generates a warning, since continuous
|
| 47 |
distributions do not generate them. If the ties arose from rounding
|
47 |
distributions do not generate them. If the ties arose from rounding
|
| 48 |
the tests may be approximately valid, but even modest amounts of
|
48 |
the tests may be approximately valid, but even modest amounts of
|
| 49 |
rounding can have a significant effect on the calculated statistic.
|
49 |
rounding can have a significant effect on the calculated statistic.
|
| 50 |
|
50 |
|
| 51 |
Missing values are silently omitted from \code{x} and (in the
|
51 |
Missing values are silently omitted from \code{x} and (in the
|
| 52 |
two-sample case) \code{y}.
|
52 |
two-sample case) \code{y}.
|
| 53 |
|
53 |
|
| 54 |
The possible values \code{"two.sided"}, \code{"less"} and
|
54 |
The possible values \code{"two.sided"}, \code{"less"} and
|
| 55 |
\code{"greater"} of \code{alternative} specify the null hypothesis
|
55 |
\code{"greater"} of \code{alternative} specify the null hypothesis
|
| 56 |
that the true distribution function of \code{x} is equal to, not less
|
56 |
that the true distribution function of \code{x} is equal to, not less
|
| 57 |
than or not greater than the hypothesized distribution function
|
57 |
than or not greater than the hypothesized distribution function
|
| 58 |
(one-sample case) or the distribution function of \code{y} (two-sample
|
58 |
(one-sample case) or the distribution function of \code{y} (two-sample
|
| Line 63... |
Line 63... |
| 63 |
Thus in the two-sample case \code{alternative = "greater"} includes
|
63 |
Thus in the two-sample case \code{alternative = "greater"} includes
|
| 64 |
distributions for which \code{x} is stochastically \emph{smaller} than
|
64 |
distributions for which \code{x} is stochastically \emph{smaller} than
|
| 65 |
\code{y} (the CDF of \code{x} lies above and hence to the left of that
|
65 |
\code{y} (the CDF of \code{x} lies above and hence to the left of that
|
| 66 |
for \code{y}), in contrast to \code{\link{t.test}} or
|
66 |
for \code{y}), in contrast to \code{\link{t.test}} or
|
| 67 |
\code{\link{wilcox.test}}.
|
67 |
\code{\link{wilcox.test}}.
|
| 68 |
|
68 |
|
| 69 |
Exact p-values are not available for the two-sample case if one-sided
|
69 |
Exact p-values are not available for the two-sample case if one-sided
|
| 70 |
or in the presence of ties. If \code{exact = NULL} (the default), an
|
70 |
or in the presence of ties. If \code{exact = NULL} (the default), an
|
| 71 |
exact p-value is computed if the sample size is less than 100 in the
|
71 |
exact p-value is computed if the sample size is less than 100 in the
|
| 72 |
one-sample case \emph{and there are no ties}, and if the product of
|
72 |
one-sample case \emph{and there are no ties}, and if the product of
|
| 73 |
the sample sizes is less than 10000 in the two-sample case.
|
73 |
the sample sizes is less than 10000 in the two-sample case.
|