An example of network meta-analysis for binary outcomes with exposure times in person-years reported.
data("dietaryfat")
A data frame containing 10 studies which compare 2 treatments. The total number of person-years at risk are reported for each treatment group in each study.
s.id
a numeric vector of study IDs.
t.id
a numeric vector of treatment IDs.
py
a numeric vector of the total person-years in each treatment group in each study.
r
a numeric vector of the total mortality in each treatment group in each study.
n
a numeric vector of the total number of participants in each treatment group in each study.
This network meta-analysis is reported by Hooper et al. (2000) to assess the effects of change in dietary fats on cardiovascular mortality. Treatment 1 is a control diet and treatment 2 is a reduced fat diet. Originally, study 2 compares three treatments, which include treatments 1 and 2, and another diet. Here, we treat these two different types of diet as the same treatment, but keep the treatment arms separate.