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
0answers
23 views

Model binary rasters over time against non-spatial variable (e.g., inundation over time vs. gage height)

I have a time series of raster images for a study area that have been processed to a binary classification (inundated/not inundated). Each image in the series is time-stamped and can be associated ...
1
vote
1answer
52 views

How to use a regression equation to create a map in QGIS?

I have been working on creating an exposure map based on measures taken at fixed points. I want to extrapolate the results to a grid to get an exposure map (air pollution data) for a region based on ...
0
votes
1answer
40 views

Calculate band using data from existing bands and look-up table in Google Earth Engine

I have a 4 band composite image and a csv table consisting of regression coefficients. Each row in the table represents a regression specific to a day of year (doy). The 1st column in the table is doy ...
0
votes
0answers
17 views

Getting lm.LMtests error due to neighborhood list being different length?

I am trying to run the lm.LMtests function on a regression model I have built. I am using 2940 census tracts (down from 2948 due to missing data), but the neighborhood list I am utilizing has the ...
0
votes
0answers
24 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 ...
1
vote
0answers
22 views

Panel data regression

I have GIS data on individual events (with timestamps), and I am running a panel data regression, with the outcome variable being the number of events by district by month. My independent variables ...
0
votes
0answers
39 views

GEE regression error: Image.reduce: ReduceBands reducer must have one input: <Reducer>

I'm trying to run a basic linear regression between two variables in Google Earth Engine. I have a two-band image: https://code.earthengine.google.com/?asset=users/stephenawood/reprexdata To run a ...
2
votes
0answers
81 views

Estimating a Rotated Pole given a gridded dataset with lat/lons at each point

I have netcdf dataset that I think is regular gridded dataset using a Rotated pole mapping, but the rotated pole information is wrong. For those not familiar with Rotated Poles, the cartopy ...
0
votes
0answers
88 views

Running Linear Regression with multiple Rasters converted to a numpy array in Python

What I did was an array with Rasters from 2000 to 2018. It's temporal Resolution is 16 days. I more or less wrote my code by combining scripts that I found matching my problem. This is what I got so ...
1
vote
1answer
36 views

Running convert Raster to Point Features in arcpy returns an error

I'm trying to convert a bunch of rasters to point features to further build a regression of those. Is it possible to do that without a conversion using arcpy? If not what am I doing wrong converting? ...
0
votes
0answers
55 views

Calculate Bare Soil Line Intercept using R

I am using an R package called BSL (Bare soil line), package is at https://rdrr.io/cran/landsat/man/BSL.html. The BSL package uses R's lmodel2 function (https://cran.r-project.org/web/packages/lmodel2/...
1
vote
0answers
188 views

Nonlinear regression in Google Earth Engine on each pixel in an image collection using GEE's servers

I am attempting to optimize the parameters for a double-logistic function on an annual MODIS NDVI time series in Google Earth Engine. I have previously looked at Non Linear Regression in Google Earth ...
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 ...
1
vote
1answer
105 views

Calculating Bare Soil Line using R?

I am using a package in R called BSL (Bare soil line), package is at https://rdrr.io/cran/landsat/man/BSL.html. I've used it successfully to run regression line for my soil study area but it is ...
1
vote
0answers
327 views

How to check spatial autocorrelation correctly in a glm

I ran a binomial glm as below and from plotting observations i know that there are many observations close to each other and i expect them to be highly correlated. For this matter after selecting the ...
0
votes
1answer
116 views

Different trend test result with modifiedmk and zyp package in R

I am running two sen slope trend tests in R, the first with the modifiedmk package and the second with the zyp package. I don't understand why with the zyp package the resulting raster raster.mkt2 is ...
0
votes
1answer
351 views

Apply mann-kendall analysis on stacked raster in R as a function

I want to run a mann-kendall trend analysis with pre-whitening on a stacked raster and then save the resulting tau, sen-slope and p_value. I am currently doing this by looping through every pixel but ...
0
votes
1answer
106 views

How do you find the appropriate spatial weight to use for a spatial analysis? [closed]

