Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/rQCC-Rprogram.R

Calculates the Hodges-Lehmann estimate.

1 |

`x` |
a numeric vector of observations. |

`method` |
a character string specifying the estimator, must be
one of |

`na.rm` |
a logical value indicating whether NA values should be stripped before the computation proceeds. |

`HL`

computes the Hodges-Lehmann estimates (one of `"HL1"`

, `"HL2"`

, `"HL3"`

).

The Hodges-Lehmann (HL1) is defined as

*HL1 = median of
(Xi+Xj)/2 over i<j*

where *i, j=1,2,...,n*.

The Hodges-Lehmann (HL2) is defined as

*HL2 = median of
(Xi+Xj)/2 over i ≤ j.*

The Hodges-Lehmann (HL3) is defined as

*HL3 =
median of (Xi+Xj)/2 over all (i,j).*

It returns a numeric value.

Chanseok Park and Min Wang

Park, C., H. Kim, and M. Wang (2020).
Investigation of finite-sample properties of robust location and scale estimators.
*Communications in Statistics - Simulation and Computation*, To appear.

https://doi.org/10.1080/03610918.2019.1699114

Hodges, J. L. and E. L. Lehmann (1963).
Estimates of location based on rank tests.
*Annals of Mathematical Statistics*, **34**, 598–611.

mean{base} for calculating sample mean and median{stats} for calculating sample median.

`finite.breakdown`

{rQCC} for calculating the finite-sample breakdown point.

1 2 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.