# MeanPointDensity

MeanPointDensity[pdata]

estimates the mean point density from point data pdata in the observation region reg.

MeanPointDensity[bdata]

estimates the mean point density from binned data bdata.

MeanPointDensity[pproc]

computes the mean point density for point process pproc.

# Details and Options • MeanPointDensity is also known as intensity or mean intensity.
• The mean point density is the average number of points per unit measure of the observation region. It is given by , where is the number of points and is the measure of the observation region reg.
• The points pdata can have the following forms:
•  {p1,p2,…} points pi GeoPosition[…],GeoPositionXYZ[…],… geographic points SpatialPointData[…] spatial point collection {pts,reg} point collection pts and observation region reg
• If the observation region reg is not given, a region is automatically computed using RipleyRassonRegion.
• The point process pproc can have the following forms:
•  proc a point process proc {proc,reg} a point process proc and observation region reg
• The observation region reg should be a parameter-free, full-dimensional and bounded region as tested by SpatialObservationRegionQ.
• The binned data bdata is taken to come from SpatialBinnedPointData.
• With a point process pproc, either exact formulas or approximate computation methods are used.

# Examples

open allclose all

## Basic Examples(4)

Find the mean point density of cities in California:

Create a SpatialPointData:

Plot the points:

Mean point density:

Mean point density of a point process:

Mean point density of a point process on the surface of the Earth:

## Scope(2)

Mean point density of points in 2D:

Specify points and the original region:

Specify another region:

Estimate mean point density for a hardcore point process: