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
0answers
19 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
28 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
41 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
17 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
16 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
8 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
26 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
75 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, ...
5
votes
3answers
201 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
47 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
354 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
31 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
164 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
46 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
29 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
63 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
33 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
78 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
38 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
101 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
43 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
232 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
151 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
50 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
51 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
37 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 ...
0
votes
0answers
15 views

Use of internal weights for Weighted Overlay suitability modeling

I have derived 'external criterian weights/overall factor weights' applying Pairwise Comparison table. Similarly, pairwise comparison table was used to calculate 'internal weights' separately for each ...
1
vote
3answers
58 views

Using Python if/then codeblock to determine line segment lengths in ArcMap Field Calculator

Can anyone help me create a codeblock using an if/then statement through the Python parser in Field Calculator, to calculate the length of a line segment when the value of a different field is a ...
1
vote
0answers
23 views

Test for spatial uniformity of areal variable

Suppose we have data for uniform polygons with weight variable n and value variable x representing an average of observations within each polygon that looks like this: n x ...
0
votes
0answers
30 views

Average Kernel Density as Dependent Variable in Regression

I have point pattern dataset and I estimated a kernel surface from it. I want to use a census tracts average kernel density as a dependent variable in regression analysis. Is OLS appropriate or should ...
0
votes
1answer
126 views

Alternatives for the Emerging Hot Spot Analysis/Mann-Kendall statistic (less than 10 time steps)

I came across ESRI's Emerging Hot Spot Analysis (Space Time Pattern Mining toolbox) and really like what it does. Unfortunately for me, it relies on the Mann-Kendall statistic which apparently needs a ...
0
votes
0answers
25 views

What is Percentage of Spatial Connectivity - Spatial Weight Matrix

Generate Spatial Weight Matrix tool in ArcMap and ArcGIS Pro has an output item as "Percentage of Spatial Connectivity". I am wondering how this is calculated and what it represents. This is ...
0
votes
0answers
12 views

Statistical measure to express confidence of colocalization hotspots

I am new to analyzing spatial data and I am having trouble refining the following problem formulation: I have 4 species, captured in 4 separate channels (plotted below). I would like to identify spots ...
0
votes
0answers
19 views

How to calculate hot and cold spots using ArcGIS

I have to calculate the GiZScores to Dengue incidences in District wise.This should be done using ArcGIS software by using Getis Ord GIS tool. But the problem is that I have to use climatic factors (...
0
votes
0answers
53 views

Why does function raster.Zscore in package spatialEco not work in R after installing?

I want to calculate the z-scores for a rasterstack. I downloaded the package spatialEco from https://cran.r-project.org/web/packages/spatialEco/index.html Now it is not possible to write and run the ...
0
votes
0answers
24 views

Is there an R function for creating neighbors list from polygons based on both proximity and adjacency (contiguity)?

I am trying to perform hotspot analysis on non-contiguous US shapefile (48 states plus Alaska and Hawaii) using Getid Ord G stat (at the county level). In order to use getid Ord G, I need to create 1. ...
0
votes
0answers
87 views

Is there an R function for creating spatial weight matrix for “spatial difference in differences” method?

I am trying to apply "spatial difference in differences" method in R for a US county's block groups (n block groups) over 2 different times (2000 and 2015). In order to do this spatial ...
0
votes
0answers
29 views

Accounting of strength of spatial autocorrelation between some grocery stores in distance 500 meters

I'm analyzing sales one supermarket chain and I want to know how other neighborhood stores influence on turnover store. I have data about other stores and their location. As a result, I need to get ...
0
votes
0answers
24 views

Comparing results of cross K-L functions for point patterns

Given marked point patterns with types a, b, and c, spatstat in R allows to easily calculate cross K(a,b) and L(a,b) functions. Envelopes can be used to estimate the significance at a given alpha (0....
0
votes
0answers
12 views

Controlling for 1st order effect when testing for spatial association between points of two different patterns

Background I have a follow-up question relative to a question I asked long time ago link to earlier question. I am asking a new question since this is something new, even though it builds on the ...
0
votes
1answer
101 views

R: calculating overlap between two standard deviational ellipses

Aim Calculating the area of overlap of two standard deviational ellipses in R and work out their intersection and union. Tool to be used calc_sde() from the 'aspace' package: calc_sde() Question ...
0
votes
1answer
492 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
277 views

Convert raster to polygons, crop, reproject

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
24 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
59 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 ...

1
2 3 4 5
12