I am currently about to run a spatial regression (OLS, Lag, Error etc) for my dataset. My dataset contains 1000 randomly generated points throughout the utilisation distribution for my animals (so, ...
0
votes
1answer
157 views

Error in gstat.formula.predict(d$formula, newdata, na.action = na.action, : NROW(locs) != NROW(X): this should not occur

I'm trying to perform regression kriging using the code creating variogram m <- vgm(var(soil$Ba), "Sph", sqrt(areaSpatialGrid(slope))/4, nugget=0) v <- fit.variogram(variogram(Ba~RASTERVALU, ...
0
votes
0answers
77 views

Linear spatial regression of Sentinel-2 products?

I would like to run a spatial regression to refine the spatial resolution of Sentinel-2 20 m bands by using the 10 m 8A band. So the idea is to have Bands at 20 m as dependent variables and band 8 A ...
1
vote
1answer
276 views

Linear regression between every 3×3 pixels between two rasters using R

I have two rasters of precipitation and elevation, PPT and ELEV. They have equal number of rows and columns.I want to create a new raster of precipitation lapse rate (GRADIENT) with same number of ...
1
vote
0answers
124 views

How should I normalize my data - based on population of an area /neighbourhood or population of the entire city? [closed]

I am studying the driving's forces of crime in a particular city. I have some independent values, e.g. percentage of the head of the household with low education per zone, the percentage of ...
3
votes
0answers
131 views

Performing multiple regression of time series data using R? [closed]

I am working with MODIS time series data, and I want to stack a stack object to prepare my data for multiple regression. I have AMSR (soil moisture) as a response variable and I have some ...
2
votes
0answers
456 views

Make linear regression in multiple raster layers

I have a question about multiple raster layer regression using R or Arcgis. I would like to predict biomass using some Vegetation Index - VI (NDVI, EVI, SAVI, OSAVI...). and generate R² and RMSE maps ...
1
vote
2answers
379 views

Extract seasonality and trend values for each time in a MODIS time series

I'm trying to construct a MODIS temporal series as shown in this thread: Harmonic MODIS trend in Google Earth Engine? But I'd like to plot, if possible, the values for trend and seasonality for each ...
2
votes
3answers
951 views

How to conduct logistic regression between two rasters

I have two rasters. The first raster is a region showing sinkholes(depressions) of the region(cell values are 1 for sinkholes and 0 for non-sinkhole cells). The second raster is the TPI(Topographic ...
-1
votes
1answer
148 views

Predicting Enhanced Vegetation Index using Random Forest in R [closed]

I am a master's student and I am trying to use radar observables derived from SAR imagery to predict Landsat 8 Enhanced Vegetation Index (EVI) for different seasons. I have extracted EVI and various ...
2
votes
0answers
629 views

Multiple Linear Regression Analysis in QGIS (with SAGA Toolbox)

I'm attempting to run a multiple linear regression analysis using QGIS, through the SAGA toolbox. However, the QGIS UI does not allow me to choose predictors -- it seems entirely absent from the UI. ...
0
votes
1answer
64 views

What is the W_{variablename} variable in GeoDa's spatial lag model?

What is the W_{variablename} variable in GeoDa's spatial lag model output? The geoda workbook does not give any explanation. As far as my knowledge goes a spatial lag regression model does not need ...
0
votes
1answer
665 views

GEE cloud-free Sentinel2 and linear Regression [closed]

GEE, Sentinel and linear Regression I am using GEE (Google Earth Engine) to compute a Sentinel-2 based change analysis. What I would like is basically a linear regression per pixel, with the slope as ...
0
votes
1answer
913 views

Google Earth Engine: Evapotranspiration Linear Regression MODIS

I am trying to do a Linear Regression about Evapotranspiration using MODIS and I get this error when I try to inspect the value of the pixels in the result layer: "Error Array index 1 out of bounds. ...
0
votes
0answers
206 views

Google Earth Engine: Linear Regression problem to download the image

I made this code to get a Linear Regression using the function SAVI in my own collection but it is not working. Does anyone know why? // Simple regression of year versus NDVI. // Define the ...
-2
votes
1answer
429 views

Linear Regression Google Earth Engine

I would like to do a linear regression with an NDVI collection. Does anyone know how can I do the regression using Google Earth Engine?
1
vote
0answers
32 views

Is it possible to to have higher variances for predictions in Universal Kriging?

I am using gstat to do Universal kriging. I am finding that the variances for the predictions of a hold out sample (i.e., new spatial locations for which I want to determine the response variable) ...
0
votes
2answers
616 views

Predicting geographic location in R?

I am very new to the world of GIS and spatial statistics, but I have a very large dataset consisting of many points with geographic coordinates and a bunch of other variables for every point. I ...
1
vote
0answers
212 views

Small sample size for geographically weighted regression; limitations

I am studying West Nile Virus risk factors in a specific county using mosquito surveillance data over a ten year study period. The highest resolution of the mosquito data that could be obtained was at ...
0
votes
2answers
227 views

Poisson's regression in ArcGIS?

I am using ArcGIS regression tools OLS and GWR for evaluating the association between dengue incidences and weather parameters, land use/cover, and demographic characteristics of the study area. ...
5
votes
1answer
2k views

Access to attribute in rasterlayer in R

I read an ADF file in R: kommuner <- raster( "../../../10-Data/Kommunne_i_Norge_2000/Kommuner2000_100m_100m/100x100_2k/w001001.adf" ) It contains three attributes: > kommuner class :...
1
vote
1answer
640 views

Using R to do logistic geographically weighted regression(GWR) prediction

I'm using the R package "GWmodel" to do the logistic GWR, but this package doesn't provide the prediction function for generalized GWR(Binomial/Poisson). How can I do the Logistic GWR prediction using ...
5
votes
1answer
101 views

Ignoring multi-collinearity in spatial stepwise regression modeling?

We have used multi-linear regression (stepwise) approach to perform spatial modeling with parameters derived from Remote Sensing data. The outcome of the statistically significant components produce ...
0
votes
1answer
188 views

Getting Negative values in Regression based Biomass model!

I am using Multi Linear Regression (stepwise method) to estimate above ground biomass. Different spectral indices and other variables mostly derived from Landsat 8 OLI are used to check potential ...
2
votes
0answers
243 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 ...
1
vote
1answer
113 views

Assesing covariate significance in geographically weighted logistic regression?

In a logistic regression the significance (p) of each covariate can be calculated. For the case of a geographically weighted logistic regression (GWLR), I currently am working on a model for event ...
0
votes
1answer
615 views

Python library for Geographically Weighted Regression (GWD)

The user @GrantD71 seems to have implemented a GWD in python through hard-coding using Numpy/Scipy. He asked for library/package to perform GWD but the best reply was given using an R package. I'm ...
1
vote
0answers
67 views

Constructing a sampling bias surface

I am using QGIS 2.18.0 on Windows 10. I have a set of observations (1,428 points) for a given species (presence only data). These data were generated from a convenience sampling (hunters, field ...
4
votes
0answers
59 views

Using spatial regression on interpolated surfaces? [closed]

I have two raster surfaces where I want to test to see If any relationship (A depending on B) can be found and if so if that relationship is statisticaly significant. What are key issues to consider ...
2
votes
1answer
3k views

Looping over several input files in R

Please help a beginner in R I am trying to do some regression analysis in R between pairs of precipitation and NDVI rasters. I got the regression to work, and now I would like to loop this over all ...
1
vote
0answers
56 views

Raster multivariate regression

I am looking for advice on how to set up a multivariate regression using raster data. My dependent variable is the location of firms in a specific industry. My independent variables are: lease rates ...
5
votes
1answer
209 views

Understanding regression function output in ArcGIS Kriging?

Below is "regression function" output in ArcGIS Kriging. I'm assuming the first value is my r2, but does the 2nd value represent error rate, residual, or something else?
3
votes
1answer
253 views

Difficulties applying zyp.sen() to a RasterBrick object in R

I have a RasterBrick object that represents a raster time series (say different images of the same scene over a thirty year period) and I'm trying to perform a Theil-Sen regression on this time series....