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
1
vote
1answer
49 views

Creating formatted chart for Confusion Matrix using Google Earth Engine

I was curious how to create a formatted Confusion Matrix: (https://developers.google.com/earth-engine/apidocs/ee-confusionmatrix) I've completed my Supervised Classification, and I've created a ...
2
votes
1answer
45 views

Getting percentage of string values for point layer within polygons of another one

I have two layers. One with polygons of areas of a city. Another one - with points corresponding to buildings. In point layer there is a field with the names of management companies of that buildings. ...
0
votes
0answers
27 views

What tools/methods are there for spatial autocorrelation with raster data in ArcMap?

I'm using high resolution LiDAR data to find patterns in canebrakes. My hypothesis is that cover (represented by point density per cell) will be more homogeneous between height strata in canebrakes ...
0
votes
0answers
22 views

Getting raster statistics without clipping in ArcGIS Pro

I am using the ESRI 2020 landcover dataset in ArcGIS Pro. I also have a shapefile layer with the countries of the world. What I am trying to do is to report the landcover per country, but without ...
0
votes
0answers
16 views

Can the Getis-Ord Statistic really be considered a measure of spatial autocorrelation?

The Getis-Ord statisic $G_i(*)= \Sigma_j w_{ij} x_j / \Sigma_j x_j$ basically calculates a geographically weighted average at some point. Is it fair to say that it is rather a measure of spatial ...
0
votes
0answers
12 views

Stein's parameterization matern model kriging SAGA in QGIS

I performed autovariogram in R. It gave me the output seen below. It suggest using a matern model-Steins parameterization (indicated by the "Ste"). I would like to try the kriging tools by ...
0
votes
1answer
25 views

Counting points in polygon using separate attribute values in ArcGIS Pro

I am trying to determine the different land surface types within a set of polygons. To do this I converted my land surface type raster layer to points. So now I have a polygon layer (hexbins across my ...
0
votes
0answers
37 views

Null standard errors in multiscale geographically weighted regression

I'm currently conducting an multiscale georgraphically weighted regression using the official python based package by Oshan et al.*. However, i ran into a slight problem. Whenever an explantory ...
0
votes
0answers
26 views

Want to calculate percent cover of land use categories within buffer areas?

I have point data and a land use map. I created 100m buffers around each point, I now want to calculate the percentage of cover represented by each land use category detected within the buffers. Would ...
3
votes
1answer
100 views

How to assign a neighbour status to unlinked polygons

This question is, in part, a follow up to: https://stackoverflow.com/questions/57269254/how-to-impute-missing-neighbours-of-a-spatial-weight-matrix-queen-contiguity I have a .shp similar in structure ...
0
votes
1answer
15 views

Calculating percentage of points per raster band (elevation, slope, aspect...) in QGIS

I have a series of rasters expressing environmental variables, for example, elevation. I have used the tool 'add raster values to points' to classify the sites according to the bands (10) I have ...
2
votes
1answer
45 views

Rendering three-composition raster map with ternary colormap using R

Say there are three raster maps, representing percentages of sand, silt and clay respectively. The three values for each cell are hence summed up to 1. I want to use one raster map to characterize the ...
1
vote
1answer
35 views

Fitting a variogram for Kriging in R

I want to fit a variogram of my data for kriging. Here is what I have so far: library(sp) library(rgdal) require(gstat) setwd("C:/Users/49151/Desktop") #import data data <- read.csv(&...
0
votes
1answer
57 views

IDW plot miscalculation

I want to perform IDW in R and plot it with ggplot. Here is my code so far: library(tidyverse) kerpensample_df <- read.csv("C:\\Users\\49151\\Desktop\\kerpentest0909x.csv", ...
0
votes
0answers
16 views

Local Moran’s I vs Getis-Ord Gi* for Cluster/Hotspot Analysis

I was wondering if someone could perhaps help explain the difference between these two methods and when it might be more appropriate to use one vs the other for cluster/hotspot analysis? I understand ...
0
votes
0answers
19 views

GRASS QGIS v.vect.stats returns NULL for all polygons

I'm running v.vect.stats from Grass using the processing toolbox in QGIS to take an average of a point layer attribute for points falling within a set of polygons. After running the algorithm a ...
3
votes
1answer
31 views

Field name for stats to be calculated not appearing using v.vect.stats

I'm trying to calculate the average value for an attribute of a set of points that fall within a set of polygons using v.vect.stats from GRASS. I've checked the attribute table of the point layer ...
0
votes
0answers
123 views

R pivot_wider: Error in Ops.sfc(xi, xj) : operation > not supported

I've rerun some data and am now getting this cryptic error message when trying to transfer my sf object from long to wide table format. Error in Ops.sfc(xi, xj) : operation > not supported Does ...
0
votes
0answers
26 views

How to calculate the minimum value from set of group of points

I have a set of groups of points with similar X and Y values. I want to extract the point which holds the minimum elevation value. Like in this below pic, I want FID 226 which holds the minimum value ...
0
votes
0answers
23 views

Modeling Correct Spatial Relationship using Hot Spot Analysis in ArcMap

I used the Hot Spot analysis tool in ArcGIS Online to identify the cities and townships where significant clustering of population growth ("hotspots") and population decline ("cold ...
3
votes
1answer
84 views

Determining who and why certain data was mapped in OpenStreetMap

I am writing a masters thesis about estimating solar potential based on open source resources. Part of my methodology is to use a sample of buildings to estimate solar potential for the whole city. ...
0
votes
1answer
31 views

Interpreting semivariogram from ArcGIS Pro

Am having an output for semivariogram from ArcGIS Pro as per below. However, the distance looks small. Is there a way to adjust the distance? Not only that, how best can I interpret the x and y values ...
0
votes
0answers
23 views

Calculating focal sum with R returns error saying wfFocalSum is not found

I am attemtping to calculate a focal sum in r using a binary raster, ones and zeros, but r is returning the following errors: Error in .local(x, row, nrows, ...) : validRow(x, row) is not TRUE Error ...
0
votes
1answer
38 views

Comparative analysis between two landcover classifications from different models in R

I have two landcover classifications computed via random forest and maximum likelihood classification models in R. I am trying to compare the two in R. One way I thought was to do simply compute the ...
1
vote
0answers
21 views

Viewing PCA variable loadings using ArcMap

I am trying to use the PCA function in ArcMap 10.7 (or similar builds). I am accustomed to receiving variable loading scores for each PC in non-GIS statistics. These are the fundamental data that help ...
0
votes
0answers
177 views

Co-kriging in R

I am trying to do co-kriging for my rainfall with arsenic data. Arsenic is a target variable. I have used the code below to generate an interpolation grid, but I was not able to generate the co-kriged ...
1
vote
1answer
22 views

Method for testing difference in raster attributes between polygons

Say I have a raster with attribute values over some spatial area. Also, say I have circular polygons of varying sizes contained within the raster's area. What would be the proper method to test if the ...
1
vote
1answer
36 views

Comparing the strength of spatial autocorrelation of two datasets on the same studied area

I want to compare the strength of the spatial autocorrelation of two sets of values that are located on the same area. The data are individual growth rates. I want to compare the strength of the ...
1
vote
0answers
29 views

QGIS, zonal statistics value is missing for a polygons

I am using India district shapefile 2011 to extract rain data. The rain data comes in point layer which I have converted to raster using "IDW interpolation" to get continuous rain data. To ...
0
votes
0answers
59 views

NA in the summary of a spline correlogram in the package ncf and doubts about distance units

I am a PhD student currently working on some spatial analysis. I work with a free range population of starlings that breed in nest boxes. Our aim is to know if reproductive success (i.e. number of ...
0
votes
0answers
26 views

Seeking R Equivalent to ArcMap Highest Position

I can easily do this process in ArcMap but am hoping I can replicate it more easily in R. I have a RasterStack with values of temperature for every year over the last 100. I know I can easily create a ...
1
vote
1answer
64 views

How to extract raster class values from a multi polygon shapefile in QGIS

I'm trying to perform a laborious task to get the class values of a raste overlaid on a multi-part shapefile. I have a raster with values rated from 0 to 8 for a Main Basin. I also have a shapefile ...
1
vote
0answers
21 views

Statistical comparison between two maps with aggregated average observations and average estimates from a model on a 1 x 1 km² grid

I've been searching for methods for the past two days, but I couldn't find something usefull, so I hope someone could help me out: I've got two datasets in python containing PM2.5 values: Dataset ...
2
votes
1answer
98 views

Calculating spatial correlation between two datasets using ArcMap and Spatial Analyst

I am using ArcMap and the Spatial Analyst extension. I am trying to find a correlation between my raster datasets. For example, for Net Primary Production (NPP) model I used too many input datasets ...
2
votes
1answer
48 views

Differences in first-order Polygon Contiguity in ArcGIS - Contiguity Edges Corners (CEC) vs. Contiguity Edges Only (CEO) [closed]

I am working on spatial autocorrelation, and using the spatial modeling relationship methods available in ArcMap. In ArcMap, there are the following methods for polygon contiguity: Contiguity Edges ...
0
votes
0answers
29 views

How can I define a threshold or outlier for the elevation difference between two different time period taken in rock, that should be zero?

I am doing the geodetic mass balance of a glacier and I have the elevation difference that was produced in the glacier, but now I have to correct this data but making the mean of the elevation ...
1
vote
1answer
54 views

Extract the mean elevation from a raster by a mask with several spatial objects

I am working with a glacier and I want to get the Hypsometric curve of the elevation difference between two time periods. I divided the mask of the glacier by the contour lines (each 50 m) and now I ...
1
vote
0answers
31 views

How to check whether a correlation is actually temporal or spatial?

I have two variables probability (of a fire) and temperature between 2001 and 2018 over multiple grid cells. When I look at the correlation through a simple Spearman it seems good (p = 0.01, r = 0.8). ...
1
vote
0answers
32 views

Setting up Generalized Linear Regression in ArcGIS Pro

I am analyzing a series of old canals and I am trying to make the case that these are tied to certain physical characteristics (soil, slope, etc) in the watershed. To check wether or not my hypothesis ...
2
votes
0answers
29 views

Find Optimal Subset of Feature Layer Based on Spatial Criteria & Attributes

I'm using a Census tract shapefile with their corresponding attributes of interest within ArcMap 10.7.1. My project goal is to identify the subset of tracts that share a line segment while: ...
0
votes
0answers
15 views

Does it make sense to compute overlap between standard distance circles?

I have two layers: Points showing locations of field camps across a region Points showing locations of study sites across the region I have these for multiple years and want to map how the spatial ...
3
votes
1answer
111 views

Getting an error when trying to set extent for raster() in R

I'm working through Robert's answer to this question on how to plot irregular raster data: How to make RASTER from irregular point data without interpolation no2tc <- ncvar_get(nc, "...
0
votes
0answers
125 views

Problems with adjacency matrix with poly2nb in R

I am working with a shapefile of Ohio precincts, with the hope of performing areal regression models (probably BYM2). To build the adjacency matrix, I used poly2nb from the spdep package. As a double-...
0
votes
1answer
99 views

Testing spatial autocorrelation for presence-absence records? [duplicate]

I want to test the spatial autocorrelation for presence-absence data records, I know that the Moran's I test cannot be used here since I have categorical data. I was thinking about the join-count ...
0
votes
2answers
111 views

How to calculate the average polygon shape in R (adehabitatHR)?

I have a code that generates polygons from a MCMC model. For each iteration in the model, I get a polygon of the 95% credible interval for the area. The idea here is that if I generate 10 polygons, I'...
0
votes
0answers
19 views

Understanding star parameter for esda.G_local

I'm completing some hot-spot analysis currently and am wondering how to treat the star parameter in esda's G_Local function. The star parameter as described in esda documentation determines whether ...
1
vote
0answers
38 views

Moran's I Statistic for skewed data

I'm trying to determine whether there is spatial autocorrelation in a set of data. I am using Moran's I statistic to test for spatial autocorrelation. The data was point data (instances of an event at ...
1
vote
0answers
24 views

How to create your own CRS using sf package in R

I am trying to map basketball shots using the sf package in R to create interactive maps for players and coaches. I have managed to create a basketball court as a spatial object using Todd Schneider's ...
1
vote
0answers
30 views

How to quantify the similarity of spatial patterns?

I am not a GISer, but I do believe a GIS (more specifically, spatial statistics) algorithm could help with the task I am carrying on. If posting a question that has already been posted (by me) on ...
0
votes
0answers
10 views

Filling missing LST values

I wrote a code to retrieve LST values from a certain point. I am getting results but have NULL value as well, maybe due to cloudiness and ... I want to fill those gaps. Does someone have a running ...

1
2 3 4 5
13