Stack Exchange Network

Stack Exchange network consists of 174 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 [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.

0
votes
0answers
31 views

Applying ordinary least squares regression to raster image using R? [closed]

I need to apply ordinary least squares (OLS) regression to a raster image and have to calculate three coefficients and Rsquare from it. I am doing it in R. I am not able to proceed further beyond ...
1
vote
0answers
84 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
40 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
120 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
0answers
51 views

Do regression Using ee.Classifier.svm in GEE

I have some soil date,and want to do some regression about Regression estimation of soil organic matter content。But the result returned by the model has always been a fixed value, I do not know how to ...
0
votes
0answers
47 views

R Regression Line to Localized Regions

I am attempting to compute a regression line from two rasters in QGIS, using the R statistical package r.regression.line. Raster 1 is a temperature dataset, which is as follows: Raster 2 is an ...
0
votes
1answer
70 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
78 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
11 views

Is the reclassification of values ​necessary for a linear regression OLS?

To be able to perform a linear regression the variables must be reclassified or transformed, for example I have as dependent variable (Y) the number of cases of a disease and independent variables (Xn)...
0
votes
0answers
50 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 ...
0
votes
0answers
28 views

Scatter plots and regression between two NetCDF files in ArcGIS

I have two NetCDF files: the distribution of biomes (assigned a number 1 to 9) over a region the distribution of rates of precipitation over the same region I'd like to make a scatter plot between ...
1
vote
1answer
160 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 ...
0
votes
0answers
49 views

parameters for glsm.mcmc function in geoRglm package in R

I am trying to implement the glsm.mcmc function in the geoRglm function in R. I am modeling forest health as a binomial response (healthy, diseased) using a several climate, and topography covariates. ...
0
votes
0answers
28 views

Correlation between Secchi disk depth and Reflectance in Landsat 8

Currently, I'm doing a project regarding Remote Sensing and Water clarity. I have data of secchi disk the same day with satellite data from Landsat 8. I am trying to see the correlation between two ...
1
vote
0answers
52 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 ...
0
votes
0answers
59 views

Modeling spatiotemporal data for regression in R

I have the following spatiotemporal data: USA National Park Service (NPS) Boundaries (polygons) Timestamped Social Media (Panoramio) posts taken within those boundaries (points) Monthly visitation ...
3
votes
0answers
77 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
285 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 ...
0
votes
1answer
187 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 ...
0
votes
0answers
78 views

LinearFit Google Earth Engine (MODIS,SAVI) [duplicate]

I am trying to apply SAVI function in a MODIS collection for all the January images and calulate the linear fit. I cannot find the scale (slope of the LinearFit) because it is masked. Does anyone ...
0
votes
0answers
169 views

Linear Regression Google Earth Engine VS Excel

I have the following code for a vegetation/time linear regression. The raster that I get after the regression represents the slope (coefficient). // Simple regression of year versus SAVI. // Define ...
2
votes
3answers
537 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
96 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
368 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
39 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
0answers
148 views

Land use prediction with linear regression in ArcGIS Desktop?

I have two different classified land use maps for 2007 and 2014. And I have 1km*1km grid population data of the area. I integrated the population data into urban class polygons then I started the OLS ...
0
votes
1answer
465 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
0answers
63 views

Predict spatial lag model (SLM) or spatial error model (SEM) with newdata of different locations (in R)

I have only seen examples of predict.sarlm in which newdata is for the same locations as the training data (so the same listw is used ). I would like to be able to create an autoregressive model that ...
0
votes
1answer
630 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
131 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 ...
-3
votes
1answer
246 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
22 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
401 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
133 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
115 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. ...
3
votes
1answer
868 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
455 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
85 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
117 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
173 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
102 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
0answers
141 views

How to use logistic regression for getting drivers of Land use change?

I am trying to analyse the driving forces for several land uses land cover changes. IF I have raster maps for driving forces like distance to rivers, distance to roads, population density, etc. What ...
-1
votes
1answer
375 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
46 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
56 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 ...
3
votes
1answer
1k 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
50 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 ...
4
votes
1answer
154 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
195 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....
1
vote
0answers
83 views

How to do regression analysis in SAGA for topographic correction

Currently I am trying to do the topographic correction using C-Correction. I would like to know if there is a way to do the regression analysis between L (uncorrected reflectance of each band from ...