kppm(X, trend = ~1, clusters = "Thomas", covariates = NULL, ...,
statistic="K", statargs=list())
"ppp"
) to which the model
should be fitted."Thomas"
and "MatClust"
.thomas.estK
or
thomas.estpcf
or
matclust.estK
or
"K"
or "pcf"
."kppm"
representing the fitted model.
There are methods for printing, plotting, predicting, simulating
and updating objects of this class.X
. If the trend is constant (~1
)
then the model is homogeneous.
The empirical $K$-function of the data is computed,
and the parameters of the cluster model are estimated by
the method of minimum contrast (matching the theoretical
$K$-function of the model to the empirical $K$-function
of the data, as explained in mincontrast
).
Otherwise, the model is inhomogeneous.
The algorithm first estimates the intensity function
of the point process, by fitting a Poisson process with log intensity
of the form specified by the formula trend
.
Then the inhomogeneous $K$ function is estimated
by Kinhom
using this fitted intensity.
Finally the parameters of the cluster model
are estimated by the method of minimum contrast using the
inhomogeneous $K$ function.
If statistic="pcf"
then instead of using the
$K$-function, the algorithm will use
the pair correlation function pcf
for homogeneous
models and the inhomogeneous pair correlation function
pcfinhom
for inhomogeneous models.
In this case, the smoothing parameters of the pair correlation
can be controlled using the argument statargs
,
as shown in the Examples.
Currently the only options for the cluster mechanism
are clusters="Thomas"
for the Thomas process
and clusters="MatClust"
for the Matern cluster process.
plot.kppm
,
predict.kppm
,
simulate.kppm
,
update.kppm
,
thomas.estK
,
matclust.estK
,
thomas.estpcf
,
matclust.estpcf
,
mincontrast
,
Kest
,
Kinhom
,
pcf
,
pcfinhom
,
ppm
data(redwood)
kppm(redwood, ~1, "Thomas")
kppm(redwood, ~x, "MatClust")
kppm(redwood, ~x, "MatClust", statistic="pcf", statargs=list(stoyan=0.2))
Run the code above in your browser using DataLab