Example with calculating medians of binary outcome data