I have binary vote outcomes for individual respondents, together with demographic predictors and several crossed grouping factors: age, education, age-by-education category, state, and region. I want a multilevel logistic regression for vote choice.

My model is:
For respondent `i = 1, ..., N`,

`y_i ~ Bernoulli(p_i),`

`logit(p_i) = beta_1 + beta_2 black_i + beta_3 female_i + beta_4 v_prev_i + beta_5 female_i black_i + a_{age_i} + b_{edu_i} + c_{age_edu_i} + d_{state_i} + e_{region_i}.`

The group-level effects have hierarchical priors

`a_r ~ Normal(0, sigma_a),`
`b_r ~ Normal(0, sigma_b),`
`c_r ~ Normal(0, sigma_c),`
`d_r ~ Normal(0, sigma_d),`
`e_r ~ Normal(0, sigma_e),`

and the fixed effects satisfy

`beta_k ~ Normal(0, 100), for k = 1, ..., 5.`

The standard deviations have implicit uniform priors on `(0, 100)`:
`sigma_a, sigma_b, sigma_c, sigma_d, sigma_e ~ Uniform(0, 100).`

Here:
`y_i` is the observed binary vote outcome,
`black_i`, `female_i`, and `v_prev_i` are observed respondent-level predictors,
`age_i`, `edu_i`, `age_edu_i`, `state_i`, and `region_i` are the respondent's age category, education category, age-by-education category, state, and region indices,
`age`, `edu`, `age_edu`, `state`, and `region_full` are the corresponding observed index vectors in the data,
`a`, `b`, `c`, `d`, and `e` are age, education, age-by-education, state, and region effects,
`beta` is the vector of fixed-effect coefficients,
`sigma_a`, `sigma_b`, `sigma_c`, `sigma_d`, and `sigma_e` are the group-level standard deviations,
`N` is the number of respondents.

Parameterization notes:
In `Normal(mu, sigma)`, `sigma` is a standard deviation.
`logit(p) = log(p / (1 - p))`.
