Concom {spatstat.model} | R Documentation |
The Connected Component Process Model
Description
Creates an instance of the Connected Component point process model which can then be fitted to point pattern data.
Usage
Concom(r)
Arguments
r |
Threshold distance |
Details
This function defines the interpoint interaction structure of a point process called the connected component process. It can be used to fit this model to point pattern data.
The function ppm()
, which fits point process models to
point pattern data, requires an argument
of class "interact"
describing the interpoint interaction
structure of the model to be fitted.
The appropriate description of the connected component interaction is
yielded by the function Concom()
. See the examples below.
In standard form, the connected component process
(Baddeley and Moller, 1989) with disc radius ,
intensity parameter
and interaction parameter
is a point process with probability density
for a point pattern , where
represent the
points of the pattern,
is the number of points in the
pattern, and
is defined below.
Here
is a normalising constant.
To define the term C(x)
, suppose that we construct a planar
graph by drawing an edge between
each pair of points which are less than
units apart. Two points belong to the same connected component
of this graph if they are joined by a path in the graph.
Then
is the number of connected components of the graph.
The interaction parameter can be any positive number.
If
then the model reduces to a Poisson
process with intensity
.
If
then the process is regular,
while if
the process is clustered.
Thus, a connected-component interaction process can be used to model either
clustered or regular point patterns.
In spatstat, the model is parametrised in a different form, which is easier to interpret. In canonical form, the probability density is rewritten as
where is the new intensity parameter and
is the interaction potential.
In this formulation, each isolated point of the pattern contributes a
factor
to the probability density (so the
first order trend is
). The quantity
is a true interaction potential, in the sense that
if the point pattern
does not contain any
points that lie close together.
When a new point is added to an existing point pattern
, the rescaled potential
increases by
zero or a positive integer.
The increase is zero if
is not close to any point of
.
The increase is a positive integer
if there are
different connected components of
that lie close to
.
Addition of the point
contributes a factor
to the probability density, where
is the
increase in potential.
If desired, the original parameter can be recovered from
the canonical parameter by
.
The nonstationary connected component process is similar except that
the contribution of each individual point
is a function
of location, rather than a constant beta.
Note the only argument of Concom()
is the threshold distance r
.
When r
is fixed, the model becomes an exponential family.
The canonical parameters
and
are estimated by
ppm()
, not fixed in
Concom()
.
Value
An object of class "interact"
describing the interpoint interaction
structure of the connected component process with disc radius .
Edge correction
The interaction distance of this process is infinite.
There are no well-established procedures for edge correction
for fitting such models, and accordingly the model-fitting function
ppm
will give an error message saying that the user must
specify an edge correction. A reasonable solution is
to use the border correction at the same distance r
, as shown in the
Examples.
Author(s)
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk
References
Baddeley, A.J. and Moller, J. (1989) Nearest-neighbour Markov point processes and random sets. International Statistical Review 57, 89–121.
See Also
ppm
,
pairwise.family
,
ppm.object
Examples
# prints a sensible description of itself
Concom(r=0.1)
# Fit the stationary connected component process to redwood data
ppm(redwood ~1, Concom(r=0.07), rbord=0.07)
# Fit the stationary connected component process to `cells' data
ppm(cells ~1, Concom(r=0.06), rbord=0.06)
# eta=0 indicates hard core process.
# Fit a nonstationary connected component model
# with log-cubic polynomial trend
ppm(swedishpines ~polynom(x/10,y/10,3), Concom(r=7), rbord=7)