Last data update: 2014.03.03

R: Aspirin after Myocardial Infarction
Fleiss1993R Documentation

Aspirin after Myocardial Infarction

Description

A meta-analytic data set that includes 7 published placebo-controlled randomized studies of the effect of aspirin in preventing death after myocardial infarction. The data set also includes 2 (fictional) unpublished studies.

The defined binary outcome event is death, and is undesired. When using the function forestsens(), specify the option higher.is.better=FALSE.

Usage

data(Fleiss1993)

Format

A data frame with 9 observations on the following 8 variables.

number integer Study numeric id (optional)
study character Name of study or principal investigator
year integer Year (optional)
outlook factor Denotes whether a study is unpublished, and if so, what outlook it has.
ctrl.n integer The sample size of the control arm.
expt.n integer The sample size of the experimental arm.
ctrl.events integer The number of (undesired) events within the control arm.
expt.events integer The number of (undesired) events within the experimental arm.

Details

The outlook of a study can be one of the following: published, very positive, positive, negative, very negative, current effect, no effect, very positive CL, positive CL, negative CL, or very negative CL.

Since the outcome event is undesired, when using the function forestsens(), specify the option higher.is.better=FALSE.

Source

Fleiss, JL. (1993) "The statistical basis of meta-analysis." Stat Methods Med Res. 2(2):121-45.

References

Guido Schwartzer. meta package.

Examples

library(SAMURAI)
data(Fleiss1993)

forestsens(table=Fleiss1993, binary=TRUE, higher.is.better=FALSE)

# To assign all unpublished studies to each of ten outlooks, one at a time, 
# and then return a table of summary effects, their 95% confidence interval, 
# and tau-squared.
summtab <- forestsens(table=Fleiss1993, binary=TRUE, higher.is.better=FALSE, all.outlooks=TRUE)
summtab

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(SAMURAI)
Loading required package: metafor
Loading required package: Matrix
Loading 'metafor' package (version 1.9-8). For an overview 
and introduction to the package please type: help(metafor).
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/SAMURAI/Fleiss1993.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Fleiss1993
> ### Title: Aspirin after Myocardial Infarction
> ### Aliases: Fleiss1993
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(SAMURAI)
> data(Fleiss1993)
> 
> forestsens(table=Fleiss1993, binary=TRUE, higher.is.better=FALSE)
> 
> # To assign all unpublished studies to each of ten outlooks, one at a time, 
> # and then return a table of summary effects, their 95% confidence interval, 
> # and tau-squared.
> summtab <- forestsens(table=Fleiss1993, binary=TRUE, higher.is.better=FALSE, all.outlooks=TRUE)
> summtab
           outlooks           m       m.se      m.lcl         m.ucl exp.m.lcl
1     very positive -0.29483278 0.09736738 -0.4856693 -0.1039962177 0.6152852
2          positive -0.21458288 0.07358295 -0.3588028 -0.0703629493 0.6985121
3         no effect -0.08933507 0.04529531 -0.1781123 -0.0005578837 0.8368485
4          negative  0.02803942 0.10988452 -0.1873303  0.2434091247 0.8291698
5     very negative  0.11407407 0.16239163 -0.2042077  0.4323558112 0.8152930
6  very positive CL -0.11463327 0.04553815 -0.2038864 -0.0253801379 0.8155550
7       positive CL -0.11674933 0.04615193 -0.2072055 -0.0262932095 0.8128526
8    current effect -0.09729674 0.04259121 -0.1807740 -0.0138194990 0.8346240
9       negative CL -0.09545000 0.04270722 -0.1791546 -0.0117453827 0.8359766
10 very negative CL -0.09575656 0.04285924 -0.1797591 -0.0117539874 0.8354714
       exp.m exp.m.ucl        tau2          Q        Qpval
1  0.7446561 0.9012287 0.057122787  41.033946 2.054356e-06
2  0.8068779 0.9320555 0.025602242  23.326729 2.969139e-03
3  0.9145391 0.9994423 0.004249541  10.704539 2.190089e-01
4  1.0284362 1.2755904 0.086316037  66.598991 2.328371e-11
5  1.1208351 1.5408833 0.214600752 158.682210 3.016210e-30
6  0.8916931 0.9749392 0.004223148  10.632097 2.234288e-01
7  0.8898082 0.9740494 0.004476358  10.787024 2.140611e-01
8  0.9072867 0.9862756 0.003163349   9.996041 2.653039e-01
9  0.9089638 0.9883233 0.003211793  10.030227 2.629108e-01
10 0.9086852 0.9883148 0.003264069  10.063139 2.606223e-01
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>