You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bit of an edge case (and this is depreciated) but if you don't set the trials and have all 0s in your outcome, the trial number is set to 0 and the model returns the prior.
Probably doesn't require a fix (perhaps a warning), but I thought I should add an issue in case! :)
mod2 <- brm(y |trials(1) ~ 1, family = binomial(link = "logit"), data = data.frame(y = rep(0,1000)), backend = "cmdstanr")
vs
mod2b <- brm(y ~ 1, family = binomial(link = "logit"), data = data.frame(y = rep(0,1000)), backend = "cmdstanr")
The text was updated successfully, but these errors were encountered:
Bit of an edge case (and this is depreciated) but if you don't set the trials and have all 0s in your outcome, the trial number is set to 0 and the model returns the prior.
Probably doesn't require a fix (perhaps a warning), but I thought I should add an issue in case! :)
mod2 <- brm(y |trials(1) ~ 1, family = binomial(link = "logit"), data = data.frame(y = rep(0,1000)), backend = "cmdstanr")
vs
mod2b <- brm(y ~ 1, family = binomial(link = "logit"), data = data.frame(y = rep(0,1000)), backend = "cmdstanr")
The text was updated successfully, but these errors were encountered: