varstan: An R package for Bayesian analysis of structured time series models with Stan

varstan is an R package for Bayesian analysis of time series models using Stan. The package offers a dynamic way to choose a model, define priors in a wide range of distributions, check model's fit, and forecast with the m-steps ahead predictive distribution. The users can widely choose between implemented models such as multiplicative seasonal ARIMA, dynamic regression, random walks, GARCH, dynamic harmonic regressions,VARMA, stochastic Volatility Models, and generalized t-student with unknown degree freedom GARCH models. Every model constructor in varstan defines weakly informative priors, but prior specifications can be changed in a dynamic and flexible way, so the prior distributions reflect the parameter's initial beliefs. For model selection, the package offers the classical information criteria: AIC, AICc, BIC, DIC, Bayes factor. And more recent criteria such as Widely-applicable information criteria (WAIC), and the Bayesian leave one out cross-validation (loo). In addition, a Bayesian version for automatic order selection in seasonal ARIMA and dynamic regression models can be used as an initial step for the time series analysis.

READ FULL TEXT

page 9

page 10

research
06/26/2021

The mbsts package: Multivariate Bayesian Structural Time Series Models in R

The multivariate Bayesian structural time series (MBSTS) model as a gene...
research
02/03/2023

dynamite: An R Package for Dynamic Multivariate Panel Models

dynamite is an R package for Bayesian inference of intensive panel (time...
research
09/13/2022

Using the bayesmeta R package for Bayesian random-effects meta-regression

BACKGROUND: Random-effects meta-analysis within a hierarchical normal mo...
research
12/06/2017

Stochastic Volatily Models using Hamiltonian Monte Carlo Methods and Stan

This paper presents a study using the Bayesian approach in stochastic vo...
research
11/24/2022

Estimating Conditional Distributions with Neural Networks using R package deeptrafo

Contemporary empirical applications frequently require flexible regressi...
research
01/19/2023

Cross-validatory model selection for Bayesian autoregressions with exogenous regressors

Bayesian cross-validation (CV) is a popular method for predictive model ...
research
03/29/2022

bayesassurance: An R package for calculating sample size and Bayesian assurance

We present a bayesassurance R package that computes the Bayesian assuran...

Please sign up or login with your details

Forgot password? Click here to reset