Description Usage Arguments Value Author(s) References See Also Examples
View source: R/rt-test-Rprogram.R
Calculates the Hodges-Lehmann estimate.
1 | HL.estimate(x, na.rm = FALSE, IncludeEqual = FALSE)
|
x |
vector of observations. |
na.rm |
a logical value indicating whether NA values should be stripped before the computation proceeds. |
IncludeEqual |
FALSE (default) calculates median of ([x[i]+x[j])/2) with i<j. TRUE calculates median of ([x[i]+x[j])/2) with i<=j. |
If x is not logical (coerced to numeric), numeric (including integer) or complex, NA_real_ is returned, with a warning.
Chanseok Park and Min Wang
Hodges, J. L. and E. L. Lehmann (1963). Estimates of location based on rank tests. Annals of Mathematical Statistics, 34, 598–611.
mean
for calculating sample mean.
1 2 | x = c(0:10, 50)
HL.estimate(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.