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),`
`inter = c_dist100 * c_arsenic,`
`switched_i ~ Bernoulli(p_i), for i = 1, ..., N,`
`logit(p_i) = alpha + x_i^T beta, for i = 1, ..., N.`

Here:
`switched_i` is the observed binary outcome for observation i,
`x_i` is the predictor vector for observation i,
`alpha` is an unknown regression or location parameter,
`beta` is an unknown regression or location parameter,
`N` is an observed index or count,
`arsenic` is an observed predictor,
`dist` is an observed predictor.
