Algorithm for analyzing randomness in point patterns
Various tests can be used to assess whether the spatial distribution pattern of a set of points is random, dispersed, or clustered. These tests typically compare the expected and observed distances among points, assuming no barriers. However, what is deemed ``random'' in point spatial patterns may be influenced by socio-environmental factors such as wetlands or transportation networks. This tool introduces a sequence of spatial analysis procedure and a statistical testing to evaluate the correlation between observed point patterns and potential spatial determinants (polygons). If a determinant influences the observed point pattern, the classification of the distribution as random must be reconsidered. We implemented this algorithm in Python as a QGIS script with two main steps: the first handles overlay operations and preliminary calculations for the chi-square goodness-of-fit test with and without Bonferroni correction in the second step.•A detailed step-by-step procedure for analyzing randomness in point patterns in a processing toolbox Python script for integration into the open-source software QGIS.•Automated scripts for structuring data, calculating expected and observed values, and applying the chi-square goodness-of-fit test for statistical analysis.•Advanced spatial analysis using chi-square goodness of fit coupled with and without Bonferroni correction, providing deeper insight into the study of the effect of spatial phenomena on the distribution of point events.
Authors
- Fábio Marcelo Breunig (ORCID: https://orcid.org/0000-0002-0405-9603)
- Tony Vinícius Moreira Sampaio (ORCID: https://orcid.org/0000-0002-3339-9025)
- Cláudia M. Viana (ORCID: https://orcid.org/0000-0001-6858-4522)
- Edenilson Roberto do Nascimento (ORCID: https://orcid.org/0000-0002-5204-9709)
- Jorge Rocha (ORCID: https://orcid.org/0000-0002-7228-6330)
- Elaine de Cacia de Lima Frick (ORCID: https://orcid.org/0000-0003-0039-0857)
- Silvana Camboin
Institutions
- Universidade Tecnológica Federal do Paraná (BR)
- University of Lisbon (PT)
- Open Geospatial Consortium (US)
- Terra Scenica (PT)
- Universidade Federal do Paraná (BR)
Publication Details
- Journal
- MethodsX
- Published
- 2025-05-09
- DOI
- https://doi.org/10.1016/j.mex.2025.103360
- Citations
- 1
- Primary Topic
- Soil Geostatistics and Mapping
- Type
- article
- Field-Weighted Citation Impact
- 0.80
Funders
- Conselho Nacional de Desenvolvimento Científico e Tecnológico
- Fundação para a Ciência e a Tecnologia