I want to use this package with the standard Beta function. However, whenever I'm trying to simulate the data, I always get this error:
Error in data_response.brmsframe(bframe, data, check_response = check_response, : Family 'beta' requires response smaller than 1.
Any ideas what's happening here? Using SBC version 0.5.0.9000 and brms version 2.23.0.
Here's a minimal example:
library(SBC)
library(brms)
df = data.frame(Outcome = rep(0.5, times = 100))
gen = SBC_generator_brms(Outcome ~ 1, data = df, family = Beta,
thin = 50, warmup = 10000, refresh = 2000,
generate_lp = TRUE)
dat = generate_datasets(gen, 100)
I want to use this package with the standard Beta function. However, whenever I'm trying to simulate the data, I always get this error:
Error in data_response.brmsframe(bframe, data, check_response = check_response, : Family 'beta' requires response smaller than 1.Any ideas what's happening here? Using SBC version 0.5.0.9000 and brms version 2.23.0.
Here's a minimal example: