Giter VIP home page Giter VIP logo

rbats's Introduction

RBATS

The RBATS package is an R package that provides routines for sequential inference within the class of univariate Normal Bayesian Dynamic Models. Much of the code is based on the descriptions from West and Harrison (1997).

The main idea behind the package is that it implements Bayesian Dynamic Models, maintaining Bayesian sequential inference while keeping a lightweight structure with fewer dependencies.

In the current version, I translated the main functions, forward_filter_dlm and backward_smoother_dlm, to C++ using the Rcpp and RcppArmadillo interfaces.

You can install the development version from GitHub with:

if (!require(remotes)) install.packages('remotes')
remotes::install_github("AndrMenezes/RBATS")

I mainly wrote RBATS for use in routine data analysis and for learning purposes. I drew inspiration from the great PyBATS python package by Isaac Lavine and Andrew Cron.

Version Information

  • v0.2.1: Translated the main code to C++, included new non-linear DLM models and a forecast method for dlm.fit objects.

  • v0.1.0: First release version written in R and used in Migon et al. (2023).

Other R packages

Other R packages that can be used for Dynamic Linear Model or also known State Space Models are:

  • dlm by Giovanni Petris and Wally Gilks.

  • bsts by Steven L. Scott.

  • KFAS by Jouni Helske.

  • bssm by Jouni Helske and Matti Vihola.

rbats's People

Contributors

andrmenezes avatar

Watchers

James Cloos avatar  avatar

rbats's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.