Skip to main content

Questions tagged [correlation]

A measure of the degree of linear association among a pair of variables.

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

Correlation analysis between large number of environmental rasters

I am trying to run a correlation test in R for 761 environmental rasters, but that seems to be too many to run at one time. For context, I have average monthly SST and CHL rasters over roughly 50 ...
Caroline Golightly's user avatar
0 votes
0 answers
27 views

Computing correlation coefficient between crime vs non-spatial data (such as no. of population) using ArcMap

I have a polygon divided in neighborhoods (barrios) which contains no. of crime (cases) per barrio. Also, in that polygon, there is a column for the total population of that barrio. Now, I want to ...
mxsmei's user avatar
  • 1
0 votes
0 answers
21 views

Correlating two space time layers

I have two point datasets, both showing the x,y location and date of separate events (1. environmental event,2. detection of bacteria). I'm trying to understand their spatial and temporal relationship....
Crazymonkey44's user avatar
0 votes
1 answer
34 views

Interpreting r.regression.multi

I cannot find a source that explains how to interpret the output of r.regression.multi. Can someone explain what the different lines mean; specifically how do I see if the results are significant? X=...
kar-g's user avatar
  • 15
0 votes
0 answers
112 views

Partial correlation of more than two raster stacks

Is there a way to compute partial correlation between three raster stacks? I have 3 rasters namely SIF, SM and VPD. > SIF_stack class : RasterBrick dimensions : 360, 720, 259200, 10 (nrow, ...
Shunrei's user avatar
  • 41
0 votes
0 answers
34 views

Assess correlation between two variables in a polygon vector layer

I have a polygon vector layer, and for each polygon (representing administrative zones) I have 2 quantitative variables. My goal is to formally assess whether there is a correlation between those two ...
NewAtGis's user avatar
  • 1,536
1 vote
0 answers
164 views

I cannot get the p-value from spearman's Correlation in Google Earth Engine

I am calculating a Spearman's correlation between two bands of an image collection dataset, but when I use the function to get it, it only outputs the correlation coefficients, but not the p-value. ...
Andres Gonzalez's user avatar
3 votes
1 answer
483 views

Resolution unit calculation

I'm quite new in the field of GIS, currently working with QGIS. I didn't find a simple overview of the connection/calculation of resolution units yet. Is it like this (pixel size for QGIS)? ~ 1km = ...
weltraumkojote's user avatar
0 votes
0 answers
368 views

Spatial Cross Correlation between two rasters

I have two raster data land cover and carbon monoxide, and I wish to perform correlation analysis on the two datasets. I found an article online describing the method using RStudio. I have followed ...
Wesner's user avatar
  • 9
1 vote
1 answer
490 views

How to compute partial correlation of pixels in R

For example, I have 20 years'NDVI and temperature and precipitation rasters. At first,I computed the pearson correlation coefficent with those codes as belows. library(terra) library(Hmisc) ndvi <- ...
jackywang's user avatar
  • 309
2 votes
0 answers
480 views

How can I prevent terra layerCor temp files filling all available diskspace?

I'm trying to analyze a subset of the Woldclim bioclimatic data (19 raster layers) that covers the Canadian Arctic. I'd like to see how correlated the layers are. When using the layerCor function from ...
canderson156's user avatar
3 votes
1 answer
216 views

QGIS point cluster correlation

Is there a way to (preferably in QGIS that I actually can use) analyze two sets of point layers and describe the correlation in the espective cummulations? For instance, I have points that experts ...
Roman Dostál's user avatar
-1 votes
1 answer
1k views

Correlation between two raster images with output as a raster in Google Earth Engine

I have two different rasters, one denoting the climatic parameter and the other denoting the drought impact. Now I want to estimate the correlation between these raster datasets; the output I want is ...
Swadhina Koley's user avatar
3 votes
1 answer
869 views

Correlation coefficient and R squared in Google Earth Engine

I want to calculate the correlation coefficient and R squared between two bands for two different images. How should I proceed? var s1_float = ee.ImageCollection("COPERNICUS/S1_GRD_FLOAT"...
benedetta's user avatar
  • 138
1 vote
1 answer
1k views

Creating correlation chart in GEE

I want to create a correlation chart between LST and NDVI (with trendlines and R2 value inside the chart)for an area in Google Earth Engine (GEE). I tried many solutions (adding both images to image ...
Bishal Roy's user avatar
0 votes
1 answer
2k views

Correlation analysis between bands in a RasterStack using Google Earth Engine

I am working with several variables in GEE and I would like to do a correlation analysis with them. I have constructed a Raster Stack with the variables and then I sampled the region with 10.000 ...
Luis Romero's user avatar
1 vote
2 answers
67 views

Accurately estimating non-linear relationship between two rasters

I am wanting to estimate the relationship between two rasters in R, but am having some trouble thinking through how I should do it. I am providing a toy example. For example, suppose x (e.g. NDVI) is ...
user44796's user avatar
  • 1,925
-1 votes
1 answer
599 views

How to analyze Pearson's correlation and VIF between raster layers using R?

I have 30 raster layers (.tiff) on oceanic and climatic environmental variables from all over the world downloaded from global databases. I need to analyze the relationship that may exist between ...
Santy CG's user avatar
2 votes
1 answer
1k 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 ...
Gülnihal Kurt's user avatar
0 votes
2 answers
2k views

Pixel based Correlation for 2 Rasters

I was working with Pollution data from OMI i.e. NO2 & O3. I need to find the correlation between the two rasters. I need pixel-based correlation, but in ArcGIS Pro, I could only find point-based ...
Bhargavi's user avatar
1 vote
0 answers
171 views

How to do a Correlation of various Raster Data and show the result in a Correlation Matrix

I am doing spatial correlation of soil Data sets. I did various Kiriging Interpolations with the krige function. The output was cut to a target raster to have the same raster size for all Kriging ...
Ludwig's user avatar
  • 11
0 votes
1 answer
263 views

Error while exporting plots results from cor function in a for loop over subfolders

I'm trying to plot the results from cor function that is running over multiple subfolders that contain TIF files. The process I have followed so far didn't work. It seems there is a problem while ...
Judá García's user avatar
0 votes
1 answer
376 views

How to correlate NDVI and Land Surface Temperature in QGIS? [closed]

I'm looking for ways to correlate the NDVI values and the land surface temperature values that I have on QGIS. I'm kind of new at using these kinds of programs. I'm working on a thesis and for my ...
Manuel Esteban's user avatar
0 votes
1 answer
877 views

Correlating Worldclim data with vif function in R

I want to corelate 19 variables from Worldclim V2.0 using the vif test. There's no ready code like for V1 so I wrote a code below but I'm facing one error. I'm new to R. library (raster) library(usdm) ...
Areej's user avatar
  • 27
2 votes
1 answer
1k views

Calculating correlation between points and raster values with missing points (need missing as 0s) (QGIS)

I feel like this should be easy but I'm struggling. I have a raster data set of Topographic Wetness Index (TWI) and a point data set of crop yield. I want to see how TWI and yield are correlated by ...
cropsnstuff's user avatar
0 votes
0 answers
29 views

How to output a raster of special case's distribution with regard to overall distribution?

For example, the crime scenes are unevenly distributed in a city. Each case's scene can be represented as a point. Thus, we can generate a raster map, which shows the crime scenes' density in this ...
Tsui Raymond's user avatar
0 votes
1 answer
245 views

Add corresponding MODIS LAI band to Sentinel-1 log(VH/VV) data in Google Earth Engine

I am trying to determine the correlation between Sentinel-1 log(VH/VV) data and the corresponding MODIS 4 day LAI product. For the first step, I am trying to add the corresponding LAI data as a band ...
Fritz's user avatar
  • 1
0 votes
0 answers
118 views

Correlation between a nominal and a continous rasters in R

I have two rasters of which one has nominal scale and the other has continuous scale. I used rasterCorrelation() function from spatialEco package in R and got a sensible map as well. But as one raster ...
Asad Ali's user avatar
  • 141
1 vote
1 answer
355 views

Finding significant co-occurrence between data points

I'm rather new in the field and I'm looking for advice in a problem. I have a data set of several data points, each with category, latitude and longitude. How can I find if there is a significant ...
Zmey's user avatar
  • 13
1 vote
1 answer
2k views

How to select one band in image using rasterio

I have two different images and I want to select one specifi band from each one of them and calculate regression between them. Each one of those bands is a result of calculation I did (in the first ...
ReutKeller's user avatar
  • 2,169
-1 votes
1 answer
2k views

Calculating pairwise Spearman's correlation coefficients for multiple raster layers in R [closed]

I have six raster datasets with matching resolution and extent. I want to analyze the relation between those rasters by calculating pairwise Spearman's correlation coefficients for all combinations ...
nora's user avatar
  • 131
0 votes
1 answer
134 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 ...
NewAtGis's user avatar
  • 1,536
2 votes
2 answers
3k views

Pearson correlation of two 1D array in Earth Engine

This GEE documentation addressed the correlation chart of two bands over a region. // Define an arbitrary region of interest. var sanFrancisco = ee.Geometry.Rectangle([-122.45, 37.74, -122.4, 37.8]); ...
Minh Shines's user avatar
0 votes
1 answer
259 views

Preparing raster Image for correlation in ENVI 5.5

I am working with two raster image of the same location with the same extent, both projected to the same coordinate system and having the same cell size. I want to correlate the raster value on the ...
Tunde's user avatar
  • 1
0 votes
1 answer
457 views

Correlating Point Samples and MODIS SST in Google Earth Engine

I've got a dataset of ~60 points that we've taken during a series of oceanographic cruises where we were sampling, among other things, sea surface temperature. I'm interested in comparing these point ...
clifgray's user avatar
  • 409
-1 votes
2 answers
1k views

Correlation between raster pixels within each polygon

I have two raster layers with the same extent, CRS, and resolution, and a shapefile consisting of a number of polygons. I would like to calculate the Pearson correlation between the two rasters within ...
Jackk's user avatar
  • 533
2 votes
0 answers
403 views

Classify / section line or group of points according to shape (with shapely objects)

Is there any python module/function that classifies/sections a shapely line according to the shape the line forms? If not, I could do it with the positions of the points that form the line. I would ...
Aurelie Navir's user avatar
0 votes
2 answers
4k views

Pixel correlations from two raster datasets in R

I am having trouble calculating the pixel by pixel correlation coefficient between two datasets. My current code takes in two folders full of rasters and creates two independent raster stacks. These ...
maj's user avatar
  • 3
1 vote
1 answer
2k views

Correlation/relationship between map layers in R?

I have a point shapefile concerning asthma instances, a point shapefile concerning rainfall, and a polygon shapefile with population information i.e gender, ages etc. I would like to research if ...
Will.S89's user avatar
  • 339
2 votes
1 answer
12k views

Doing spatial correlation between two sets of rasters in R

I have two sets of rasters from 2001-2016. Obviously, these two are correlated to each other but I want to produce a map showing the degree of their correlation. The Correlation Coefficient will be ...
user2543's user avatar
  • 1,188
0 votes
1 answer
387 views

Using a template matching correlation image to extract lines

I need to measure the length of the rows which are visible in the images. I have used template matching with a portion of the row as the template. Along a row, there will be matches which are ...
Inder Chauhan's user avatar
0 votes
1 answer
2k views

Pearson correlation in R?

I have two different parameters raster data, Which are temperature (X) and precipitation (Y). For temperature (X) and precipitation (Y), each parameters have 12 data files (Tiff format). I want to ...
SWAT's user avatar
  • 125
2 votes
0 answers
479 views

Exploring the association between two variables on QGIS

I am doing a project on primate electrocutions. I have primate population density data - in the form of point data for each troop, and in the attribute table I have the total number of monkeys for ...
Lydia Katsis's user avatar
1 vote
1 answer
2k views

Test Statistic, p-value interpretation for Local Moran's I [closed]

I am using Local Moran's I in the spdep in R. See this question: https://stackoverflow.com/questions/44104008/spatial-autocorrelation-between-time-series-in-r?noredirect=1#comment75251231_44104008 ...
ace_01S's user avatar
  • 111
1 vote
1 answer
548 views

Autoregressive parameter from autocorrelation using R

I was wondering how to get autoregressive (AR) parameter ("rho") from an autocorrelation plot using R. Below I generated a correlated data and then provided a simple approach to produce an ...
ToNoY's user avatar
  • 573
1 vote
2 answers
117 views

Correlating number values with text values from different fields in ArcMap?

I need to create a vector layer for representing the geology of an area. I have the geological map, a raster file. I made some polygons and I named them in the attribute table, but I don`t want to ...
Sam Lee's user avatar
  • 77
1 vote
0 answers
355 views

How to test for correlation between two point data sets

I want to determine if there is a correlation between weed plant species density and habitation (buildings). Both data sets are points. The weed species has an 'abundance value' (i.e., one point may ...
Johan Baard's user avatar
1 vote
1 answer
638 views

ArcGIS- Band collection statistics tool correlation less than -1?

I am trying to work out the correlation coefficient using band collection statistics in ArcGIS 10 between 2 rasters (a sea surface temperature raster and a storm genesis density raster created using ...
rb1234's user avatar
  • 35
3 votes
3 answers
1k views

Correlation between layers

I am trying to determine the relationship between multiple factors (slope(from dem-raster), aspect(from dem-raster), proximity to settlements (buffers-polygon)) with fire events(point data, with date ...
Elizabeth's user avatar
  • 143
4 votes
1 answer
4k views

Finding correlation between two rasters in ArcGIS for Desktop?

I am working with a NDVI image and a an interpolated yield map in ArcGIS 10.3.1. They are both projected in the same coordinate system and the cell sizes are equal. I interpolated the yield harvester ...
Devin's user avatar
  • 41