| locmincon | R Documentation |
Fits a Neyman-Scott cluster process or Cox point process model using local minimum contrast.
locmincon(..., sigma = NULL, f = 1/4, verbose = TRUE,
localstatargs = list(), LocalStats = NULL,
tau = NULL)
... |
Arguments passed to |
sigma |
Standard deviation of Gaussian kernel for local likelihood. |
f |
Argument passed to |
verbose |
Logical. If |
localstatargs |
Optional. List of arguments to be passed to the local statistic
|
LocalStats |
Optional. Values of the local statistics, if they have already been computed. |
tau |
Optional. Bandwidth for smoothing the fitted cluster parameters. |
The template or homogeneous model is first fitted by
kppm.
The statistic used to fit the template model is determined
(as explained in the help for kppm)
by the arguments statistic and trend.
The local version of this statistic is then computed.
If statistic="K" and trend=~1
for example, the template model is fitted
using the K function Kest,
and the local version is the local K function
localK. The possibilities are:
statistic | stationary? | template | local |
"K" | yes | Kest
| localK
|
"K" | no | Kinhom
| localKinhom
|
"pcf" | yes | pcf
| localpcf
|
"pcf" | no | pcfinhom
| localpcfinhom
|
These local functions, one for each data point, are then spatially
averaged, using a Gaussian kernel with standard deviation sigma.
Finally the model is fitted to each of the averaged local functions
to obtain a local fit at each data point.
Object of class "locmincon".
.
loccit
X <- redwood[owin(c(0,1), c(-1,-1/2))]
fit <- locmincon(X, ~1, "Thomas", sigma=0.07)
fit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.