All functions

washb_glm()

Generalized linear model function for the WASH Benefits study

washb_mean()

Estimate means with robust SEs

washb_mh()

Mantel-Haenszel pooled estimates of the prevalence ratio (PR) or the prevalence difference (PD) in the WASH Benefits trials

washb_permute()

Conditional permutation test using the Wilcoxon signed rank statistic in the WASH Benefits trials

washb_prescreen()

Pre-screen covariates using a likelihood ratio test.

washb_tmle()

Target maximum likelihood estimation of intention-to-treat effects in the WASH Benefits trials

washb_ttest()

Paired t-test for the WASH Benefits trials

Data

washb_bangladesh_anthro

dataset: Bangladesh anthropometry analysis

washb_bangladesh_diar

dataset: Bangladesh diarrhea analysis

washb_bangladesh_enrol

dataset: Bangladesh enrollment analysis

washb_bangladesh_track_compound

dataset: Bangladesh track compound analysis

washb_bangladesh_uptake

dataset: Bangladesh uptake analysis

washb_bang_tr

dataset: Bangladesh treatment assignments