Skip to content

sshonosuke/SCR

Repository files navigation

SCR: Spatially Clustered Regression

This repository provides R code implementing spatially clustered regression for spatial data analysis, as proposed by the following paper.

Sugasawa, S. and Murakami, D. (2021). Spatially Clustered Regression. Spatial Statistics 44, 100525. (arXiv version: https://arxiv.org/abs/2011.01493)

The repository includes the following files.

  • SCR-function.R : Script implementing the proposed method
  • simulation.R : Script applying the proposed method to two simulated datasets
  • simdata1.RData: Simulated data 1
  • simdata2.RData: Simulated data 2
  • data-generation.R: Script for generating the two simulated datasets
  • example-Boltimore.R: Script for applying SCR to Baltimore dataset (available from spdep package)

About

Spatially Clustered Regression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages