circ.boot.bw | R Documentation |
This function provides the specific smoothing parameter for circular HDRs estimation proposed in Saavedra-Nieves and Crujeiras (2021).
circ.boot.bw(sample, bw = bw.CV(circular(sample), upper=100), tau = 0.5, B = 50, upper = 1.5 * bw)
sample |
Numeric vector of angles in radians. |
bw |
Pilot soothing parameter to be used. Following Oliveira et al. (2014), the value of the smoothing parameter can be chosen by using the functions |
tau |
Numeric probability. According to Saavedra-Nieves and Crujeiras (2021), |
B |
Integer value indicating the number of bootstrap resamples. Default |
upper |
Numerical upper value for bounding the optimization procedure. Default |
Saavedra-Nieves and Crujeiras (2021) propose a specific smoothing parameter for HDRs estimation based on the minimization of the Hausdorff distance between the boundaries of the theoretical HDR and the plug-in estimator.
A numeric value corresponding to the selected smoothing parameter.
Paula Saavedra-Nieves and Rosa M. Crujeiras.
Saavedra-Nieves, P. and Crujeiras, R. M. (2021). Nonparametric estimation of directional highest density regions. Advances in Data Analysis and Classification, 1-36.
# HDR selector from a sample of size 500 of model 5 in NPCirc library(NPCirc) set.seed(1) sample<- rcircmix(500, model=5) circ.boot.bw(sample,tau=0.4,B=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.