+ - 0:00:00
Notes for current slide
Notes for next slide

SBC Intro

Martin Modrák

2021/08/24 (updated: 2022-01-26)

1 / 6

This work was supported by ELIXIR CZ research infrastructure project (MEYS Grant No: LM2018131) including access to computing and storage facilities.

2 / 6

Context

3 / 6

Context

  • SBC can be a useful tool to check you implemented your model correctly.
3 / 6

Context

  • SBC can be a useful tool to check you implemented your model correctly.

  • It just one of tools to validate your model in a Bayesian workflow

3 / 6

Context

  • SBC can be a useful tool to check you implemented your model correctly.

  • It just one of tools to validate your model in a Bayesian workflow

  • SBC can be run even before you collect data

3 / 6

Context

  • SBC can be a useful tool to check you implemented your model correctly.

  • It just one of tools to validate your model in a Bayesian workflow

  • SBC can be run even before you collect data

  • The goal of this tutorial is to show you that with the SBC package, there is little cost to including (some form of) SBC in your everyday modelling workflow.

3 / 6

Context

  • SBC can be a useful tool to check you implemented your model correctly.

  • It just one of tools to validate your model in a Bayesian workflow

  • SBC can be run even before you collect data

  • The goal of this tutorial is to show you that with the SBC package, there is little cost to including (some form of) SBC in your everyday modelling workflow.

  • In this tutorial, we'll let you use SBC to find and diagnose a bug.

3 / 6

Context

  • SBC can be a useful tool to check you implemented your model correctly.

  • It just one of tools to validate your model in a Bayesian workflow

  • SBC can be run even before you collect data

  • The goal of this tutorial is to show you that with the SBC package, there is little cost to including (some form of) SBC in your everyday modelling workflow.

  • In this tutorial, we'll let you use SBC to find and diagnose a bug.

  • We will show toy problems, but have applied it to non-toy problems as well.

3 / 6

Two types of problems with Stan model

  1. Bug in model
4 / 6

Two types of problems with Stan model

  1. Bug in model

  2. Data - model mismatch

4 / 6

Two types of problems with Stan model

  1. Bug in model

  2. Data - model mismatch

We will focus on 1.

4 / 6

Result of SBC (1)

SBC fails: There is a mismatch between our model, algorithm and simulator.

5 / 6

Result of SBC (1)

SBC fails: There is a mismatch between our model, algorithm and simulator.

     The mismatch can be anywhere!

5 / 6

Result of SBC (2)

SBC passes: To the precision availabe with the given number of simulations, our model, algorithm and simulator are consistent.

6 / 6

Result of SBC (2)

SBC passes: To the precision availabe with the given number of simulations, our model, algorithm and simulator are consistent.

    For a specific sense of consistent. Nothing more, nothing less.

6 / 6

This work was supported by ELIXIR CZ research infrastructure project (MEYS Grant No: LM2018131) including access to computing and storage facilities.

2 / 6
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow