Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
18 views

Quantifying similarity between two independent areas?

I'm assessing areas for suitability for species relocations, so essentially I'm looking to quantify how similar a possible relocation site is to a source site in several metrics. The species may ...
1
vote
1answer
57 views

Hotspot analysis with geopandas? [closed]

Is it possible to perform a hotspot analysis (like the one you can do in ArcGIS - Getis-Ord Gi*) with Geopandas, or with any other Python library?
3
votes
0answers
43 views

Test the relationship between two point patterns

I have two point patterns obtained from medical images. Points are used to represent cell markers. By visualization, the point pattern A is extremely possible to be a subset of point pattern B. So is ...
0
votes
0answers
17 views

Determining spatial relationships between two non-homogenous spatial variables

I'm working on a problem to understand the relationship between two point-based datasets with different sampling patterns. We surveyed random subset of properties in a neighborhood for the presence ...
0
votes
1answer
46 views

Weighted mean of raster by polygons in R?

I have two rasters, raster_a and raster_b, and a shapefile, world_shapefile. Both rasters are of the world extent and overlay each other. What I want to do is to create a weighted average of raster_a,...
0
votes
0answers
30 views

Generating Pseudo-Absences in spatialEco?

I want to generate pseudo absences based on kernel density estimate from a linear feature spatial line layer, where pseudo absences have a higher probability of being sampled near a line. I have ...
3
votes
0answers
26 views

Raster statistics per latitude cross-section

I want a profile graph with biomass volume across a landscape's latitude. Im using ArcGis Pro 2.3.3. It's hard to explain so I'll provide a rough sketch of the desired result: The sketch shows a ...
0
votes
0answers
17 views

How long should a spatial mixed model with spaMM take?

I have a dataset that's about 5k lines long, with a binomial response variable, five continuous fixed effects, and one random effect with seven levels. I initially ran a model with glmer{lme4}: glmer....
0
votes
1answer
38 views

What does first requirement for LISA statistic mean?

According to Anselin, a LISA statistic have to satisfy two requirements: The LISA for each observation gives an indicator of the extent of significant spatial clustering of similar values around that ...
1
vote
1answer
24 views

What unit is returned by the ncf::correlog function?

I'm using the correlog function from the ncf package to figure out the distance between points at which spatial autocorrelation isn't detected. I was wondering what unit was being returned in the ...
0
votes
0answers
10 views

Comparing two spatial point processes (Cross K Function)

Suppose we have two spatial point process on the same space. One has $n_1$ points, the other $n_2$ points. I have been reading about statistically testing for independence, attraction or repulsion ...
0
votes
0answers
83 views

Transferring values between polygons based on point criteria in QGIS?

My previous question was Inherited values between polygons in QGIS?. However, I was not satisfied with the quality of my results. Therefore, I am looking now for additional methodologies that may ...
0
votes
0answers
10 views

Simulating random field with power law distribution using ArcGIS Desktop?

As far as I know, there are a lot of methods developed for simulating 2D random field with Gaussian distribution, such as geostatistical method, Fourier transform, etc. But a lot of geoscientific ...
1
vote
0answers
30 views

Overcoming spatial bias in ArcMap or ArcGIS Pro?

I have a shapefile showing invasive plant locations but they mostly collected from more accessible places such as near roads or hiking trails. Is there a method to correct this bias in ArcGIS ...
2
votes
1answer
34 views

Counting the number of shared point within polygons [closed]

I have a set of points on a map, each with a unique location id, with one or more points within a number of polygons with unique polygon ids. I am trying to associate each location id with the number ...
1
vote
0answers
24 views

Raster correlation: Error (arg6) in raster.modified.ttest (R)

I am performing pairwise spatial correlation of 6 rasters using the raster.modified.ttest() function in R, as per this very useful post. I have consistently had the following error with my data; ...
0
votes
0answers
19 views

Extract random effects from CARBayes output

We conducted a study at the U.S. census tract level looking at the relationship between environmental factors and social mobility in the ten largest U.S. cities. We used CARBayes::S.CARmultilevel in R ...
2
votes
1answer
47 views

How do I plot spatialpolygon dataframe layer on a leaflet map

