Skip to contents

morie_harrell_davis is the Harrell-Davis quantile estimator, a Beta-weighted average of all the order statistics. morie_pbos is the one-step percentage bend location. morie_mom_estimator drops values more than bend MADNs from the median and averages the rest. morie_one_step_m is the one-step M-estimator with Huber's Psi.

Usage

morie_harrell_davis(x, q = 0.5)

morie_pbos(x, beta = 0.2)

morie_mom_estimator(x, bend = 2.24, constant = 1.4826)

morie_one_step_m(x, bend = 1.28, constant = 1.4826)

Arguments

x

numeric vector

q

quantile to estimate

beta

Argument beta; see Usage.

bend

Argument bend; see Usage.

constant

Argument constant; see Usage.

Value

a numeric scalar

Examples

V <- c(1, 2, 3, 4, 5, 6, 7, 8)
morie_harrell_davis(V)
#> [1] 4.5