intensity_bandwidth_profile | R Documentation |
Find the optimal smoothing for intensity estimation kernel width
intensity_bandwidth_profile(x, bw_vector, kernel = "gaussian", ...)
x |
point pattern |
bw_vector |
Vector of bandwidth values to optimize over |
kernel |
Either 'gaussian' or 'epanenchnikov' |
... |
ignored. |
Optimize bandwidth $h$ using the Cronie & van Lieshout method [1]. In short, optimise the loss function
∑ 1/\hatλ_h(x_i) - |W|)^2
with a kernel intensity estimator. See Reference for the paper.
Note: The optimisation is done without border correction and without leave-one-out, as suggested in [1].
list with elements:
* opt: the optimal bandwidth, given the inputs
* iopt: index of optimal bandwidth in input vector
* loss: the squared loss function (given above)
* statistic: the statistic which root is to be found
* area: window area |W| used for optimisation.
1. Cronie O, van Lieshout MNM. Bandwidth selection for kernel estimators of the spatial intensity function. 2016;1-20. Available from: http://arxiv.org/abs/1611.10221
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.