During several studies of the oral antifungal agent terbinafine, a proportion of the patients in the trial terminated treatment due to some adverse effects. In the data set, \(y_i\) is the number of terminated treatments and \(n_i\) is the total number of patients in the in the \(i^{th}\) trial.
data("terb")
A data frame of \((y_i, n_i)\) for \(i = 1,...,41\).
y
number of patients who terminated treatment early in the \(i^{th}\) trial
n
total number of patients in the \(i^{th}\) clinical trial