Skip to content
/ strm Public

strm is an R package that fits spatio-temporal regression model based on Chi & Zhu Spatial Regression Models for the Social Sciences (2019). The approach here fits a simultaneous spatial error model (SAR) while incorporating a temporally lagged response variable and temporally lagged explanatory variables.

Notifications You must be signed in to change notification settings

mkamenet3/strm

Repository files navigation

strm

strm

strm is an R package that fits spatio-temporal regression model based on Chi & Zhu Spatial Regression Models for the Social Sciences (2019). The approach here fits a simultaneous spatial error model (SAR) while incorporating a temporally lagged response variable and temporally lagged explanatory variables.

News

  • 2022-01-10: Resolved issue #38 with patch 0.1.3.
  • 2021-03-21: Resolved issue #34 with patch 0.1.2.

Installation

This package builds on the errorsarlm() function from the spatialreg package.

This package is still under development. Please report bugs or constructive tips to issues here.

strm was built on R version 4.0.2 ("Taking Off Again").

Package dependencies include:

- R (>= 3.6),
- spatialreg (>= 1.1-5),

Package imports include:

- dplyr (>= 1.0.0),
- rlang (>= 0.4.6),
- tidyr (>= 1.0.0),
- purrr (>= 0.3.4),
- magrittr (>= 1.5),
- rgdal (>= 1.5.10),
- spdep (>= 1.1.3),
- lazyeval,
- stats,
- grDevices,
- methods,
- graphics,
- utils,
- knitr,
- testthat (>= 2.3.2),
- rmarkdown (>= 2.3)

Package suggests include:

- spdep (>= 1.1-3),
- sf (>= 0.9-4),
- Ecdat (>= 0.3-7),
- tidycensus (>= 0.9.9),
- ggplot2 (3.3.2),
- patchwork (>= 1.0.1),
- gt (>= 0.2.2)

To download the latest version of strm:

library("devtools")
devtools::install_github("mkamenet3/strm")

Travis build status

About

strm is an R package that fits spatio-temporal regression model based on Chi & Zhu Spatial Regression Models for the Social Sciences (2019). The approach here fits a simultaneous spatial error model (SAR) while incorporating a temporally lagged response variable and temporally lagged explanatory variables.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages