Missing data imputation beta distribution

Please also provide the following information in addition to your question:

  • Operating System: Ubuntu 18.04
  • brms Version:2.8.8

Hello!

I have trouble imputing data for beta distributed variables. It seems that the checks related to bounded distribution are in cause. Here is a simple reproducible exemple :

D <- data.frame(y = rbeta(100,1,1))

D <- rbind(D, data.frame(y = rep(NA, 10)))

library(brms)

brm(y | mi() ~ 1, data = D, iter = 1000, family = Beta)

And the output is :

Error in if (!closed[1] && min(out$Y) <= ybounds[1]) { : 
  valeur manquante là où TRUE / FALSE est requis

Thanks for your help!

Lucas

Thanks! Should now be fixed in the github version of brms.

It’s working perfectly, thank you very much Paul!