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

Easier/faster prior predictive checks #7

Closed
jtimonen opened this issue Oct 24, 2020 · 1 comment
Closed

Easier/faster prior predictive checks #7

jtimonen opened this issue Oct 24, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jtimonen
Copy link
Owner

The current way to do a prior predictive check is to first run lgp() using the options sample_f=TRUE and prior_only=TRUE after which one can use ppc(). This is not any faster than posterior sampling, and it would probably be much faster to just draw from
the hyperparameter priors separately first, and then for each draw use lgp() with sample_f=TRUE, prior_only=TRUE and algorithm="Fixed_param".

@jtimonen jtimonen added the enhancement New feature or request label Oct 24, 2020
@jtimonen jtimonen self-assigned this Oct 24, 2020
@jtimonen
Copy link
Owner Author

Version 1.1 now has prior_pred() and sample_param_prior().

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