Learn R Programming

mgwrsar (version 1.3.1)

GWR, Mixed GWR with Spatial Autocorrelation and Multiscale GWR (Top-Down Scale Approaches)

Description

Provides methods for Geographically Weighted Regression with spatial autocorrelation (Geniaux and Martinetti 2017) . Implements Multiscale Geographically Weighted Regression with Top-Down Scale approaches (Geniaux 2026) .

Copy Link

Version

Install

install.packages('mgwrsar')

Monthly Downloads

494

Version

1.3.1

License

GPL (>= 2)

Maintainer

Ghislain Geniaux

Last Published

January 21st, 2026

Functions in mgwrsar (1.3.1)

summary_Matrix

summary_Matrix to be documented
reord_D

reord_D
predict,mgwrsar-method

predict method for mgwrsar model
mydatasf

mydataf is a Simple Feature object with real estate data in south of France.
mydata

mydata is a simulated data set of a mgwrsar model
simu_multiscale

Simulate Data Generating Processes (DGP) for Multiscale GWR
summary,mgwrsar-method

summary for mgwrsar model
residuals,mgwrsar-method

residuals for mgwrsar model
search_bandwidths

Bandwidth Selection via Multi-round Grid Search based on AICc
reord_M_R

reord_M
coef,mgwrsar-method

coef for mgwrsar model
golden_search_2d_bandwidth

Optimization of 2D Bandwidths (Spatial and Temporal) using Golden Section Search
atds_gwr

atds_gwr Top-Down Scaling approach of GWR
TDS_MGWR

Top-Down Scale (TDS) and Adaptive Top-Down Scale (ATDS) Estimation for MGWR
golden_search_bandwidth

Golden search bandwidth (deprecated)
find_TP

Search of a suitable set of target points. find_TP is a wrapper function that identifies a set of target points based on spatial smoothed OLS residuals.
MGWRSAR

Estimation of linear and local linear model with spatial autocorrelation model (mgwrsar).
int_prems

int_prems to be documented
fitted,mgwrsar-method

fitted for mgwrsar model
mgwrsar_bootstrap_test_all

A bootstrap test for testing nullity of all Betas for mgwrsar class model,
kernel_matW

kernel_matW A function that returns a sparse weight matrix based computed with a specified kernel (gauss,bisq,tcub,epane,rectangle,triangle) considering coordinates provides in S and a given bandwidth. If NN<nrow(S) only NN firts neighbours are considered. If Type!='GD' then S should have additional columns and several kernels and bandwidths should be be specified by the user.
multiscale_gwr

Multiscale Geographically Weighted Regression (MGWR)
plot,mgwrsar,missing-method

Plot method for mgwrsar model
make_unique_by_structure

Ensure Uniqueness of Coordinates or Values in 1D, 2D, or 3D Structures
mgwrsar-class

Class of mgwrsar Model.
normW

normW row normalization of dgCMatrix
mgwrsar_bootstrap_test

A bootstrap test for Betas for mgwrsar class model.
mgwrsar-internal

Internal Functions for mgwrsar Package
plot_effect

plot_effect plot_effect is a function that plots the effect of a variable X_k with spatially varying coefficient, i.e X_k * Beta_k(u_i,v_i) for comparing the magnitude of effects of between variables.