Description Usage Format Details Source References Examples
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.
1 |
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. |
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.
Fleiss, JL. (1993) "The statistical basis of meta-analysis." Stat Methods Med Res. 2(2):121-45.
Guido Schwartzer. meta package.
1 2 3 4 5 6 7 8 9 10 | 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
|
Loading required package: metafor
Loading required package: Matrix
Loading 'metafor' package (version 2.0-0). For an overview
and introduction to the package please type: help(metafor).
outlooks m m.se m.lcl m.ucl exp.m.lcl
1 very positive -0.29192964 0.09641715 -0.4809038 -0.102955498 0.6182244
2 positive -0.20632151 0.07166324 -0.3467789 -0.065864147 0.7069616
3 no effect -0.08688794 0.04670630 -0.1784306 0.004654716 0.8365821
4 negative 0.03093472 0.11145478 -0.1875126 0.249382088 0.8290186
5 very negative 0.11859526 0.16358769 -0.2020307 0.439221242 0.8170698
6 very positive CL -0.11463327 0.04553815 -0.2038864 -0.025380138 0.8155550
7 positive CL -0.10960273 0.04422183 -0.1962759 -0.022929537 0.8217855
8 current effect -0.10784136 0.04372807 -0.1935468 -0.022135919 0.8240313
9 negative CL -0.09230408 0.04394890 -0.1784423 -0.006165820 0.8365723
10 very negative CL -0.09381100 0.04309084 -0.1782675 -0.009354510 0.8367186
exp.m exp.m.ucl tau2 Q Qpval
1 0.7468211 0.9021671 0.055423519 40.10502 3.062584e-06
2 0.8135715 0.9362580 0.023642726 22.19294 4.570705e-03
3 0.9167798 1.0046656 0.004893695 11.12221 1.948702e-01
4 1.0314182 1.2832322 0.089415808 68.77362 8.618452e-12
5 1.1259141 1.5514985 0.218144005 161.27487 8.656072e-31
6 0.8916931 0.9749392 0.004223148 10.63210 2.234288e-01
7 0.8961901 0.9773313 0.003712296 10.32051 2.432470e-01
8 0.8977700 0.9781073 0.003531511 10.20972 2.506139e-01
9 0.9118278 0.9938531 0.003687515 10.33902 2.420328e-01
10 0.9104548 0.9906891 0.003356740 10.12555 2.563241e-01
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.