I have a model as follows. It calculates the proportion of successful applications from total.
m = brm(admit|trials(applications) ~ sex, data = data, family = binomial())
When making predictions using “newdata” and tidybayes’es "epred_draws(), why I have to also specify “applications” in newdata? Otherwise “epred_draws()” wouldn’t run. Usually newdata only includes predictors and their levels. And how to choose a value for “applications”?
newdata = expand_grid(applicant.gender = c("female", "male"), dept = "A", applications = 1)