Skip to content

bayesforecast

Bayesian Time Series Modeling with Stan

v1.0.5 · Jun 5, 2025 · GPL-2

Description

Fit Bayesian time series models using 'Stan' for full Bayesian inference. A wide range of distributions and models are supported, allowing users to fit Seasonal ARIMA, ARIMAX, Dynamic Harmonic Regression, GARCH, t-student innovation GARCH models, asymmetric GARCH, Random Walks, stochastic volatility models for univariate time series. Prior specifications are flexible and explicitly encourage users to apply prior distributions that actually reflect their beliefs. Model fit can easily be assessed and compared with typical visualization methods, information criteria such as loglik, AIC, BIC WAIC, Bayes factor and leave-one-out cross-validation methods. References: Hyndman (2017) <doi:10.18637/jss.v027.i03>; Carpenter et al. (2017) <doi:10.18637/jss.v076.i01>.

Downloads

464

Last 30 days

7721st

905

Last 90 days

905

Last year

Trend: +5.2% (30d vs prior 30d)

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (17 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 121.4Mb
  sub-directories of 1Mb or more:
    doc     2.0Mb
    libs  118.3Mb
NOTE r-oldrel-macos-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 119.6Mb
  sub-directories of 1Mb or more:
    doc     2.0Mb
    libs  116.5Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  8.7Mb
  sub-directories of 1Mb or more:
    doc    2.0Mb
    libs   5.6Mb
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 121.4Mb
  sub-directories of 1Mb or more:
    doc     2.0Mb
    libs  118.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 119.6Mb
  sub-directories of 1Mb or more:
    doc     2.0Mb
    libs  116.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  8.7Mb
  sub-directories of 1Mb or more:
    doc    2.0Mb
    libs   5.6Mb

Dependency Network

Dependencies Reverse dependencies bayesplot bridgesampling forecast ggplot2 gridExtra loo lubridate MASS prophet Rcpp RcppParallel rstan (>= 2.32.0) rstantools zoo bayesforecast

Version History

new 1.0.5 Mar 9, 2026