ulcer {SMPracticals} | R Documentation |
Recurrent Bleeding from Ulcers
Description
Data from 40 experiments to compare a new surgery for stomach ulcer with an older surgery.
Usage
data(ulcer)
Format
A data frame with 80 observations on the following 9 variables.
- author
Author of study from which data taken
- year
Year of publication
- quality
Assessment of quality of trial on which data based
- age
Mean age of patients
- r
Number of patients without recurrent bleeding
- m
Total number of patients
- bleed
a numeric vector
- treat
Factor giving control (C) or variants of new treatment
- table
Factor giving 2x2 table corresponding to each trial
Source
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.
References
Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 496.
Examples
data(ulcer)
glm(cbind(r,m-r)~table+treat,data=ulcer,family=binomial)