Giter Site home page Giter Site logo

peikalunci / dynamic-probit-ep Goto Github PK

View Code? Open in Web Editor NEW

This project forked from augustofasano/dynamic-probit-ep

0.0 0.0 0.0 1.13 MB

Expectation approximation for the smoothing distribution in dynamic probit models

License: MIT License

R 100.00%

dynamic-probit-ep's Introduction

Expectation propagation for the smoothing distribution in dynamic probit

This repository is associated with the article Anceschi, Fasano and Rebaudo (2023) Expectation propagation for the smoothing distribution in dynamic probit. Bayesian Statistics, New Generations New Approaches (BaYSM2022). The key contribution of the paper is outlined below.

we develop an expectation propagation (EP) approximation of the joint smoothing distribution in a dynamic probit model.

This repository provides codes to implement the inference methods associated with such a result. More precisely, we provide the R code to perform inference on the smoothing distribution under dynamic probit models with four different methods:

  1. i.i.d. sampling from the exact unified skew-normal distribution
  2. expectation propagation (EP) approximation
  3. partially factorized mean-field variational Bayes (PFM-VB) approximation
  4. mean-field variational Bayes (MF-VB) approximation

Structure of the repository:

  • the functions to implement the above methods can be found in the R source file Functions.R
  • the financial dataset analyzed in the illustration can be found in Financial.Rdata, while the original entire dataset is publicly available at Yahoo Finance
  • the code to reproduce the results in the paper is available at DynamicEP.R

dynamic-probit-ep's People

Contributors

giovannirebaudo avatar augustofasano 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.