aarp {blm} | R Documentation |
Nested case-control data set of bladder cancer in the NIH-AARP Diet and Health Study
Description
The aarp
data set is a nested case-control study of bladder cancer outcomes in the NIH-AARP Diet and Health Study. The data set is intended for demonstration purposes only.
Usage
aarp
Format
bladder70: | indicator of bladder cancer by age 70 years |
female: | indicator of female gender |
smoke_status: | factor of smoking status (four categories) |
w: | inverse of sampling fraction |
redmeat: | total daily redmeat consumption (grams/day) |
fiber.centered: | total daily fiber consumption (grams), centered on sample median |
educ: | factor of education status (six categories) |
Source
National Cancer Institute. National Institutes of Health AARP Diet and Health Study. https://dceg.cancer.gov/research/who-we-study/nih-aarp-diet-health-study. Accessed: 12/10/2012
Examples
data(aarp)
# ABSOLUTE RISK OF BLADDER CANCER BY 70 YEARS
# FOR DIFFERENT GENDER AND RISK GROUP
fit <- blm(bladder70~female * smoke_status,
data = aarp,
weight=aarp$w)
# INTERCEPT IS BASELINE RISK
# ALL OTHER COEFFICIENTS ARE RISK DIFFERENCES FROM BASELINE
summary(fit)
[Package blm version 2022.0.0.1 Index]