Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulation calibration #3

Open
1 of 3 tasks
seabbs opened this issue Sep 8, 2021 · 3 comments
Open
1 of 3 tasks

Simulation calibration #3

seabbs opened this issue Sep 8, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@seabbs
Copy link
Contributor

seabbs commented Sep 8, 2021

Check the model works by doing the following

  • Generate datasets from the prior
  • Fit the model to these datasets
  • Compare prior and posterior ranks

See stantargets for a fairly simplistic but easy to implement version of this (with data generation handled by the stan model rather than a native R implementation): https://docs.ropensci.org/stantargets/articles/simulation.html

@seabbs seabbs added the enhancement New feature or request label Sep 8, 2021
@seabbs
Copy link
Contributor Author

seabbs commented Sep 8, 2021

Linked to #7

@seabbs
Copy link
Contributor Author

seabbs commented Sep 13, 2021

Many of the current tool sets for this rely on the model being implemented in R as well as in stan which is quite effort-intensive. Instead, I have written a function to simulate from the stan model (very inefficiently).

Not clear which of the tool sets are going to be the easiest to use with this (and several (i.e SBC) are under very active development. Will test out a few and see what can be done most easily and ideally with minimal compute overhead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant