Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Martin Modrák

@modrak_m@fediscience.org
mastodon 4.6.9
  • Open on fediscience.org

Bioinformatics, biostatistics. Bayesian. Stan language.
Currently at Deparment of Bioinformatics, Second Faculty of Medicine, Charles University in Prague

2 Followers
117 Following
6 Posts
Joined November 01, 2022
Website:
https://martinmodrak.cz/
ORCID:
https://orcid.org/0000-0002-8886-7797
GitHub:
https://github.com/martinmodrak/
Pronouns:
he/him
Open post
Martin Modrák @modrak_m@fediscience.org
· 47mo ago

A new preprint on validating that your #Bayesian model and/or sampling algorithm is working correctly: https://arxiv.org/abs/2211.02383

A thread: #Statistics #Stan 1/

fediscience.org

FediScience.org

43
3
29
0
Open post
Martin Modrák @modrak_m@fediscience.org
· 38mo ago
Replying to

@djnavarro@fosstodon.org 100%!!! As a shameless plug, a long time ago I wrote a short post about a similar topic, with verifying joins as an example: https://www.martinmodrak.cz/2018/09/17/tests-in-r-markdown/ Now that dplyr joins support those checks internally via the unmatched, multiple and relationship arguments there's even less reason to not doing those checks... People, check you joins!

martinmodrak.cz

A Plea for Tests in R Markdown

7
1
1
0
Open post
Martin Modrák @modrak_m@fediscience.org
· 32mo ago
Replying to
@cameron Hi, I am interested in running the server.
5
0
0
0
Open post
Martin Modrák @modrak_m@fediscience.org
· 32mo ago
Replying to
@cameron Yes, that looks OK. My vision woulde be to introduce a light community-driven management of the server and some way for people to chip in on the running costs...
2
3
0
0
Open post
Martin Modrák @modrak_m@fediscience.org
· 47mo ago
Replying to
@EJWagenmakers@mastodon.social So unless you want to test the sampling algorithm itself, you are IME better off implementing the generator separately in your host language. It is also useful to avoid any tricks/shortcuts/optimizations you did for the probabilistic program and keep the generator simple. The more the implementations differ, the less likely are they to share the same bug. Does that make sense? 2/2
1
0
0
0
Open post
Martin Modrák @modrak_m@fediscience.org
· 47mo ago
Replying to
@EJWagenmakers@mastodon.social @avehtari@bayes.club See https://hyunjimoon.github.io/SBC/ for a ready-made R implementation. What you suggest could generate data for you in JAGS (in Stan, a bit more work is needed). You then need to fit your model to each of the posterior samples. However, using the same probabilistic program to draw from prior as you do for inferences is IMHO usually undesirable as any bug in the model will (usually) affect the prior and posterior the same way and you may fail to discover such a bug. 1/
hyunjimoon.github.io

Simulation Based Calibration for Bayesian models

SBC helps perform Simulation Based Calibration on Bayesian models. SBC lets you check for bugs in your model code and/or algorithm that fits the model. SBC focuses on models built with Stan <https://mc-stan.org>, but can support other modelling languages as well.

1
4
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 19:28:33 UTC