Point Processes

A spatial point process is used when the observed data are the event locations themselves.

This differs from geostatistics.

In geostatistics, locations are usually fixed and a value is observed at each location:

$$ \text{location } s_i \quad\longrightarrow\quad Z(s_i). $$

In a point process, the locations are the random outcome:

$$ {s_1,s_2,\ldots,s_n}. $$

Both the number of events and their positions may be random.

Examples include:

Learning objectives

After working through this chapter, you should be able to:

  1. explain what makes point-process data different from geostatistical data;
  2. interpret the counting measure $N(B)$;
  3. calculate expected counts from an intensity;
  4. explain homogeneous and inhomogeneous intensity;
  5. distinguish an unconditional Poisson process from a fixed-count uniform pattern;
  6. calculate and interpret the Poisson count probability;
  7. calculate and interpret the nearest-neighbor distribution $G(r)$ under CSR;
  8. explain what Ripley's $K$ function measures;
  9. compare an observed $K(r)$ with the CSR benchmark $\pi r^2$;
  10. explain why edge correction is necessary;
  11. explain what Monte Carlo envelopes do and do not establish;
  12. distinguish clustering caused by intensity from clustering caused by interaction;
  13. describe clustered, inhibitory, and marked point-process models.

What is the random object?

Suppose events occur inside a study region $W$.

The observed pattern might be

$$ {s_1,s_2,\ldots,s_n}, $$

where each

$$ s_i=(x_i,y_i) $$

is an event location.

For example, if five trees are observed in a forest plot, the point pattern could be

$$ {(1.2,3.0),(2.5,7.1),(4.8,4.4),(6.3,8.2),(8.1,2.7)}. $$

Unlike ordinary regression, there is no fixed set of sites where a response is measured.

The event locations themselves are the outcome.

A point pattern inside an observation window

Why the observation window matters

A point pattern has meaning only relative to the region in which events could have been observed.

That region is the observation window $W$.

If 20 events are observed, the interpretation is very different if the window has area 1 km$^2$ versus 100 km$^2$.

Always record:

The counting measure

For any region

$$ B\subseteq W, $$

define

$$ N(B) = \text{number of observed events inside }B. $$

The quantity $N(B)$ is random because another realization of the process could contain a different number of events in $B$.

Numerical example

Suppose the study window is a $10\times10$ square.

Let

$$ B=[0,4]\times[0,3]. $$

The area of $B$ is

$$ |B|=4\times3=12. $$

Suppose the observed pattern contains events at

$$ (1,1),\ (2,2),\ (3,1),\ (6,4),\ (8,7). $$

The first three events lie inside $B$.

Therefore

$$ \boxed{ N(B)=3 }. $$

If we repeated the underlying experiment, another realization might have

$$ N(B)=1,\quad N(B)=4,\quad N(B)=0, $$

or another count.

This is why a point process can be viewed as a random counting measure.

First-order structure: intensity

The intensity $\lambda(s)$ describes the expected event density around location $s$.

The fundamental relationship is

$$ E[N(B)] = \int_B\lambda(s)\,ds. $$

This relationship answers the question:

How many events should we expect inside region $B$?

Homogeneous intensity

For a homogeneous process,

$$ \lambda(s)=\lambda $$

is constant across the window.

Then

$$ E[N(B)] = \lambda|B|. $$

Worked numerical example

Suppose

$$ \lambda=0.2 $$

events per square kilometer.

Let

$$ |B|=12\text{ km}^2. $$

Then

$$ E[N(B)] = 0.2(12) = 2.4. $$

Therefore

$$ \boxed{ E[N(B)]=2.4 }. $$

What does 2.4 mean?

It does not mean that 2.4 events will literally be observed.

Counts must be integers.

It means that across many hypothetical repetitions, the average count in regions of this size would approach 2.4.

For example, observed counts across repeated regions might be

$$ 2,\ 4,\ 1,\ 3,\ 2,\ldots $$

while their long-run average is about 2.4.

Estimating a homogeneous intensity

If $n$ events are observed in a window of area $|W|$, the natural estimator is

$$ \hat\lambda = \frac{n}{|W|}. $$

Example

Suppose

$$ n=35 $$

events are observed in a rectangular window measuring

$$ 5\text{ km}\times4\text{ km}. $$

The area is

$$ |W|=5(4)=20\text{ km}^2. $$

Therefore

$$ \hat\lambda = \frac{35}{20} = 1.75. $$

So the estimated intensity is

$$ \boxed{ 1.75\text{ events per km}^2 }. $$

This is a sensible summary only when constant intensity is scientifically plausible.

Inhomogeneous intensity

Intensity need not be constant.

An inhomogeneous point process has

$$ \lambda(s) $$

that changes with location.

For example,

$$ \lambda(x,y) = \exp( \beta_0+\beta_1x+\beta_2y ) $$

can represent a smoothly varying spatial intensity.

Intensity can also depend on covariates such as:

Numerical example

Suppose

$$ \lambda(x) = \exp(-1+0.15x). $$

At

$$ x=2, $$

the intensity is

$$ \lambda(2) = \exp(-1+0.15(2)) = \exp(-0.7) \approx0.497. $$

At

$$ x=8, $$

$$ \lambda(8) = \exp(-1+0.15(8)) = \exp(0.2) \approx1.221. $$

So the expected local event density is much higher near $x=8$ than near $x=2$.

Why intensity must be separated from interaction

This distinction is fundamental in point-process analysis.

A map can appear clustered for two very different reasons.

varying first-order intensity

Events may be conditionally independent even when intensity is high in some places and low in others.

Example:

The stores may be conditionally independent once population density and commercial opportunity are accounted for.

event interaction

The occurrence of one event changes the probability of another event occurring nearby.

Examples:

These mechanisms have different scientific interpretations.

Same visual clustering, different mechanisms

Main lesson

A clustered-looking map does not by itself show attraction among events.

First model or otherwise account for $\lambda(s)$.

This is the point-process analogue of separating a spatial mean trend from residual dependence in geostatistics.

The homogeneous Poisson process

The homogeneous Poisson point process is the standard reference model for complete spatial randomness (CSR) under homogeneous intensity.

It has three key properties.

Poisson counts

For a region $B$,

$$ N(B) \sim \mathrm{Poisson}(\lambda|B|). $$

independent disjoint counts

If

$$ B_1\cap B_2=\varnothing, $$

then

$$ N(B_1) $$

and

$$ N(B_2) $$

are independent.

uniform locations conditional on the count

Conditional on

$$ N(W)=n, $$

the $n$ event locations are independent and uniformly distributed over $W$.

Poisson count calculation

For

$$ N(B)\sim\mathrm{Poisson}(\mu), $$

the probability of exactly $k$ events is

$$ P[N(B)=k] = e^{-\mu} \frac{\mu^k}{k!}. $$

For a homogeneous Poisson process,

$$ \mu=\lambda|B|. $$

Worked example

Use

$$ \lambda=0.2 $$

and

$$ |B|=12. $$

Then

$$ \mu=0.2(12)=2.4. $$

What is the probability of observing exactly 3 events?

$$ P[N(B)=3] = e^{-2.4} \frac{2.4^3}{3!}. $$

Now

$$ 2.4^3=13.824 $$

and

$$ 3!=6. $$

Therefore

$$ P[N(B)=3] = e^{-2.4} \frac{13.824}{6}. $$

Because

$$ e^{-2.4}\approx0.09072, $$

we obtain

$$ P[N(B)=3] \approx 0.09072(2.304) $$

$$ \boxed{ P[N(B)=3]\approx0.209 }. $$

So under this model there is about a 20.9% chance of exactly 3 events in the region.

Unconditional Poisson simulation versus fixed-count simulation

This distinction is subtle but important.

Full homogeneous Poisson-process simulation

First draw

$$ N(W) \sim \mathrm{Poisson}(\lambda|W|). $$

Then, conditional on that random count, draw all event locations independently and uniformly over $W$.

Both the total count and the event positions are random.

Fixed-count uniform simulation

Suppose instead we decide first that

$$ n=50 $$

and then draw exactly 50 independent uniform locations.

That simulation has the same distribution of locations as a homogeneous Poisson process conditional on

$$ N(W)=50. $$

