Last chance! 50% off unlimited learning
Sale ends in
asselin(x,
bw = 1,
...)
(0, 1]
. If bw = 1
, the selected 'modal chain' may be too long.quantile
function.bw
is missing, then bw = (1:length(x))^(-1/7)
, which is the default value advised by Djeddour et al (2003).
If a
is missing, then a = (1:length(x))^(-alpha)
(with alpha = 0.9
is alpha
is missing), which is the default value advised by Djeddour et al (2003).mlv
for general mode estimationx <- rbeta(1000, shape1 = 2, shape2 = 5)
## True mode:
betaMode(shape1 = 2, shape2 = 5)
## Estimation:
asselin(x, bw = 1)
asselin(x, bw = 1/2)
M <- mlv(x, method = "asselin")
print(M)
plot(M)
Run the code above in your browser using DataLab