Compute probability of finding a point within given radius of an existing point - NearestNeighborG is the CDF of the nearest neighbor distribution:
In[6]:=
Out[6]=
In[7]:=
Out[7]=
In[8]:=
Out[8]=
NearestNeighborG as the CDF of nearest neighbor distribution can be used to compute the mean distance between a typical point and its nearest neighbor - the mean of a positive support distribution can be approximated via a Riemann sum of 1- CDF. To use Riemann approximation create the partition of the support interval from 0 to maxR into 100 parts and compute the value of the NearestNeighborG at the middle of each subinterval:
In[9]:=
Now compute the Riemann sum to find the mean distance between a typical point and its nearest neighbor:
In[10]:=
Out[10]=
Account for scale and units:
In[11]:=
Out[11]=
Test for complete spatial randomness:
In[12]:=
Out[12]=
Fit a Poisson point process to data:
In[13]:=
Out[14]=
Bibliographic Citation
Gosia Konwerska,
"Sample Data: Waterstriders 2"
from the Wolfram Data Repository
(2022)
Data Resource History
Date Created:
Source Metadata
Citation:
Penttinen, A. (1984) Modelling interaction in spatial point patterns: parameter estimation by the maximum likelihood method. Jyvaskyla Studies in Computer Science, Economics and Statistics 7, University of Jyvaskyla, Finland.
Publisher Information
Prepared for the Wolfram Data Repository By:
Gosia Konwerska (Wolfram Research, Inc.)