I am not sure why this piece of code works library(leaflet) library(raster) adm <- getData('GADM', country='SGP', level=1) popup <- paste0("<strong>Name: </strong>", ...
1
vote
0answers
50 views

BIOMOD2: error message: Error in .local(sp, env, …) : object 'mask.tmp' not found

I am trying to model a plant species (composed by 298 occurrences) with BIOMOD2 using the consensus landcover as explanatory variables. However, R shows me an error message during the formatting of ...
0
votes
1answer
56 views

Calculating Moran's I for buffers of forest cover?

I'm trying to figure out if buffers I have created in ArcMap (measuring percent forest cover in a 1 km distance from a land use map within the buffer) around points at which I will be collecting ...
1
vote
1answer
35 views

Extracting vector/raster data for CSV data points [closed]

I am using QGIS and I have a CSV file of lat and long coordinates which represents presence points of a species in the USA. I also have vector (the state extents/names) as well as raster information (...
1
vote
1answer
33 views

Seeking ArcGIS Pro tool to calculate network distance from point to nearest line?

I am trying to calculate the network distance from a point to the nearest poly line feature as pointed in the image below. Is there any ArcGIS Pro tool that can calculate network distance?
0
votes
0answers
24 views

Understanding Local Moran's I Maps?

I want to better understand the local Moran's I chloropleth maps which show areas (zones) as either in high-high, high-low or low-low clusters. As I assume the "high"/"low" is just relative to the ...
2
votes
0answers
81 views

Rank-based Spatial Clustering in Python

I was wondering if there was any python (or R) packages out there that can do spatial clustering on ranked data? For each US state I spatially varying value for education rankings. For example, for ...
1
vote
2answers
29 views

Specifying which point buffers fall within a particualar land type (polygon)

I have a point buffer layer which represents tick occurrence and a polygon layer which represents landcover types (derived from Corine land cover). I want to define which point buffers (1km) fall ...
1
vote
0answers
23 views

How to create a surface layer from gridded point data of air temperature and Precipitation?

I want to aggregate monthly averages of temperature and precipitation over a 10-year period into weighted seasonal averages (DJF) for use in interpolation. I have downloaded Shapefiles for each month (...
0
votes
1answer
42 views

Measure distance for spatialLine in R returns bad value

I have this spatialLine in R: library(sp) library(maptools) library(SDraw) library(leaflet) x <- c(153.9, 152.67072,147.9879,144.25364,135.45557,116.03998,76.92708,45.10622,37.02522,36.76888,36....
0
votes
0answers
23 views

Using spatial clustering or statistical tools for attribute data

I have a data-set of well test results with attributes like iron and manganese concentrations. What are the best tools to try and determine if there are any spatial trends for each attribute? I would ...
1
vote
1answer
127 views

Plot trajectory in R

Does anyone knows a library/technique in R where you can plot a trajectory using multiple timesteps (points) where each point does have a lat/lon coordinate? I have this data x <- read.table("...
0
votes
0answers
8 views

Adding output value to attribute table of a feature class in model builder (ArcGIS 10.4)

I was doing spatial autocorrelation analysis in ArcGIS 10.4. So is there any way by which I can input the obtained Moran's index value in attribute table of other feature class if the objectID is ...
1
vote
1answer
51 views

Seeking ArcGIS TREND tool equivalent in R?

Arc features the TREND function with linear interpolation up to 12th order. Is there an equivalent approach in R (preferably) or python? I'm trying to de-trend a raster surface using polynomial ...
1
vote
0answers
54 views

Geographic scale of model and covariate significance using ArcGIS Spatial Analyst and R?

A few months back I created a spatial logistic regression model of terrestrial skunk rabies in Arizona/Colorado/New Mexico/Utah. A link to the project can be found here (https://docs.wixstatic.com/ugd/...
1
vote
2answers
48 views

Understanding Neighborhood Majority Statistic in ArcGIS Desktop?

Here both 12 and 13 are equal so would the neighborhood majority be null for this 3 by 3 neighborhood?
0
votes
1answer
96 views

Using raster stack function time in R?

I successfully ran a function over a smaller test raster stack (48 layers) in about 30 minutes but cannot run it over my large stack (1462 layers). The last one I tried over the large stack ran from ...
3
votes
2answers
98 views

Heuristic relationship between number of satellites and GPS precision?

I'm a statistician conducting an analysis on animal movement based on data collected using ATS Wildlink 500 collars. As part of this analysis, I'm estimating GPS error assuming that the error in the ...
1
vote
0answers
62 views

Reducing “noise” in spatially regressed points

I'm working on spatial data on a grid. I have two variables that I think to be correlated and I would like to build a model (see Fig attached). I did some exploratory analyses following the ...
0
votes
1answer
318 views

How kriging variance is calculated in R gstat?

How does exactly the krige function (a wrapper to gstat and predict functions) from package gstat calculate kriging variance (minimized estimation variance) in Ordinary Kriging? I wanted to reproduce ...
0
votes
0answers
284 views

Estimate spatial kernel density from raster and output kernel values in a grid

I would like to use a raster map (find below) to estimate or create a kernel density distribution. The objective is to extrapolate the kernel density function and re-use it in order to distribute a ...
0
votes
0answers
28 views

Method to spatially analyse and compare sets of points with eachother

I have 3 sets of points represented by the image below (3 different shapefiles). Each point has a coordinate. All points represent the same type of real world feature (veterinary surgeries) Using ...
3
votes
1answer
229 views

Standard deviation for percentiles interval in Google Earth Engine

I'm working on a GEE script aiming to extract DEM-based elevation statistics for regions defined by polygons. Specifically, I want to obtain the mean, median, standard deviation, and min/max values of ...
1
vote
1answer
36 views

How to create two Windows in spatstat for the same dataset?

Spatial patterns: I have a dataset of coordinates and marks (diameter) attributed to the points. I am trying to create a window (owin()) for each plot (I have 2 plots), but I don't know how to set the ...
1
vote
0answers
139 views

Error in calculating covariance matrix and fitting variogram model

When constructing variogram model, usually the spatial points are given, and we build a variogram model and conduct parameter estimation. But here in my question the points are not given while ...
0
votes
1answer
54 views

Mismatch in area calculation using R and ArcMap?

I am new to spatial statistics using R. In this scenario, I am trying to calculate the polygons area with in a shapefile by usingrgeos::gArea and compared with ArcMap calculate geometry value. both ...
0
votes
0answers
57 views

Statistical analysis of polygons QGIS : find areas of statistical difference

I have polygons for the country divided into E.D. areas. These polygons illustrate the average annual rainfall in their ED area. Is there any way to statistically tell if one polygon area has a ...
5
votes
1answer
131 views

Cokriging: zero distance cross-semivariance in undersampled cases [gstat error]

Trying to cokrige two variables that are not perfectly colocated (one has sparser measurements than the other), I faced an issue that I'll illustrate with the following MRE. With the meuse dataset, ...
0
votes
1answer
49 views

Install GRASS GIS extension r.pi including r.pi.prox and implement the Addon in QGIS

I would like to install the GRASS GIS addon r.pi within QGIS, I only have access to basic GRASS commands I installed QGIS using the osgeo4w-setup-x86_64.exe advanced installation using the http://...
2
votes
1answer
93 views

How can / should sf spatial objects be translated (i.e. moved within same projection)?

Big fan of the sf (and previously, sp) spatial packages in R. I see spTransform and st_transform as methods to reproject a spatial object into a new space. However, I have a case where I have a ...
2
votes
0answers
77 views

Any advantage to use elongated focal window for raster Pearson's Correlation?

I am performing Pearson's Correlation with 2 rasters (same res, size, extent), and will use a focal window, but is there any advantage or robustness to using a focal window that better reflects the ...
2
votes
1answer
185 views

What is a relevant geospatial modelling approach when no spatial autocorrelation is found?

Although I have found on StackOverflow all answers I ever had on GIS matters using R, ArcGIS and QGIS in the past, I am currently faced with one question I can't find an answer to online. For my ...
1
vote
1answer
180 views

Moran's I: Selecting the best option for conceptualizing the spatial relationship between # births & county locations

I'm using Moran's I to see whether there are clusters of births rates present among the 83 Michigan counties, and, if so, whether the clustering is statistically significant. The inputs are the ...