pcf3est(X, ..., rmax = NULL, nrval = 128, correction = c("translation",
"isotropic"), delta=NULL, adjust=1, biascorrect=TRUE)
"pp3"
).delta
."fv"
) that can be
plotted, printed or coerced to a data frame containing the function
values. Additionally the value of delta
is returned as an attribute
of this object.
K3est
).
The three-dimensional point pattern X
is assumed to be a
partial realisation of a stationary point process $\Phi$.
The distance between each pair of distinct points is computed.
Kernel smoothing is applied to these distance values (weighted by
an edge correction factor) and the result is
renormalised to give the estimate of $g_3(r)$.The available edge corrections are: [object Object],[object Object]
Kernel smoothing is performed using the Epanechnikov kernel
with half-width delta
. If delta
is missing, the
default is to use the rule-of-thumb
$\delta = 0.26/\lambda^{1/3}$ where
$\lambda = n/v$ is the estimated intensity, computed
from the number $n$ of data points and the volume $v$ of the
enclosing box. This default value of delta
is multiplied by
the factor adjust
.
The smoothing estimate of the pair correlation $g_3(r)$
is typically an underestimate when $r$ is small, due to
truncation of the kernel at $r=0$.
If biascorrect=TRUE
, the smoothed estimate is
approximately adjusted for this bias. This is advisable whenever
the dataset contains a sufficiently large number of points.
Ohser, J. (1983) On estimators for the reduced second moment measure of point processes. Mathematische Operationsforschung und Statistik, series Statistics, 14, 63 -- 71.
Ripley, B.D. (1977) Modelling spatial patterns (with discussion). Journal of the Royal Statistical Society, Series B, 39, 172 -- 212.
K3est
,
pcf
X <- rpoispp3(250)
Z <- pcf3est(X)
Zbias <- pcf3est(X, biascorrect=FALSE)
if(interactive()) {
opa <- par(mfrow=c(1,2))
plot(Z, ylim.covers=c(0, 1.2))
plot(Zbias, ylim.covers=c(0, 1.2))
par(opa)
}
attr(Z, "delta")
Run the code above in your browser using DataLab