Git Product home page Git Product logo

rcolaco001 / stan_workshop_2016 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fonnesbeck/stan_workshop_2016

0.0 2.0 0.0 3.61 MB

Bayesian Multilevel Modeling using Stan in PyStan

Home Page: https://statmodeling.stat.columbia.edu/2016/06/09/a-primer-on-bayesian-multilevel-modeling-using-pystan/

License: Creative Commons Zero v1.0 Universal

Stan 0.03% R 0.98% Jupyter Notebook 98.99%

stan_workshop_2016's Introduction

Bayesian Modeling using Stan

Stan is an open-source, Bayesian inference tool with interfaces in R, Python, Matlab, Julia, Stata, and the command line. Users write statistical models in a high-level statistical language. The default Bayesian inference algorithm is the no-U-turn sampler (NUTS), an auto-tuned version of Hamiltonian Monte Carlo. Stan was developed to address the speed and scalability issues of existing Bayesian inference tools.

The goal of the workshop is the practical application of Stan to different models, via the RStan and PyStan interfaces. Each day will be divided into three sections:

  1. Bayesian Statistics and MCMC
  2. Coding models in RStan
  3. Case studies in biostatistics (days 1 and 2)

The afternoon on the third day will allow users to bring their own data and prototype a model for it using Stan.

Instructors: Bob Carpenter (Columbia University), Daniel Lee (Columbia University), Chris Fonnesbeck (Vanderbilt University)

Event Timing: May 31 - June 2, 2016, 9:00 - 16:00
Event Address: Featheringill Hall 136

The slides presented at the workshop can be downloaded here

Schedule

Day One

  • Intro to Stan
    • Supporting reproducible research
    • First examples
    • I/O in the RStan interface
  • Intro to Bayesian Statistics
  • Components of a Stan Program
    • Basic data types and variable declarations
    • Variable constraints and transform to unconstrained scale
    • Program blocks and execution: data, parameters, model
    • Derived quantities
    • Functions, operators, statements
    • Debugging and error handling
    • User-defined functions
    • Solving ordinary differential equations (ODE)
  • Working with RStan

Day Two

  • Inference with Markov Chain Monte Carlo
    • Monte Carlo methods and plug-in inference
    • Markov chain Monte Carlo (MCMC)
    • Warmup adaptation
    • Diagnosing convergence with R-hat
    • Effective sample size vs. number of iterations
  • Stan Programming Techniques
    • Reproducible research practices
    • Probabilistic programming principles
    • Generated quantities for inference
    • Data simulation and model checking
    • Posterior predictive checks
    • Marginalizing discrete parameters
    • Handling missing data
    • Ragged and sparse data structures

Day Three

  • Stan Programming Techniques (continued)
  • Topics in Applied Modeling with Stan
    • A few case studies
    • Bring your own statistical models
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3221.8949587563097!2d-86.80551308477725!3d36.14477078008877!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x886466bd355f5741%3A0x3ae06da3496821a0!2sFeatheringill+Hall!5e0!3m2!1sen!2sus!4v1462888357093" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>

Questions? Contact [email protected]

stan_workshop_2016's People

Contributors

syclik avatar

Watchers

James Cloos avatar Rennie 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.