Package: DynCount 0.1.0

Gregor Zens
DynCount: Bayesian Dynamic Models for Poisson and Binomial Time Series
Fits Bayesian state-space models for non-Gaussian time series using a latent log-rate (Poisson) or latent logit (binomial) formulation. The latent trajectory follows a first-order random walk or a stationary AR(1) process, sampled by Metropolis-within-Gibbs using the implied Gaussian Markov random field (GMRF) full conditionals. Four innovation structures are supported for the latent increments: constant-variance Gaussian, Student-t, a finite scale mixture of normals, and stochastic volatility. Both families support time-constant zero inflation. The package provides simulation, fitting, forecasting, summary and plotting tools. It implements and extends the methodology of Zens and Bijak (2026) <doi:10.1214/26-AOAS2171>.
Authors:
DynCount_0.1.0.tar.gz
DynCount_0.1.0.tar.gz(r-4.7-any)DynCount_0.1.0.tar.gz(r-4.6-any)
DynCount_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
DynCount/json (API)
| # Install 'DynCount' in R: |
| install.packages('DynCount', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
- med_weekly - Weekly Mediterranean crossings
- uk_weekly - Weekly English Channel crossings
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:bbeb2e8206. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 222 | ||
| source / vignettes | OK | 199 | ||
| linux-release-x86_64 | OK | 167 | ||
| wasm-release | OK | 102 |
Exports:dynamic_priorfit_dynamic_modelforecastplot_fittedplot_forecastplot_latentplot_zero_inflationsimulate_dynamic_binomialsimulate_dynamic_poissonstructural_zero_prob
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Specify priors for a dynamic count / binomial model | dynamic_prior |
| Fit a Bayesian dynamic count / binomial time-series model | fit_dynamic_model |
| Generic forecast function | forecast |
| Forecast a fitted dynamic model | forecast.dynamic_fit |
| Weekly Mediterranean crossings (Mediterranean example) | med_weekly |
| Plot observed versus fitted values | plot_fitted |
| Plot observed history, fitted values and forecast with uncertainty | plot_forecast |
| Plot the fitted latent trajectory | plot_latent |
| Plot zero-inflation diagnostics | plot_zero_inflation |
| Plot method for fitted dynamic models | plot.dynamic_fit |
| In-sample fitted values and posterior predictive replicates | predict.dynamic_fit |
| Simulate a binomial dynamic series | simulate_dynamic_binomial |
| Simulate a Poisson dynamic series | simulate_dynamic_poisson |
| Posterior probability that each observed zero is structural | structural_zero_prob |
| Summarise a fitted dynamic model | summary.dynamic_fit |
| Weekly English Channel crossings (UK example) | uk_weekly |