But the count is no longer random.

Unconditional and conditional CSR

Why does this distinction matter?

If the observed count is treated as fixed by the study design, conditioning on $n$ can be appropriate.

If variability in the total count is scientifically relevant, an unconditional Poisson simulation better represents the full model.

Nearest-neighbor distance

For each event, calculate the distance to its nearest other event.

For event $i$,

$$ d_i = \min_{j\neq i} \|s_i-s_j\|. $$

Nearest-neighbor distances summarize short-range spacing.

Small nearest-neighbor distances suggest that events often have close companions.

Large nearest-neighbor distances suggest regular spacing or inhibition.

The theoretical nearest-neighbor distribution under CSR

For a homogeneous planar Poisson process on an unbounded region,

$$ G(r) = P(\text{nearest-neighbor distance}\le r ) $$

is

$$ \boxed{ G(r) = 1-e^{-\lambda\pi r^2} }. $$

Why this formula appears

For the nearest neighbor to be farther than $r$, there must be no other event within a disk of radius $r$ around a typical event.

The area of that disk is

$$ \pi r^2. $$

Under a homogeneous Poisson process, the expected number of events in that disk is

$$ \lambda\pi r^2. $$

The probability of zero events is

$$ e^{-\lambda\pi r^2}. $$

Therefore

$$ P(D>r) = e^{-\lambda\pi r^2}. $$

Hence

$$ P(D\le r) = 1-e^{-\lambda\pi r^2}. $$

Numerical nearest-neighbor example

Suppose

$$ \lambda=0.08 $$

events per square unit.

What is the probability that the nearest neighbor is within

$$ r=2 $$

units?

Use

$$ G(2) = 1-e^{-0.08\pi(2^2)}. $$

Because

$$ 2^2=4, $$

$$ 0.08\pi(4) = 0.32\pi \approx1.0053. $$

Therefore

$$ G(2) = 1-e^{-1.0053}. $$

Since

$$ e^{-1.0053} \approx0.366, $$

we get

$$ \boxed{ G(2)\approx0.634 }. $$

Interpretation:

Under homogeneous CSR with intensity 0.08, about 63.4% of events are expected to have their nearest neighbor within 2 distance units.

Nearest-neighbor distribution

Boundary effects in nearest-neighbor calculations

The theoretical formula

$$ G(r)=1-e^{-\lambda\pi r^2} $$

assumes an unbounded plane.

Real studies use finite observation windows.

An event near the boundary has part of its surrounding neighborhood outside the observed region.

A potential nearest neighbor just outside the window would not be observed.

Naive nearest-neighbor summaries can therefore be distorted near boundaries.

Possible responses include:

Ripley's K function

Ripley's $K$ function summarizes point-pattern structure over a range of distances.

For a stationary process with intensity $\lambda$,

$$ K(r) = \frac{1}{\lambda} E[ \text{number of additional events within distance }r \text{ of a typical event} ]. $$

This definition addresses the question:

After adjusting for overall event density, how many neighboring events are found within distance $r$ of a typical event?

CSR benchmark for Ripley's K

Under homogeneous complete spatial randomness in two dimensions,

$$ \boxed{ K_{\mathrm{CSR}}(r)=\pi r^2 }. $$

This equals the area of a circle of radius $r$.

Why?

Under CSR, the expected number of other events inside a radius-$r$ disk is

$$ \lambda\pi r^2. $$

Dividing by $\lambda$ gives

$$ K(r) = \pi r^2. $$

Interpreting K

Compare an observed or estimated $\hat K(r)$ with

$$ \pi r^2. $$

Broadly:

$$ \hat K(r)>\pi r^2 $$

suggests more nearby event pairs than expected under CSR.

This is consistent with clustering over distances up to $r$.

Conversely,

$$ \hat K(r)<\pi r^2 $$

suggests fewer nearby pairs than expected.

This is consistent with inhibition or regular spacing over distances up to $r$.

The interpretation is scale dependent.

A process might be:

For this reason, $K$ is examined as a curve rather than at a single distance.

A simple empirical K calculation

Ignoring edge correction for the moment, a common estimator for a window of area $A$ is

$$ \hat K(r) = \frac{A}{n(n-1)} \sum_{i=1}^n \sum_{j\neq i} I(d_{ij}\le r). $$

Here:

Worked example

Suppose:

$$ A=100, $$

$$ n=5, $$

and at distance

$$ r=3 $$

there are 3 unordered event pairs within distance 3.

Because the double sum counts each pair twice,

$$ (i,j) $$

and

$$ (j,i), $$

3 unordered pairs become

$$ 6 $$

ordered pairs.

Therefore

$$ \hat K(3) = \frac{100}{5(4)}(6). $$

Since

$$ 5(4)=20, $$

$$ \hat K(3) = \frac{100}{20}(6) = 5(6) $$

$$ \boxed{ \hat K(3)=30 }. $$

Under CSR,

$$ K_{\mathrm{CSR}}(3) = \pi(3^2) = 9\pi \approx28.27. $$

Thus

$$ 30>28.27. $$

This small difference suggests slightly more nearby pairs than expected under CSR at that scale, but the calculation alone does not establish statistically significant clustering.

K is cumulative

A key feature of Ripley's $K$ function is that it is cumulative.

If

$$ r=10, $$

the count includes all neighbors at distances

$$ 0<d\le10. $$

Therefore nearby-pair information from shorter distances contributes to every larger value of $K(r)$.

As a result, nearby points on a $K$ curve are strongly dependent.

Each radius should not be interpreted as an independent statistical test.

Edge effects in K

Consider an event near the left boundary of a rectangular study window.

A circle of radius $r$ around the event extends partly outside the observed window.

If only visible neighbors are counted, possible neighbors in the unobserved part of the circle are missed.

Ignoring this typically biases estimated pair counts downward.

Edge effect

Common corrections include:

No correction can recover information that was never observed. Edge correction adjusts the contribution of available information under assumptions about the observation process.

Simple border correction

A simple border method uses only points at least distance $r$ from the window boundary as focal points.

Suppose the study window is

$$ [0,10]\times[0,10]. $$

At radius

$$ r=2, $$

a point at

$$ (1,5) $$

is only 1 unit from the left boundary.

It is excluded as a focal point for that radius.

A point at

$$ (5,5) $$

is more than 2 units from every boundary and can be retained.

Tradeoff

Border correction reduces edge bias but also discards information.

At large $r$, very few interior focal points may remain.

For this reason, $K(r)$ should not be evaluated at arbitrarily large radii relative to the study window.

L transformation

Because

$$ K_{\mathrm{CSR}}(r)=\pi r^2, $$

the CSR curve is nonlinear.

A common transformation is

$$ L(r) = \sqrt{ \frac{K(r)}{\pi} }. $$

Under CSR,

$$ L(r)=r. $$

Another common display is

$$ L(r)-r. $$

Then the CSR benchmark becomes a horizontal zero line.

Broadly:

This transformation makes departures from CSR easier to visualize, but simulation-based uncertainty is still needed.

Monte Carlo envelopes

A common point-process diagnostic compares an observed summary function with simulations from a reference model.

For example, to assess homogeneous CSR:

  1. estimate or specify $\lambda$;
  2. simulate many CSR patterns in the same window;
  3. calculate $K(r)$ for each simulation;
  4. calculate the observed $K(r)$;
  5. compare the observed curve with the simulated curves.

For each radius, one can calculate lower and upper simulated quantiles.

These bounds form a pointwise Monte Carlo envelope.

Monte Carlo envelope

What is the envelope calculating?

Suppose we generate

$$ M=199 $$

simulated patterns.

At radius

$$ r=2, $$

we obtain 199 simulated values

$$ \hat K_1(2),\ldots,\hat K_{199}(2). $$

A 95% pointwise envelope can be approximated using the 2.5% and 97.5% quantiles of those simulated values.

The same is done separately for every radius.

Pointwise is not the same as global

This distinction is important.

A 95% pointwise envelope controls the simulated range separately at each radius.

When many radii are examined, an observed curve may leave the envelope somewhere simply by chance.

Therefore a pointwise envelope is not automatically a 5% global test over the entire curve.

Formal global-envelope methods handle the multiple-distance problem more carefully.

For introductory analysis, pointwise envelopes remain useful exploratory diagnostics when their limitations are stated clearly.

The reference model must match the scientific question

A CSR envelope is meaningful only when homogeneous CSR is a scientifically plausible reference model.

Suppose event intensity clearly increases with population density.

Then homogeneous CSR is already wrong at the first-order level.

Comparing such a pattern with homogeneous CSR may simply rediscover the known intensity gradient.

A better reference process might be an inhomogeneous Poisson process with fitted intensity

$$ \hat\lambda(s). $$

Simulation can then address the question:

Is there extra spatial interaction beyond what the fitted intensity explains?

Cluster processes

Some point patterns still show clustering after first-order intensity has been modeled.

A common model is the Thomas process.

One construction is:

  1. simulate parent points from a Poisson process;
  2. each parent produces a Poisson number of offspring;
  3. offspring are displaced from the parent;
  4. Gaussian displacement is often used;
  5. only the offspring may be observed.

The parent points may be latent.

CSR, clustered, and inhibited patterns

Scientific interpretation

A Thomas process is plausible when observed events arise around underlying cluster centers.

Examples might include:

Inhibitory processes

Some processes exhibit inhibition or repulsion rather than clustering.

Examples include:

A hard-core model imposes a minimum inter-event distance

$$ h>0. $$

Then no pair can satisfy

$$ d_{ij}<h. $$

This produces more regular spacing at short distances.

More general Gibbs processes can represent softer forms of attraction or repulsion.

A simple inhibition calculation

Suppose a hard-core model has minimum distance

$$ h=2. $$

Consider two proposed event locations:

$$ s_1=(3,4), $$

$$ s_2=(4,5). $$

Their distance is

$$ d = \sqrt{(4-3)^2+(5-4)^2} = \sqrt{1+1} = \sqrt2 \approx1.414. $$

Because

$$ 1.414<2, $$

the pair violates the hard-core constraint.

Both events cannot occur together in a pattern that satisfies this hard-core model.

Inhomogeneous Poisson processes

A Poisson process need not be homogeneous.

For an inhomogeneous Poisson process:

$$ N(B) \sim \mathrm{Poisson} \left( \int_B\lambda(s)\,ds \right), $$

and events are conditionally independent given the intensity surface.

This matters because an inhomogeneous Poisson pattern can look highly clustered.

The visual clustering comes from variation in $\lambda(s)$ rather than event-to-event attraction.

Example of an intensity model with a covariate

Suppose event intensity depends on population density $x(s)$:

$$ \log\lambda(s) = \beta_0+\beta_1x(s). $$

Let

$$ \beta_0=-2 $$

and

$$ \beta_1=0.03. $$

At a location with population covariate

$$ x=20, $$

$$ \log\lambda = -2+0.03(20) = -1.4. $$

So

$$ \lambda = e^{-1.4} \approx0.247. $$

At

$$ x=60, $$

$$ \log\lambda = -2+0.03(60) = -0.2, $$

so

$$ \lambda = e^{-0.2} \approx0.819. $$

The second location therefore has much higher expected event density even without interaction.

Marked point processes

Events can carry additional attributes called marks.

Examples include:

The marked pattern can be written

$$ {(s_i,m_i)}_{i=1}^n, $$

where

$$ m_i $$

is the mark attached to event $i$.

Marked point pattern

Point pattern versus mark dependence

These two questions should be kept separate.

are the event locations clustered?

This concerns the point process itself.

Examples of tools:

are similar marks located near one another?

This concerns dependence in the marks, conditional on or jointly with the event locations.

For example:

These require mark-specific summaries or models.

A point pattern may be CSR while its marks are strongly spatially associated, or vice versa.

Observation bias and exposure

Point-process intensity can reflect both the underlying event-generating process and the observation process.

Suppose wildlife sightings are collected near roads.

A high concentration of sightings near roads could mean:

Similarly, disease cases may be concentrated where more people live simply because more people are at risk.

Exposure and observation effort should therefore be considered when interpreting intensity.

A complete point-process workflow

A practical analysis can follow these steps.

define the event

Decide exactly what counts as one event.

Examples:

Duplicate or ambiguously defined events can change the analysis.

define the observation window

Record the geometry and area of $W$.

Check whether all parts were observable.

map the event pattern

Look for:

investigate first-order intensity

Ask whether density depends on:

choose a meaningful reference model

Possible examples:

examine second-order summaries

Use appropriate tools such as:

use edge correction

Make sure boundary bias is addressed.

compare with simulation

Simulate from the fitted reference model and compute the same summary statistic.

fit interaction models only when needed

Do not add an interaction component merely because the raw map looks clustered.

validate

Use simulation diagnostics, residual analysis, or held-out spatial information when possible.

Common mistakes

treating point-process data like geostatistical data

In a point process, the locations themselves are random.

ignoring the observation window

Counts and intensity have no clear interpretation without the region where events could have been observed.

calling every visual cluster "interaction"

Varying intensity can create apparent clustering without event-to-event attraction.

simulating a fixed number of uniform points and calling it an unconditional Poisson process

That is a Poisson process conditional on the total count.

interpreting $K(r)$ without edge correction

Boundary truncation can reduce observed pair counts.

treating each radius on a K curve as an independent test

$K$ is cumulative and nearby radii are highly dependent.

treating a pointwise simulation envelope as a global 5% test

Pointwise and simultaneous inference are not the same.

using homogeneous CSR when intensity is obviously inhomogeneous

The comparison may simply detect a first-order intensity gradient.

confusing event clustering with spatial autocorrelation of marks

They are separate questions.

A compact worked analysis

Suppose 80 tree stems are observed in a

$$ 20\text{ m}\times20\text{ m} $$

plot.

The plot area is

$$ |W| = 20(20) = 400\text{ m}^2. $$

The homogeneous intensity estimate is

$$ \hat\lambda = \frac{80}{400} = 0.2 $$

trees per square meter.

At radius

$$ r=1, $$

CSR predicts

$$ K_{\mathrm{CSR}}(1) = \pi \approx3.142. $$

Suppose an edge-corrected estimate gives

$$ \hat K(1)=5.2. $$

The observed value is above the CSR benchmark.

Before concluding that trees attract one another, ask:

  1. Is tree density higher in wetter or better-lit areas?
  2. Is the pattern inhomogeneous?
  3. Are juvenile trees clustered around parent trees?
  4. Could the window or sampling protocol create apparent clusters?
  5. Does the observed $K$ curve exceed simulations from an appropriate fitted first-order model?

The numerical difference alone does not identify the underlying mechanism.

Concept map

The logic of point-process analysis is:

$$ \text{event locations} $$

$$ \downarrow $$

$$ \text{define event + observation window} $$

$$ \downarrow $$

$$ \text{estimate/model first-order intensity} $$

$$ \downarrow $$

$$ \text{examine short- and multi-scale spacing} $$

$$ \downarrow $$

$$ \text{apply edge correction} $$

$$ \downarrow $$

$$ \text{simulate from a scientifically meaningful reference process} $$

$$ \downarrow $$

$$ \text{assess evidence for residual clustering or inhibition} $$

$$ \downarrow $$

$$ \text{fit richer cluster/inhibitory/marked models when needed}. $$

The central idea is:

First-order intensity describes where events are expected to occur; second-order structure describes how events are arranged relative to one another after that intensity structure is considered.

Questions students should be able to answer

  1. What is random in a spatial point process?
  2. What does $N(B)$ represent?
  3. If $\lambda=0.4$ and $|B|=10$, what is $E[N(B)]$?
  4. Why can a raw cluster map be misleading?
  5. What is the difference between unconditional CSR and fixed-count uniform simulation?
  6. What does $G(r)$ measure?
  7. Why does the formula for $G(r)$ contain $\pi r^2$?
  8. What does $K(r)$ measure?
  9. Why is $K_{\mathrm{CSR}}(r)=\pi r^2$?
  10. Why do boundary effects bias naive pair counts?
  11. Why is $K(r)$ described as cumulative?
  12. Why is a pointwise Monte Carlo envelope not automatically a global test?
  13. What scientific mechanism does a Thomas process represent?
  14. What scientific mechanism does a hard-core process represent?
  15. What is the difference between location interaction and spatial dependence in marks?