Gtrans: Transforms of the Nearest Neighbour Distance Function G

GtransR Documentation

Transforms of the Nearest Neighbour Distance Function G

Description

Estimates the summary function G(r) for a point pattern in a window of arbitrary shape on a (subset of) a sphere and performs either the variance-stabilising or inverse transform.

Usage

Ginv.sphwin(X, ...)

Gstab.sphwin(X, ...)

Arguments

X

The observed point pattern, from which an estimate of G(r) will be computed and then transformed. An object of class "sp2" or "sp3", or a 2 or 3 column matrix giving the locations of points in spherical coordinates.

...

Other arguments required by the function Gsphere.

Details

The nearest neighbour distance distribution function (also called the "event-to-event", or the "inter-event" distribution) of a point process X is the cumulative distribution function G of the distance from a typical random point of X to the nearest other point of X.

The variance-stabilising transform of G is asin(sqrt(G(r))).

Alternatively, Ginv.sphwin calculates the inverse of the estimated G function, under the assumption that the underlying process is Poisson. The calculated function is therefore independent of the estimated intensity of the point pattern and therefore any deviation test performed using this estimate will avoid the related conservatism issue. The plot is also a P-P plot.

Plots that can be useful include centring (include the argument .-theo~r) the function, or for either of G(r) or Gstab(r), plotting the estimated function against the theoretical value for a model (use e.g. the argument .~theo in the plot function).

Value

An object of class "fv", see fv.object, which can be plotted directly using plot.fv.

Essentially a data frame containing some or all of the following columns:

r

the values of the argument r at which the transformation of G(r) has been estimated

rs

the transformation of the "reduced sample" (border correction) estimator of G(r)

km

the trasnformation of the spatial Kaplan-Meier estimator of G(r)

hazard

the transformation of the hazard rate lambda(r) of G(r) by the spatial Kaplan-Meier method

raw

the transform of the uncorrected estimate of G(r), , i.e. the empirical distribution of the distances from each point in the pattern X to the nearest other point of the pattern

han

the transform of the Hanisch correction estimator of G(r)

theo

the transform of the theoretical value of G(r) for a stationary Poisson process of the same estimated intensity.

Note

Sizeable amounts of memory may be needed during the calculation

Author(s)

Tom Lawrence <email:tjlawrence@bigpond.com> and Adrian Baddeley <email: Adrian.Baddeley@curtin.edu.au>

References

Baddeley, A.J. Spatial sampling and censoring. In O.E. Barndorff-Nielsen, W.S. Kendall and M.N.M. van Lieshout (eds) Stochastic Geometry: Likelihood and Computation. Chapman and Hall, 1998. Chapter 2, pages 37–78.

Baddeley, A.J. and Gill, R.D. The empty space hazard of a spatial pattern. Research Report 1994/3, Department of Mathematics, University of Western Australia, May 1994.

Baddeley, A.J. and Gill, R.D. Kaplan-Meier estimators of interpoint distance distributions for spatial point processes. Annals of Statistics 25 (1997) 263–292.

Borgefors, G. Distance transformations in digital images. Computer Vision, Graphics and Image Processing 34 (1986) 344–371.

Chiu, S.N. and Stoyan, D. (1998) Estimators of distance distributions for spatial patterns. Statistica Neerlandica 52, 239–246.

Cressie, N.A.C. Statistics for spatial data. John Wiley and Sons, 1991.

Diggle, P.J. Statistical analysis of spatial point patterns. Academic Press, 1983.

Lawrence, T.J. (2017) Master's Thesis, University of Western Australia.

Ripley, B.D. Statistical inference for spatial processes. Cambridge University Press, 1988.

Stoyan, D, Kendall, W.S. and Mecke, J. Stochastic geometry and its applications. 2nd edition. Springer Verlag, 1995.

See Also

Gsphere, Jsphere, Ksphere, Gest, Fstab.sphwin, Finv.sphwin, Kstab.sphwin, Kinv.sphwin

Examples

sph <- sphwin(type="sphere")
sph.pp <- rpoispp.sphwin(win=sph, lambda=10)
sph.ref <- rpoispp.sphwin(win=sph, lambda=150)
sph.Gstab <- Gstab.sphwin(X=sph.pp)
sph.Ginv <- Ginv.sphwin(X=sph.pp)

baddstats/spherstat documentation built on Feb. 6, 2023, 1:45 a.m.