Questions tagged [regression]

In statistical modeling, regression analysis is a statistical process for estimating the relationships among variables. It includes many techniques for modeling and analyzing several variables, when the focus is on the relationship between a dependent variable and one or more independent variables.

Filter by
Sorted by
Tagged with
1 vote
1 answer
15 views

sDNA learn - AIC

Is there a way to show the model AIC as output to sDNA learn, in addition to mean GEH and r2? Perhaps by adding a line in sdnaregutilities?
SPet's user avatar
  • 141
0 votes
0 answers
27 views

Trying to run logistic (binary) regression in QGIS using 2 polygon layers, but unsure which tool to use

I am trying to use a polygons layer A with continuous values as an independent variable and a polygons layer B with binary 1 and 0 values as the dependent variable in a logistic regression to see ...
LostinSpatialAnalysis's user avatar
0 votes
1 answer
25 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
1 answer
22 views

R.regression.multi land-use data not enough valid cells

What I want: run r.regression.multi between land-use change and bumblebee occurrence. What I did: X coefficients: cov_all.0 of North, East, South and West SSP1 -4 layers in total. (I projected the ...
kar-g's user avatar
  • 15
1 vote
1 answer
52 views

Multiple linear regression returning gaps (nulls)

I am using multiple linear regression by ee.Reducer.linearRegression reducer fuction. I have 3 independents ('x1', 'x2', 'x3' ) and 1 dependent ('y'). When I using any combination of 2 independents ...
guoyan's user avatar
  • 37
0 votes
0 answers
19 views

Tree Cover Density raster layer: is it considered a categorical raster?

I am using the Tree Cover Density (TCD) raster layer from EEA. The raster has integer values from 0-255, where each integer represents the percentage of tree cover density. I want to use a machine ...
Dolby's user avatar
  • 91
1 vote
1 answer
56 views

Pixel-wise multivariable regression to estimate solar irradiance from Worldclim data

I want to do a pixel-wise multivariable regression to predict missing "srad13" and "srad14" data where "srad" is the dependent variable using the independent variable ...
Jaey's user avatar
  • 11
0 votes
0 answers
15 views

Pixel-wise regression between the independent variables tmax, tmin, prec and the depending variable srad after they are clipped in R [duplicate]

I have WorldClim version 2.1 climate data for 1970-2000. This version was released in January 2020. There are monthly climate data for minimum, mean, and maximum temperature, precipitation, solar ...
Jaey's user avatar
  • 1
0 votes
1 answer
44 views

Spatial statistics -- geographically weighted regression

I have some count data (electric vehicle chargers). I'm trying to model its relationship with % of cars that are electric within an area. They show linear correlation. Normally I would use Poisson ...
Lord_Verulam's user avatar
1 vote
1 answer
169 views

How to use terra::predict with mixed model?

I developed a model from a dataset where zmean and zpcum5 are continuous values, and V6 is categorical (evergreen, mixed, deciduous). Lm3c.ranslope <- lmer(plotVol_sqrt ~ zmean + zpcum5 + I(zmean * ...
Ray J's user avatar
  • 549
2 votes
0 answers
67 views

Calculate a correction factor between two sets of data

I'm a data science student and have a problem with harvesting data.There are two sets of geographic data (stored as points) that stores the yield of a soybeans harvest in the same field, they are from ...
GhirghiFarming's user avatar
0 votes
1 answer
105 views

Print chart error: "User memory limit exceed"

I tried to plot the SAR backscattering vs the Crop Water Stress Index using the following code: var CWSI= ndvi.add(ndwi).rename('CWSI') print('CWSI',CWSI) Map.addLayer(CWSI.clip(Hoshiarpur),{},"...
Reflex_180's user avatar
0 votes
1 answer
183 views

Rolling (moving) window linear regression - extract residuals

I want to perform linear regression with a rolling (moving) window with size 5 using raster data. I tried a code using the raster package and the function localFun, and when I am trying to export the ...
Nikos's user avatar
  • 882
1 vote
1 answer
174 views

Use non-linear regression output to predict values across raster including categorical attributes

We are aiming to correct general snow depth values from publicly available layers at a coarse resolution (~1km) using our vegetation and other parameters collected in the field at point locations ...
user3386170's user avatar
  • 1,917
1 vote
0 answers
210 views

Moran's I in panel data using contiguity matrix

I have some data in a panel format and want to run some spatial panel regression. In a cross-sectional framework, I would run a simple regression and test the spatial autocorrelation from the ...
Oalvinegro's user avatar
1 vote
0 answers
32 views

Reusing regression or machine learning model in subsequent years

I have collected high-resolution UAV imagery and leaf area index (LAI) plot data. I plan on creating a model which uses my ground-based LAI to establish a relationship or train my UAV imagery. I will ...
low_teach's user avatar
0 votes
0 answers
28 views

R predict() a future table value in a time series

I have tree canopy information measured for 5 trees over 4 dates in the following CSV: treeID,X,Y,Z,area,date 1278,888260,936944,58.8,40.7,2021-09-22 1278,888262,936940,53.6,66.3,2021-10-15 1278,...
Searoy's user avatar
  • 13
0 votes
0 answers
74 views

Forest-based classification and regression error 110180 using ArcGIS Pro

I tried to train a model to predict a binary output, while I used 12 bands from Sentinel-2 satellite images as the explanatory training raster, but there's an error showed that there was not enough ...
Jianyi Liu's user avatar
1 vote
1 answer
493 views

Earth Engine: minimumDistance classifier in regression mode

The minimumDistance classifier in GEE uses the nearest neighbor procedure to predict a class (in classification mode) or a real value (in regression mode). The parameter "Knearest" set by ...
Walcker Romain's user avatar
0 votes
0 answers
51 views

I need to print RMSE but don't know why error is coming

I need to print root mean squared error (RMSE) but don't know why error is coming. Can any one share code how I can calculate RMSE?
hamza2039's user avatar
0 votes
1 answer
1k views

Linear regression analysis in R [closed]

I would like to conduct a simple linear regression analysis in R with two grids. So I have two Raster images of the same region and I need to do a regression analysis, but I struggle with doing that. ...
Ronja Kelch's user avatar
0 votes
1 answer
427 views

Perform a Thiel-Sen regression on a raster stack in R

I have a raster stack of 20 layers. Each layer represent accumulated NDVI values for the growing season for each year spanning my period of study. I want to perform a trend analysis using Thiel-Sen ...
Faustin Gashakamba's user avatar
0 votes
0 answers
64 views

Second order regression in QGIS

I am trying to calibrate nighttime light raster images. The data is available from 1992 to 2012 captured by different satellite and variation in the sensor too. Now in order to use the data for time ...
Heena's user avatar
  • 11
2 votes
1 answer
874 views

Calculating R-Squared Using the 'Residuals' Band from Google Earth Engine's linearRegression() Reducer

I am trying to calculate an R-Squared for a harmonic linear regression I did with two dependent variables across an image collection, using the linearRegression reducer on Google Earth Engine. The ...
Elijah Tangenberg's user avatar
1 vote
0 answers
88 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 ...
Soof's user avatar
  • 51
2 votes
1 answer
785 views

Regression in QGIS

I have point rainfall and temperature values for a district and a few sample yield points for the same. How do I interpolate the yield points for the whole district wrt the rainfall and temperature? ...
P.Kim's user avatar
  • 101
0 votes
0 answers
191 views

Regression using spatio-temporal data

I'm trying to implement a regression using R, but the various models I have tried so far do not predict well at all. The dataset I'm working with consists of roughly 10,000 observations which ...
Alex 's user avatar
0 votes
0 answers
98 views

Creating probability of occurrence map in ArcMap Pro

I am trying to figure out how to create a map representing probability of some phenomena occurrence. I have a binary raster (1- phenomena exists; 0 - doesn't exist) and several raster that explain ...
Elizaveta Khazieva's user avatar
2 votes
1 answer
321 views

Surf3D, example from ggRandomForests: Random Forests for Regression

I have a model and I want to use the surf3D function in R, and produce a plot similar to the following (the image is the example from "ggRandomForests: Random Forests for Regression"). ...
tibi's user avatar
  • 37
3 votes
0 answers
191 views

Spatial regression: general nesting spatial model using splm package in R

I have a shapefile of panel data (multiple years of observations for each polygon). I am estimating fixed effects spatial regression models with this data. I used one year of this data to generate a ...
C. Ashley's user avatar
  • 395
1 vote
1 answer
182 views

Regression Analysis

How can I perform a regression analysis between image reflection and field data in Google Earth Engine platform?
Athanasios's user avatar
1 vote
0 answers
31 views

What Explained Variance is good to proceed with Predictive Soil Mapping?

I have 1851 soil samples data on pH covering a study area of 7482sq.km in northern Ghana and I am using 52 environmental long-term average variables (Relief, Climate, MODIS Reflectances and derived ...
Isaac Newton's user avatar
1 vote
1 answer
444 views

Training Random Forest using more than 5,000 samples

I'm estimating forest biomass using Random Forest regression at a large scale. I want to train the Random Forest model using as many samples as possible (~100,000 samples), but it seems the Google ...
Dong's user avatar
  • 13
3 votes
1 answer
802 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 ...
the_chimp's user avatar
  • 883
0 votes
1 answer
2k views

QGIS Regression Tools using only feature data

I'm trying to find in QGIS an analogous tool to ArcGIS's "Ordinary Least Squares". The tool takes in a shapefile, where the dependent variable and independent variables are all fields in ...
Gordon's user avatar
  • 11
1 vote
1 answer
979 views

Linear Regression Error in GEE

I am trying to create a correlation chart between NDVI and LST. Everything working fine except the error message saying Error generating chart: FeatureCollection.randomPoints: Polygon too large to be ...
goldy_mit's user avatar
3 votes
1 answer
220 views

When to use spatial regression for the proximity analysis

I am not sure about whether I should use spatial regression for the proximity analysis I am trying to do. I’ll just describe the scenario and goal: People claim that convenience stores lower nearby ...
LostinSpatialAnalysis's user avatar
1 vote
0 answers
264 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 ...
TEC's user avatar
  • 11
1 vote
0 answers
79 views

Focal regression 3x3 group of cells

I have two raster with same resolution and dimension: water-occurrence index and rainfall (mm). I want to create a new raster of SLOPE (a) and INTERCEPT (b) by performing linear regression between ...
user97103's user avatar
  • 527
2 votes
1 answer
2k views

Linear regresion at each raster pixel's value to predict future value (in R language)

I want to predict future value with existing time series raster. For simplicity, I want use linear regression at each raster pixel's value to predict future value I have successfull run this code. I ...
Ichsan's user avatar
  • 165
3 votes
1 answer
1k views

Google Earth Engine: Evaluate classifier of output type regression

Background According to the Google Earth Engine documentation for supervised classification, the accuracy assessment of classifiers such as ee.Classifier.smileRandomForest can be done using a ...
Joris's user avatar
  • 321
1 vote
0 answers
736 views

Memory allocation problem when running Random forest regression in python

I have image with 4 bands . I want to see if I can predict the first band using the 3 other bands. My problem is that I cannot fit the model because I get the following error message: MemoryError: ...
Reut's user avatar
  • 1,955
1 vote
1 answer
207 views

Multiple linear regression between grids: reviewing the assumptions

I am performing a regression analysis with three raster stacks in R. This worked so far. Now I want to check the conditions of the model and I am not sure how exactly that should work in this case. ...
Jonas Müller's user avatar
1 vote
0 answers
298 views

How to apply convolutional neural network over a time series of Landsat images

I am implementing a fully convolutional neural network (specifically U-Net) over a time series of Landsat 8 images to predict land cover change. I am following the demo notebook for the predictions. ...
shahryar's user avatar
  • 684
3 votes
2 answers
134 views

Ordinary Least Squares Point Aggregation

I want to run an ordinary least squares regression in ArcGIS Pro on my dataset which is composed of about 400 fire occurrences (point data) and demographic variables (100x100m polygons of income, ...
ncrump's user avatar
  • 41
3 votes
0 answers
68 views

What is missing in my spatial lag equation model?

I worked it in GeoDa but I think something is missing. What is the right equation for a spatial lag model? In my understanding to predict a variable Y is as follows: Y = w_t_homi100 + CONSTANT + ...
geohitan's user avatar
2 votes
1 answer
835 views

modifiedmk Mann-Kendall Test Over NC /Raster stack

I am working with NetCDF file for analysis of trend. I am using the following codes for analysis of trend.. library(modifiedmk) library(raster) I <- brick("I.nc") d <- stack(I) ...
S.H's user avatar
  • 21
2 votes
2 answers
978 views

Display R2 in GEE chart

I have created scatter plot in GEE but for some reason it doesn't display the R2 and the way the linear regression displayd is also not good: as you can see. the R2 isn't displayed at all and the ...
Reut's user avatar
  • 1,955
-1 votes
1 answer
693 views

Export fitted values from time series regression in Google Earth Engine

I have used harmonic regression to model NDVI values in GEE. Now I would like to export fitted values for every half-month timestep. Unfortunately, much of the exported cells rasters have 'nodata', ...
sheel's user avatar
  • 11
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 ...
Reut's user avatar
  • 1,955