Coder Social home page Coder Social logo

yabs's Introduction

YABS: Yet Another Bayesian Sampler (version 0.2.0)

This package is intended to provide a flexible tool for Bayesian Modeling. It is similar to LaplacesDemon (in fact, most of our source code is inspired on this package) and fmcmc, but the MCMC algorithms are written in C++, speeding up the calculations in comparison to these packages. YABS computational efficiency does not equals JAGS' or Stan's, but it is reliable when fitting less complex models. Currently, YABS generates samples only for real-valued parameters (i.e., parameters that can have positive and negative real values).

This package should be considered experimental at this point of development. The following MCMC algorithms are implemented:

  • Random-walk Metropolis (algo = "rwm" argument)
  • Metropolis-within Gibbs (algo = "mwg" argument)
  • Barker Proposal Metropolis (algo = "barker" argument)
  • Oblique Hyperrectangle Slice Sampler (algo = "ohss" argument)

We also implemented a Laplace Approximation method, with Sampling-Importance Resampling.

Installation

Using the 'remotes' package:

install.packages("remotes")
remotes::install_github("vthorrf/YABS")

yabs's People

Contributors

vthorrf avatar

Stargazers

Leonardo Fernandes Martins avatar

Watchers

Leonardo Fernandes Martins avatar  avatar

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.