Replication data and code for the manuscript “Making the most of imprecise measurements: Changing patterns of arsenic concentrations in shallow wells of Bangladesh from laboratory and field data” by Yuling Yao, Rajib Mozumder, Benjamin Bostick, Brian Mailloux, Charles F. Harvey, Andrew Gelman and Alexander van Geen.
The data folder contains all relevant data with self-explainable variable names.
The file spline_with_depth.stan
contains the main model we are working with.