Skip to content

glmSTARMA

1.1.0Package record

(Double) Generalized Linear Models for Spatio-Temporal Data

0packages depend
1.8Kdownloads / year
94.1%test coverage
13/13flavors OK

Overview

About

Fit spatio-temporal models within a (double) generalized linear modelling framework. The package includes functions for estimation, simulation and inference.

Changes in 1.1.0

New Features

  • Added the argument const to the vgamma() family function. It is used in the transformation of past observations when the log-link is used: past observations are now transformed as log(y + const) instead of log(y).
  • Added the argument dispersion_constant to the dglmstarma.control() and glmstarma_sim.control() functions. Its value is passed to the const argument of vgamma() when the log-link is used for the dispersion model in dglmstarma().

Minor Improvements

  • The log-likelihood of the QuasiBinomial family is now more robust against numerical issues.
  • Removed redundant checks for NA and infinite values in the ts argument of the glmstarma() and dglmstarma() functions.
  • Removed unused C++ methods that were left over from a preliminary version of the package.
  • Added withr to the Suggests field in the DESCRIPTION file; it is now used in the test-data.R test.

Bug Fixes

  • Fixed a bug that prevented a dispersion model with an identity link from being fitted.
  • Fixed a bug in the variance() and dev.resids() functions of the vbinomial() and vquasibinomial() family functions.
  • Fixed a bug in the dev.resids() function of the vbinomial() and vquasibinomial() family functions that caused problems when observed values were on the boundary of the support.
Show all changes in 1.1.0Hide the rest of the changes in 1.1.0
  • Fixed a bug in the variance() function of the vnormal() family function, which now returns the correct dimensions when ignore_dispersion = TRUE and mu is not a matrix.
  • The default dispersion parameter for vquasibinomial() is now correctly set to 1 instead of 0 (not allowed) if the user does not specify a value and it must be estimated.
  • Fixed a bug in the vnegative.binomial() family that did not allow zero values in the dispersion argument. For zero-values in the dispersion, the Negative Binomial distribution reduces to a Poisson distribution.
  • Fixed a bug in the variance_fun of the InversGauss family in C++.
  • Changed the observation transformation for vpoisson("sqrt"), vquasipoisson("sqrt"), and vnegative.binomial("sqrt") to sqrt(x), as sqrt(x + 3/8) * 2 was causing problems.
  • Fixed a bug in the link_trafo() and derivative_link_trafo() functions of the SoftClippingBinomial and SoftClippingQuasiBinomial family functions in C++, which caused problems when different values of n were used across locations.
  • Fixed a bug in dglmstarma.control() where parameter_init_dispersion was not checked.
  • Fixed a bug in predict.dglmstarma() that ignored the specified copula for prediction type "sample".
  • Fixed bugs in glmstarma_predict() and dglmstarma_predict() that always caused warnings when time-varying covariates were included in the model.
  • Fixed a bug in predict.glmstarma() that prevented predictions for models with a homogeneous intercept.
  • Fixed a bug in fitted.dglmstarma() that prevented initial time points from being removed when drop_init = TRUE.
  • Fixed a bug that prevented residuals of a model from being scaled by the variance.
  • print.summary.glmstarma() and print.summary.dglmstarma() can now handle empty models.
  • delete_glmSTARMA_data() now gives correct messages when datasets do not exist in the cache.
  • The documentation of the SST dataset now lists the correct number of locations/grid points.
  • Removed an incorrect reference to a vgarch family from the stfamily help page.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-05-02
  • NOTE11 OK, 1 NOTE2026-04-25
  • OK11 OK2026-04-22
Show 4 earlier changesHide 4 earlier changes
  • ERROR10 OK, 1 ERROR2026-04-18
  • OK11 OK2026-04-16
  • NOTE10 OK, 1 NOTE2026-03-28
  • OK11 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.0
README· In the repository, left out of the releaseVignettesNoNEWSYes · 67% structured · mentions 1.1.0Citation fileYes · software entry onlyWebsitenot declared in DESCRIPTION
Help pages
25includes a package overview page
Examples that run
24%5 run in a plain check · 16 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
79%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
28%

Downloads

1.8K
CRAN downloads in the past year
Rank #19,747 · ~5/day · ~149/mo
Daily download trend is not available in this view yet.
20530 days
67390 days
1.8K1 year
Compare downloads with other packages →
Also on249 r2u6 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
2Releases
48Commits
1Commit identities
48 commits · Last activity 2026-07-20
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Releases over time

2026-01-22 · 12026-07-20 · 2
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/stmaletz/glmstarma on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Coverage (1)
Coverage reporting
Reproducibility and dev environment (1)
data-raw/
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing glmSTARMA adds 13 packages (10 with compiled code, 12 MB of source tarballs). Heaviest: copula 3.5 MB, nloptr 2.1 MB, colorspace 2.0 MB.

Depends (1)
R >= 4.5.0
Imports (3)
Suggests (4)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (4)
Author, Maintainer since 1.0.0 (2026)
Contributor
Releases (2)

Pick two releases to compare their code metrics.

  • 1.1.0Latest
    record
    2026-07-19 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0
    record
    2026-01-26
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-01-26
Total releases
2 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.5.0
Download size
137 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("glmSTARMA")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.48550/arxiv.2607.08276.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for glmSTARMA version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy