Sample Data: Gorilla Nesting Sites

Source Notebook

Locations of gorilla nesting sites annotated with group (major/minor), season (dry/rainy), and date marks

Details

Locations of gorilla nesting sites in a polygonal observation region bounded by the Rectangle[{580458., 674173.}, {585934., 678739.}] meters, annotated with group (major/minor), season (dry/rainy), and date marks.

Examples

Basic Examples (1) 

In[1]:=
ResourceData[\!\(\*
TagBox["\"\<Sample Data: Gorilla Nesting Sites\>\"",
#& ,
BoxID -> "ResourceTag-Sample Data: Gorilla Nesting Sites-Input",
AutoDelete->True]\), "Data"]
Out[1]=

Summary of the spatial point data:

In[2]:=
ResourceData[\!\(\*
TagBox["\"\<Sample Data: Gorilla Nesting Sites\>\"",
#& ,
BoxID -> "ResourceTag-Sample Data: Gorilla Nesting Sites-Input",
AutoDelete->True]\), "Data"]["Summary"]
Out[2]=

Visualizations (2) 

Plot the spatial point data:

In[3]:=
ListPlot[ResourceData[\!\(\*
TagBox["\"\<Sample Data: Gorilla Nesting Sites\>\"",
#& ,
BoxID -> "ResourceTag-Sample Data: Gorilla Nesting Sites-Input",
AutoDelete->True]\), "Data"], AspectRatio -> 1]
Out[3]=

Visualize smooth point density:

In[4]:=
density = SmoothPointDensity[ResourceData[\!\(\*
TagBox["\"\<Sample Data: Gorilla Nesting Sites\>\"",
#& ,
BoxID -> "ResourceTag-Sample Data: Gorilla Nesting Sites-Input",
AutoDelete->True]\), "Data"]]
Out[4]=
In[5]:=
Show[ContourPlot[density[{x, y}], {x, y} \[Element] ResourceData[\!\(\*
TagBox["\"\<Sample Data: Gorilla Nesting Sites\>\"",
#& ,
BoxID -> "ResourceTag-Sample Data: Gorilla Nesting Sites-Input",
AutoDelete->True]\), "Data"]["ObservationRegion"], ColorFunction -> "Rainbow"], ListPlot[ResourceData[\!\(\*
TagBox["\"\<Sample Data: Gorilla Nesting Sites\>\"",
#& ,
BoxID -> "ResourceTag-Sample Data: Gorilla Nesting Sites-Input",
AutoDelete->True]\), "Data"], PlotStyle -> Black]]
Out[5]=

Analysis (3) 

Compute probability of finding a point within given radius of an existing point - NearestNeighborG is the CDF of the nearest neighbor distribution:

In[6]:=
nnG = NearestNeighborG[ResourceData[\!\(\*
TagBox["\"\<Sample Data: Gorilla Nesting Sites\>\"",
#& ,
BoxID -> "ResourceTag-Sample Data: Gorilla Nesting Sites-Input",
AutoDelete->True]\), "Data"]]
Out[6]=
In[7]:=
maxR = nnG["MaxRadius"]
Out[7]=
In[8]:=
DiscretePlot[nnG[r], {r, maxR/100, maxR, maxR/100}, AxesLabel -> {"radius", "probability"}]
Out[8]=

Mean distance between a typical point and its nearest neighbor (for positive support distribution can be approximated via a Riemann sum of 1-CDF):

In[9]:=
step = maxR/100;
partition = Table[{k, k + step}, {k, 0, maxR, step}];
values = nnG[Mean /@ partition];
In[10]:=
Total[(1 - values)*step]
Out[10]=

Test for complete spatial randomness:

In[11]:=
SpatialRandomnessTest[ResourceData[\!\(\*
TagBox["\"\<Sample Data: Gorilla Nesting Sites\>\"",
#& ,
BoxID -> "ResourceTag-Sample Data: Gorilla Nesting Sites-Input",
AutoDelete->True]\), "Data"], {"PValue", "TestConclusion"}]
Out[11]=

Gosia Konwerska, "Sample Data: Gorilla Nesting Sites" from the Wolfram Data Repository (2021)  

Data Resource History

Source Metadata

Data Downloads

Publisher Information