I have `N` household observations from the Bangladesh wells example, with a binary outcome indicating whether household `i` switched away from its unsafe well and predictors involving distance to the nearest safe well, arsenic level, and in some models education. I want to fit a logistic regression for the switching probability.

My model is:
`c_dist100 = (dist - mean(dist)) / 100.0,`
`c_arsenic = arsenic - mean(arsenic),`
`da_inter = c_dist100 * c_arsenic,`
`educ4 = educ / 4.0,`
`switched_i ~ Bernoulli(p_i), for i = 1, ..., N,`
`logit(p_i) = alpha + beta_1 c_dist100_i + beta_2 c_arsenic_i + beta_3 da_inter_i + beta_4 assoc_i + beta_5 educ4_i, for i = 1, ..., N.`

Here:
`switched_i` is the observed binary outcome for observation i,
`alpha` is an unknown regression or location parameter,
`beta_1`, `beta_2`, and `beta_3` are the coefficients of centered distance, centered arsenic, and their interaction,
`beta_4` and `beta_5` are the coefficients of `assoc_i` and `educ4_i`,
`c_dist100_i`, `c_arsenic_i`, `da_inter_i`, and `educ4_i` are the transformed predictors for observation i,
`assoc_i` is the observed association predictor for observation i,
`N` is an observed index or count,
`arsenic` is an observed predictor,
`dist` is an observed predictor,
`educ` is an observed predictor.
