ulcer | R Documentation |
Data from 40 experiments to compare a new surgery for stomach ulcer with an older surgery.
data(ulcer)
A data frame with 80 observations on the following 9 variables.
Author of study from which data taken
Year of publication
Assessment of quality of trial on which data based
Mean age of patients
Number of patients without recurrent bleeding
Total number of patients
a numeric vector
Factor giving control (C) or variants of new treatment
Factor giving 2x2 table corresponding to each trial
Efron, B. (1996) Empirical Bayes methods for combining likelihoods (with Discussion). Journal of the American Statistical Association, 91, 538–565.
Errors in the data given in the paper have been corrected here.
Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 496.
data(ulcer)
glm(cbind(r,m-r)~table+treat,data=ulcer,family=binomial)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.