-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
Support for handling censored data in PPC plots via imputation #1594
Comments
Just added better figures to stan-dev/bayesplot#319 The imputation part requires sampling from a truncated posterior predictive distribution. In many cases rejection sampling is likely to be fast enough, and simplest to implement, but still requires some checks. |
This seems to be related to my proposal in #1657. With the data augmentation / imputation approach for modelling censored data, the censored data would be imputed during model fitting and could then probably be used in posterior predictive checks? |
Currently,
brms
drops the censored data for mostpp_check
types. A better approach would be to impute the observations. See abayesplot
issue stan-dev/bayesplot#319 for a proof-of-concept and example plots. The imputation part would be natural to be inbrms
andbayesplot
would just support a different color for imputed observations.The text was updated successfully, but these errors were encountered: