testing treatment efficacy in clinical trials with repeated binary measurements and missing observations