Questions tagged [spatial-statistics]

The field of study concerning statistical methods that use space and spatial relationships (such as distance, area, volume, length, height, orientation, centrality and/or other spatial characteristics of data) directly in their mathematical computations.

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

Computing annual spatial (zonal) statistics of a NetCDF file for polygons in shape-file [closed]

I have a NetCDF-file containing annual GDP data for Africa. I also have a shape-file containing provinces in Africa as polygons. I now want to compute statistics (ie. mean, sum, ...) per polygon ...
1
vote
1answer
36 views

Transform raster/point data into polygons and crop

I wish to map a high-resolution grid of population counts of Korea and extract from it the Seoul Capital Area (SCA) at the same level of resolution. The population data comes in two forms: raster (...
0
votes
0answers
19 views

Performing IDW interpolation with an output weighted by a different variable

I'm relatively new to spatial analysis. I'm trying to create an IDW map for SPI. However, I'm "correcting" the SPI so it gives a different value based on elevation. For example: Point A on the map ...
0
votes
1answer
34 views

QGIS 3: equivalent tool/plugin of ArcMap's Spatial Join within a Distance

I would like to do a join by location between two point layers in QGIS 3 (3.4.10, Coruña). I would like to get the mean (or median) value of an attribute all the points of point layer 2 within a 5 ...
0
votes
0answers
16 views

Spatially constrained multivariate clustering

What's the current methodology for clustering geospatial data by features? Not in ArcGIS - rolling my own in a different framework. Example: I have some demographic dataset. Let's say this contains ...
2
votes
1answer
23 views

Statistical method to quantify the accuracy of point clusters

I have coordinates of about 13 points from different pictures in UTM. Per point I can have 2, 3, 4 or 5 coordinates of these points from 2, 3, 4 or 5 pictures. I would like to quantify the quality of ...
2
votes
0answers
22 views

Measure of “Matchingness”/Correlation between polylines [closed]

I am working with two layers of polylines that represent different modeled/representative approaches to summarizing aircraft radar tracks. I am curious if, beyond just visually inspecting them, if ...
0
votes
0answers
31 views

ArcMap - error 000728 field does not exist within table

I'm trying to join the table from Excel (my calculation about one region in Poland) to my shapefile (which contains whole Poland map and different calculations, so I need to attach a new table to be ...
-1
votes
0answers
25 views

Is it possible in R to convert spatial points to spatial polygons [duplicate]

A question: is it possible in R to convert spatial points to spatial polygons? Why I am asking: Need to create Queen contiguity neighbors for each NUTs3(Nomenclature of Territorial Units for ...
0
votes
1answer
18 views

Writing a for loop in r to process multiple rasters with quantiles values

I am trying to get R to read a folder containing raster files, and then in a foor loop, extract quantile values from each of the raster to enventually process each raster with a substraction involving ...
-2
votes
0answers
69 views

Converting spatial points to spatial polygons using R

Is it possible in R to convert spatial points to spatial polygons? Why I am asking: Need to create Queen contiguity neighbors for each NUTs3(Nomenclature of Territorial Units for Statistics) region ...
0
votes
1answer
19 views

Missing data in SpatialPolygonDataFrames R: error in Moran.plot

I'm trying to use Moran.plot on a SpatialPolygonDataFrame (the world map from the rworldmap package) consisting of 234 elements in R. My database contains 81 countries, so there are 162 codes in the ...
0
votes
0answers
20 views

How to evaluate the statistic significance in the Neighbour Nearest Test?

I'm reviewing a scientific article to be publish. I tried to evidence that pathogens collected from different geographic areas clustered. I used Nearest Neighbour test to prove it. However, I've ...
1
vote
0answers
20 views

What is the difference between spatial heterogeneity and spatial nonstationarity?

Until recently I though both terms refer to the same concept. Most scientific literature seems to use these terms also interchangibly. However, here the authors say: Spatial heterogeneity refers ...
0
votes
0answers
23 views

Use of Getis Ord and Moran's I

I have dataset with around thousand geocoded datapoints, each having specific pollutant and its value assigned to it (so it is all in one dataset, some of the datapoints(stations collecting data) are ...
3
votes
2answers
91 views

How to obtain elevation differences between point and raster cell in R

I have an empty raster and point shapefile (points = black dots in the image). For the analysis I use a Digital Elevation Model (DEM) with the same extent and cell size as the empty raster. I would ...
0
votes
1answer
30 views

How to interpret spatial random permutations against the observed value of the statistic (PySAL)

I have a map for which I calculate the value of the Global Moran's I. With the use of PySAL, there is also an option to do a computational inference. The result of such analysis is shown below. From ...
0
votes
0answers
11 views

How do I summarize and analyze the attribute data for samples in a vector layer?

First of I am not well versed in GIS.I have a vector layer with biological data in the rows for microbial species. Every row has the species name of the microbe and then genomic data, GPS coordinates,...
3
votes
1answer
70 views

Statistic for measuring (local) autocorrelation of ordinal data

I have a spatial data set with a bunch of variables in nine-level ordinal scale. I want to calculate (local) spatial autocorrelation for each of these ordinal scale variables. I've been using ...
0
votes
1answer
31 views

Implementation of multiple-point statistics in GIS

Is there any implementation of multiple-point statistical algorithms in GIS? at least for spatial interpolation. code for instance.
0
votes
1answer
184 views

Average radius of city size?

Do any geographers on here have an estimate of the mean and median city radius sizes? I'm trying to optimize some Google Places API queries [e.g.] and this information would be helpful for that ...
2
votes
0answers
39 views

What is missing in my spatial lag equation model?

I worked it in GeoDa but I think something is missing. What is the right equation for a spatial lag model? In my understanding to predict a variable Y is as follows: Y = w_t_homi100 + CONSTANT + ...
5
votes
1answer
138 views

Calculating field AVG from B layer 3 nearest points to each A layer point

I wonder how to calculate statistics (in my case average) of one point layer field (let say B layer) and assign them to each point of A layer. Statistics should be calculated from 3 nearest B layer ...
1
vote
0answers
10 views

Local or global Moran's I minimum neighbor connectivity rules of thumb and justification

I am trying to run a univariate local Moran's I (in GeoDa) and I'm questioning my spatial weights, trying to do different neighbor counts / distances in increments and evaluate my results. I was told ...
2
votes
0answers
38 views

How to quantify polygon as potential exposure to points [closed]

I have a set of points and a series of ellipses (polygons) that I can overlay on the points. Let's say that the ellipses represent where an individual spends most of their time—an activity space. And ...
1
vote
1answer
125 views

Perform calculations for each Polygon in a MultiPolygon object (Earth Engine)

I have layer that contains many polygons. I want to run calcuation for each polygon in the layer so for each polygon I have the mean and the std. deviation and from this I can run calculation for each ...
0
votes
0answers
47 views

Comparing spatial distributions using QGIS

How can I compare the spatial distribution of sea surface temperatures measured during winter and summer using QGIS? Is there a statistical method that will allow determining if the spatial ...
1
vote
0answers
19 views

Can poly2nb() or nb2listw() be made time-sensitive?

I was wondering if there is a way to make the poly2nb() or nb2listw() temporally sensitive. For example, let's say we have a spatialobject that tracks a set of polygons for 2019 and 2020. Some of the ...
0
votes
1answer
79 views

Find optimal distance band after running Incremental Global Moran I with PySAL?

My observations are points along a transect, irregularly spaced. I aim at finding the distance values that maximize the clustering of my observation attribute, in order to use it in the following ...
0
votes
0answers
25 views

GRASS r.statistics method=average for non-integer maps

I need use the functionality of r.statistics using the average method. I have one map with cell clumps for a base layer and another containing various non-integer cell values for a cover layer. ...
1
vote
0answers
37 views

Count of majority value for each cell?

I ran 10 classifications (Random Trees) in ArcMap. Each time the output will be somewhat different. I have made a final map based on the majority value of each pixel using cell statistics (majority). ...
5
votes
1answer
76 views

Variogram for clustered data point

I would like to study the spatial dependency in my dataset of a variable (crop yield) spread across a country with 250 sites. A first guess was to use a variogram on the data. However, I am not sure ...
3
votes
0answers
39 views

Statistic for test of significant difference between 3 spatial distributions [closed]

I have three spatial averages of Particulate matter over a certain area as seen below. There clearly seems to be a difference between average PM concentrations for each of these months, but how can ...
1
vote
0answers
41 views

Aggregate Willmott and Matsuura Temperature Climate Data on Country Level

I'm looking for monthly mean temperature data on the country-level since 1900, or at least 1950, with temperature weighted according to population density. The common database for the spatial ...
0
votes
0answers
25 views

Field summary with hooking one side

I have line like Road and points are like housenumbers! I have fields like side and ID_T Highlighted blue apts having same ID_T because hooking one edge and side, if it hook right get R or else get ...
1
vote
1answer
66 views

Checking accuracy of supervised classification method in ArcGIS Pro

I have a question about my image classification method in ArcGIS Pro 2.4. I'm looking at a field of grain sorghum and doing a project that requires me to define certain features within the image for ...
-1
votes
2answers
158 views

R Remove upper and lower percentile from SpatialLines (DataFrame) [closed]

How can I make a selection depending on the statistics of a SpatialLinesDataFrame in R? The goal is to select and subset the lower and upper quartile of a data frame at once.
2
votes
2answers
65 views

Calculating number of points within polygon which are filtered according to a given rule

Description of my problem (somewhat simplified) I have two datasets: One polygon layer "villages" which represents the boundary of villages One point layer "buildings" which represent buildings. ...
0
votes
1answer
45 views

Choosing tool to create raster with probability of occurence on each cell using ArcGIS Desktop?

I have two different datasets: 1) seal occurence (point data) 2) fishing boat tracks (line data) First, I need to create two density maps, i.e. one for each dataset. ...
3
votes
2answers
189 views

Moran's I test on regression residuals with spatial autocorrelation

Suppose we want a regression model $y_i = f(x_i^t) + e_i$, where $y_i$ and $x_i$ are collected spatially, and we believe there would be spatial autocorrelation (SAC). I read some popular methods like ...
0
votes
0answers
21 views

Generating envelope for Gcross function in R?

I am using R to generate envelope for the Gcross function. At first I used Gcross to generate the theoretical value together with true G(r) value with border correction, my codes are: Bind_ppp <- ...
2
votes
1answer
265 views

R (spatstat, sp, sf): Grid a single polygon, divide, alphanumeric labels based on column/row

I am trying to take a polygon and add grid lines over top, then divide the polygon into many polygons based on the grids. I've accomplished this through st_make_grid() and raster::intersect(). The ...
2
votes
1answer
249 views

GeoPandas: Get distance from geom in tableA to a geom in tableB that matches attribute from tableA

UPDATE WITH SOLUTION (at bottom) Using GeoPandas I am trying to identify the distance between an election candidate's home address (Point) and the electoral district they are running in (Polygon). ...
1
vote
0answers
58 views

Multiple Spatial Point Patterns, create “average” heatmap

I am using R's spatstat package to analyze spatial patterns of objects across plant leaves. Let's say I have 10 leaves, each with corresponding X,Y coordinates of the objects and a window in the ...
0
votes
1answer
29 views

Assessing if two variables (measured at point locations) covary in space?

I have a number of (point) locations at which two variables are measured. The two variables proves correlated (when using Spearman's r; the direction of the correlation is irrelevant here). How can ...
2
votes
1answer
125 views

Apply function from rgeos package to data sets

I am using gDistance function from rgeos package to calculate the nearest distance from points to a polygon. Originally I used for loop to calculate the distance for each row in my points data set, ...
1
vote
1answer
46 views

Convert ppp object to multitpe object

I am working on spatial point pattern analysis using R. I have two sets of coordinates, both defined inside a 32*20 region. I first convert two data sets to ppp objects: Tumor_CD8 <- ppp(...
2
votes
0answers
42 views

Showing Statistics for Multiple Attribute using 'Show Statistical Summary' tool in QGIS

I need on the fly statistic as I select point on canvas. What the tool does though is give you the statistic and the given value for the Attribute selected. What if I need the value of multiples ...
0
votes
1answer
68 views

Extracting basic statistics (raster data) from different latitudes using R? [closed]

I want to extract the mean, min and max stats from latitude -50 to 0 and from 0 to 50 etc. No idea how to do this. I would prefer using R for this as I have a lot of these to do.
1
vote
2answers
37 views

Proportion of polygon classes in each multi-ring buffers

I have a landcover map with many irregular polygons, with each polygon a uniform habitat type. I have a second shapefile of points, and a third shapefile with multi-ring buffers around those points. I ...

1
2 3 4 5
12