findh {SOPIE} | R Documentation |
Calculate the Estimated Smoothing Parameter
Description
This function is used to obtain the estimated smoothing parameter that will be
used in the circular kernel density estimator (see
circ.kernel
).
Usage
findh(data, h = 1, to = 1)
Arguments
data |
the data vector from which to calculate the estimated
smoothing parameter | |||||||||
h |
integer value from 1 to 9, specifying the smoothing parameter to calculate according to the following table:
| |||||||||
to |
the value of the maximum domain of the data. Values will usually
either be 1 or 2 |
Value
The function produces a single real value between 0 and 1, representing the rounded value (to 2 decimal places) of the estimating smoothing parameter.
Author(s)
Willem Daniel Schutte
References
Hall P, Watson G, Cabrera J (1987). Kernel density estimation with spherical data.
Biometrika, 74 (4), 751-762.
Jammalamadaka S, SenGupta A (2001). Topics in circular statistics. World Scientific Publishing
Co. Pte. Ltd.
Schutte WD (2014). Nonparametric estimation of the off-pulse interval(s) of a pulsar light
curve. Ph.D. thesis, North-West University. URL http://hdl.handle.net/10394/12199
Schutte WD, Swanepoel JWH (2016). SOPIE: an R package for the non-parametric estimation of the off-pulse interval of a pulsar light curve. Monthly Notices of the Royal Astronomical Society, 461, 627-640.
Sheather, S. & Jones, M. (1991). A reliable data-based bandwidth selection method for kernel
density estimation, Journal of the Royal Statistical Society, Series B, 53:683-690.
Silverman, B. (1986). Density estimation for Statistics and Data analysis, Chapman and Hall.
Taylor, C. (2008). Automatic bandwith selection for circular density estimation, Computational
Statistics & Data Analysis, 52:3493-3500.
Wand, M. & Jones, M. (1995). Kernel Smoothing, Chapman and Hall.
Examples
simdata<-von_mises_sim(n=5000,k=1,c=0.3,noise=0.2)
findh(simdata,h=9,to=1)