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
votes
0answers
25 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
18 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
39 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
18 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
30 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
28 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
27 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
43 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
20 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
60 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
30 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
27 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
32 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
28 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
25 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
80 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
58 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
65 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
57 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
17 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
27 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
19 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
23 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
9 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 ...
0
votes
0answers
48 views

On the calculus of the variable “autocov” from spdep package

I’m facing a spatial autocorrelation problem and I want to calculate the «  autocov» covariate through the function autocov_dist from spdep package. The problem is when I defined the neighborhood ...
0
votes
1answer
98 views

Geostatistics in SAGA: Strange variogram output

I'm verry new to geostatistic. I'm using variogram to visualize a data (available in .shp here). Then I got the data like this or from this link (updated zip files contains shp, shx, prj, mshp, dbf, ...
6
votes
3answers
328 views

Calculating buffer distance for different groups of parallel lines in QGIS

I have a number of parallel lines (see here for the background: How to extend lines to Bounding Box in QGIS?). My final aim is to create the Centerline for each group of lines as illustrated here: ...
1
vote
0answers
48 views

Mantel correlogram outside of the range [-1,1] [closed]

I want to represent the correlogram from the package ncf of the working residual my_glm$residual of logistic regression my_glm from glm function. When I represented it, I got a strange output that the ...
4
votes
2answers
389 views

Distance between GPS travel route and country border

I have no idea how to, or even is possible in some way, but maybe there is an app, software or someone of you have any idea how to! Please note, that I have no skills in coding or programming. I will ...
1
vote
0answers
32 views

Spatial analysis of points with different levels of precision (decimal points)

I've got a dataset of points with various level of precision - some have two decimal points, other three, other four. Like this: lat lon 23.11 120.161 45.6667 -131.12 13.441 108.567 I ...
6
votes
3answers
172 views

Do I necessarily need coordinates for spatial prediction?

Commonly, it is stated that spatial prediction is the same as spatial interpolation, i.e. the estimation of values based on the observations' location: y ~ lon + lat Others state, that spatial ...
1
vote
1answer
60 views

Calculating frequency of polygon types overlapping coordinate point

I have shapefiles of sea ice coverage for multiple days of the year. At each time-point (day) the sea ice is split into different polygons which corresponds to different ice types (i.e. fast ice, ...
1
vote
0answers
32 views

Random sample of points to calculate K function on a large point set

For a point pattern analysis in R, I want to study a relatively large point dataset (about 1 million points) with a cross K function to compare different categories of points. Including a Montecarlo ...
0
votes
0answers
11 views

R {spdep} Multiple y observations per region (pooled cross-sectional data) - How to construct weights matrix?

I'm in a situation where I have a shapefile of N districts (provinces and sub province level) across the globe. I also have a dataset of S survey responses where each individual is tied to a district. ...
2
votes
1answer
141 views

Interpreting results of GWR - what do the values mean?

I used R to run a Geographically Weighted Regression (GWR) model. The resulting model comes with a bunch of values that are given in a table. These are: sum.w X.Intercept, X.Intercept_se (standard ...
-1
votes
1answer
34 views

Measuring average distance between two different attributes using QGIS

I am trying to show the statistical significance of two QuickOSM attributes - school location and fast food restaurants. I am then trying to relate that to overall obesity levels for boroughs in ...
-1
votes
1answer
89 views

How maxent's algorithm uses data to predicte distribution of species

Using the same list of occurrences with present and future bioclimatic variables (worldclim) I get two obviously different distributions. In the case of the future projection, I assume that the ...
0
votes
0answers
39 views

How to study the association between categorical rasterised environmental variables in R?

I have a set of environmental variables in raster format where I want to study the dependencies between them. To do so I was thinking of using association tests such as chi-squared test. I want to ...
0
votes
0answers
183 views

SPML (spatial panel models): Unbalanced panels

I am making spatial panel models from the splm library but I cannot make a fixed or random effects model because it comes out that it is an unbalanced panel. Data data and shp files Reproducible ...
0
votes
1answer
66 views

How to supply a weight matrix to focal_hpc in R

I'm using the function focal_hpc from spatial.tools in R to compute for each cell of a raster the average value (mean function) around windows of a specific size (3 cells x 3 cells). I used to perform ...
2
votes
2answers
474 views

Dividing Polygon into parts which have equal area using R

I have a Multipolygon and want to split it into parts with an equal area. How can I do it using R? my data: pol <-readOGR("/Users/Desktop/test.shp") pol_wkt <- wicket::sp_convert(pol) ...
2
votes
1answer
246 views

Comparison with different resolution rasters

The purpose is to compare the fractional snow cover of the coarser pixel to the binary snow cover (0 for no-snow and 1 for snow) of lower resolution pixels. Both the datasets are of the same area and ...
2
votes
1answer
57 views

Checking distribution of raster layer using ArcGIS Desktop

I am using ArcGIS Desktop. How do I see if my layer has a normal distribution in order to standardize it? I have calculated statistics, but have not been able to see how my data is distributed.
0
votes
0answers
21 views

If there is no spatial autocorrelation, should the spatial cluster detection be performed?

I have a regional count data of disease incidence. First, I calculated empirical Bayes estimate of standardized morbidity rate. Then I performed global Moran's I to check for spatial autocorrelation ...
0
votes
1answer
38 views

How could I classify every county in this US as flat, hilly, or moderate? [duplicate]

I'm looking for a VERY rough label for every county, so low-res data is fine here. Is there data on existing elevation change per county? Or should I get an elevation layer of the US and do a zonal ...
0
votes
0answers
92 views

How do I make a variogram of my model residuals in R?

I have a csv file containing LST values for several study sites, canopy cover for each study site, and impervious cover for each study site, and the geographic x/y coordinates for each study site. I ...
1
vote
0answers
46 views

Testing for spatial autocorrelation in residuals of OLS regression

I'm currently working on a dataset that is most likely to have spatial autocorrelation issues. In particular, I have observations at the region level and I'm trying to run a regression to check ...

1
2 3 4 5
13