Calcualte reference bandwidth

Share:

Description

Function to estimate 2 dimensional reference bandwidth for kernel density estimation

Usage

1
  rhrHref(xy, rescale = "none")

Arguments

xy

data.frame with two columns: x and y coordinates

rescale

character, indicating if and if how data are rescaled. unitvar rescales x and y coordinates to unit variance, xvar rescales x and y coordinate to variance of x and none uses the raw data.

Details

Function to calcualte reference bandwidth. This implementation is based on Worton (1989). If variances differ greatly, it is advaisable to rescale the data using rescale="unitvar". If the data is suspected to multimodal other bandwidth estimation methods may be more suitable. Seaman and Powell (1996) modified the method slighty by calculating the reference bandwidth for each dimension independently. The same result is obtained if rescale=TRUE. If rescaling is performed with unit variance both methods will lead to the same result.

Value

vector of length two

Author(s)

Johannes Signer

References

Seaman, D. E., & Powell, R. A. (1996). An evaluation of the accuracy of kernel density estimators for home range analysis. _Ecology, 77(7)_, 2075-2085.

Worton, B. J. (1989). Kernel methods for estimating the utilization distribution in home-range studies. _Ecology, 70(1)_, 164-168.

Examples

1
2

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.