Package: DynCount 0.2.0

Gregor Zens
DynCount: Bayesian Dynamic Models for Count Time Series
Fits Bayesian state-space models for count time series using a latent log-rate (Poisson), latent logit (binomial) or latent additive-log-ratio (multinomial choice counts) formulation. Each latent trajectory follows a first-order random walk or a stationary AR(1) process and is sampled by Metropolis-within-Gibbs using the implied Gaussian Markov random field full conditionals. The latent increments can be Gaussian, Student-t, a finite scale mixture of normals, or follow a stochastic volatility process, and the Poisson and binomial families support zero inflation. It implements and extends the methodology of Zens and Bijak (2026) <doi:10.1214/26-AOAS2171>.
Authors:
DynCount_0.2.0.tar.gz
DynCount_0.2.0.zip(r-4.7-any)DynCount_0.2.0.zip(r-4.6-any)
DynCount_0.2.0.tar.gz(r-4.7-any)DynCount_0.2.0.tar.gz(r-4.6-any)
DynCount_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
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:fbcadd5540. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 151 | ||
| source / vignettes | OK | 254 | ||
| linux-release | OK | 153 | ||
| windows-devel | OK | 98 | ||
| windows-release | OK | 95 | ||
| wasm-release | OK | 132 |
Exports:dynamic_priorfit_dynamic_modelforecastplot_fittedplot_forecastplot_latentplot_zero_inflationsimulate_dynamic_binomialsimulate_dynamic_multinomialsimulate_dynamic_poissonstructural_zero_prob
Dependencies:generics
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Specify priors for a dynamic model | dynamic_prior |
| Fit a Bayesian dynamic count / binomial / multinomial time-series model | fit_dynamic_model |
| 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 multinomial dynamic series | simulate_dynamic_multinomial |
| 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 |