EmptySpaceF
EmptySpaceF[pdata,r]
estimates the empty space function for point data pdata at radius r.
EmptySpaceF[pproc,r]
computes for point process pproc.
EmptySpaceF[bdata,r]
computes for binned data bdata.
EmptySpaceF[pspec]
generates the function that can be applied repeatedly to different radii r.
Details and Options
- EmptySpaceF is also known as spherical contact distribution function.
- The function gives the probability of finding a point within distance of an arbitrary location which is typically not a point of pdata.
- When comparing with a Poisson point process, the results are:
- The radius r can be a single value or a list of values. With no radius r specified, EmptySpaceF returns a PointStatisticFunction that can be used to evaluate the function repeatedly.
- The point data 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 parameter free and SpatialObservationRegionQ.
- The binned data bdata is from SpatialBinnedPointData and is treated as an InhomogeneousPoissonPointProcess with a piecewise constant intensify function.
- For pdata, is computed by discretizing the observation region and assumes constant point intensity.
- For pproc, is computed by using exact formulas or by simulation to generate point data.
- The following options can be given:
-
Method Automatic what methods to use SpatialBoundaryCorrection Automatic what boundary correction to use - The following settings can be used for SpatialBoundaryCorrection:
-
Automatic automatically determined boundary correction None no boundary correction "BorderMargin" use interior margin for observation region "Hanisch" drops points for which the distance to the nearest neighbor is greater than the distance to boundary "KaplanMeier" SurvivalDistribution method: the point distance to its nearest neighbor is censored by its distance to the region boundary "NelsonAalen" SurvivalDistribution method: the point distance to its nearest neighbor is censored by its distance to the region boundary - The setting Method->{"Discretization"->opts} allows for adjusting the discretization method in the estimation. Here opts can be any valid options for DiscretizeRegion.
Examples
open allclose allBasic Examples (3)
Estimate the empty space function at a given distance:
Estimate the empty space function within a range of distances:
Visualize the result with ListPlot:
Scope (7)
Point Data (4)
Estimate the empty space function for some data at distance 0.1:
Obtain empirical estimates of the empty space function for a list of given distances:
Create a PointStatisticFunction for future use:
Compute a value at a given radius:
Estimate the empty space function without explicitly providing the observation region:
Observation region generated by Ripley–Rasson estimator:
Estimated function at distance 0.05:
Use EmptySpaceF with GeoPosition:
Point Processes (3)
The empty space function for PoissonPointProcess has closed form:
Visualize for fixed intensity and varying dimension:
The empty space function for a cluster process ThomasPointProcess with specified dimension:
The empty space function for a cluster process MaternPointProcess with specified dimension:
Options (3)
SpatialBoundaryCorrection (2)
The EmptySpaceF estimator without boundary correction is biased and should not be used unless with a large point set:
The default method "BorderMargin" only considers the points that are distance from the boundary:
"Hanisch" method weights each point in the observation region to make the estimated values unbiased:
"KaplanMeier" and "NelsonAalen" methods are estimators used in SurvivalDistribution. The distance of each point to its nearest neighbor point is censored by the distance of each point to the boundary of the observation region:
Compare the different edge correction methods:
Estimate the values of the empty space function with three different methods:
Method (1)
Discretization setting can be provided under Method as suboptions:
Estimate the empty space function at the same radius with different values of MaxCellMeasure:
Use different discretization methods to estimate the empty space function at the same radius:
Applications (3)
The empty space function for spatially random data:
The empty space function for hardcore data:
Estimate the values of the empty space function with given data:
On Monday, May 20, 2019, the Severe Prediction Center highlighted a small corridor from the northeastern part of the Texas Panhandle to central Oklahoma in a 45 percent probability of EF2–EF5 tornadoes to occur within 25 miles of a given location, which defines a value of EmptySpaceF:
Assuming uniform intensity over the region, use the Poisson point process as a tornado pattern model:
Define the Poisson point process:
Compute probabilities of a tornado within a given radius of a location:
Simulate a possible tornado spread over the state of Oklahoma:
Properties & Relations (4)
The empty space function behaves like a CDF:
The empty space function for a PoissonPointProcess is equivalent to SurvivalFunction at 0 of PointCountDistribution on a disk of radius :
Define the point count distribution for the process on a ball of radius :
Compare its survival function at 0 with the empty space function for fixed dimensions:
The empty space and the nearest neighbor functions of a PoissonPointProcess are identical:
In 1D they are both equivalent to the CDF of an ExponentialDistribution:
EmptySpaceF is often compared with NearestNeighborG, which estimates the probability of finding another point within distance r from a point in the point collection:
Visualize the result with ListPlot:
Compare the estimates between EmptySpaceF and NearestNeighborG for point data generated by HardcorePointProcess:
Text
Wolfram Research (2020), EmptySpaceF, Wolfram Language function, https://reference.wolfram.com/language/ref/EmptySpaceF.html.
CMS
Wolfram Language. 2020. "EmptySpaceF." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EmptySpaceF.html.
APA
Wolfram Language. (2020). EmptySpaceF. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EmptySpaceF.html