Package: Stem 2.0.0
Stem: Spatio-Temporal Expectation-Maximization Models
Estimation of hierarchical spatio-temporal models through the Expectation-Maximization (EM) algorithm within a likelihood-based framework, following Fasso and Cameletti (2010) <doi:10.1177/0037549709102150> and the heterogeneous-network model of Fasso, Cameletti and Nicolis (2007) <doi:10.1002/env.837>, with the EM machinery of McLachlan and Krishnan (2008, ISBN:9780470191613). Parameters are estimated by maximum likelihood via Kalman filtering and smoothing; standard errors and spatial prediction uncertainty are obtained by a spatio-temporal parametric bootstrap. The package also provides the spatially-clustered STEM (SC-STEM) models, an extension in which regression coefficients, variance components and latent dynamics vary across spatial regimes estimated from the data by maximizing a Potts-penalized likelihood, in the spirit of the spatially-clustered regression of Sugasawa and Murakami (2021) <doi:10.1016/j.spasta.2021.100525> and of the spatially-clustered spatial autoregressive models of Cerqueti, Maranzano and Mattera (2025) <doi:10.1007/s13253-025-00685-7>. SC-STEM comes with likelihood-based information criteria, a two-step rule based on the Bayesian information criterion for selecting the number of regimes and the spatial penalty, and a refit-with-clustering parametric bootstrap that propagates the uncertainty of the estimated partition into intervals and tests.
Authors:
Stem_2.0.0.tar.gz
Stem_2.0.0.zip(r-4.7-any)Stem_2.0.0.zip(r-4.6-any)Stem_2.0.0.zip(r-4.5-any)
Stem_2.0.0.tgz(r-4.6-any)Stem_2.0.0.tgz(r-4.5-any)
Stem_2.0.0.tar.gz(r-4.7-any)Stem_2.0.0.tar.gz(r-4.6-any)
Stem_2.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
Stem/json (API)
| # Install 'Stem' in R: |
| install.packages('Stem', repos = c('https://paolomaranzano.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/paolomaranzano/stem/issues
Last updated from:66a41cd477. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 205 | ||
| source / vignettes | OK | 287 | ||
| linux-release | OK | 160 | ||
| macos-release | OK | 138 | ||
| macos-oldrel | OK | 111 | ||
| windows-devel | OK | 94 | ||
| windows-release | OK | 131 | ||
| windows-oldrel | OK | 100 | ||
| wasm-release | OK | 136 |
Exports:SCSTEM_BootInferenceSCSTEM_BootstrapSCSTEM_CompleteSCSTEM_CVSCSTEM_EstimationSCSTEM_InfocritSCSTEM_SelectSCSTEM_SignalSTEM_BootstrapSTEM_CompleteSTEM_controlSTEM_EstimationSTEM_FitSTEM_KrigingSTEM_ModelSTEM_SignalSTEM_Simulation
Dependencies:bootclassclassIntDBIdeldire1071geodistKernSmoothlatticeMASSproxyRcpps2sfspspDataspdepunitswk
Last update: 2026-11-02
Started: 2026-09-03
Last update: 2026-11-02
Started: 2026-09-06
Last update: 2026-10-30
Started: 2026-09-03
Last update: 2026-10-30
Started: 2026-10-30
Last update: 2026-10-03
Started: 2026-09-04
