Last chance! 50% off unlimited learning
Sale ends in
Use the prior specifications proposed in the paper by Rhodes et al., based on an analysis of studies using standardized mean differences (SMD) that were published in the Cochrane Database of Systematic Reviews.
RhodesEtAlPrior(outcome=c(NA, "obstetric outcome",
"resource use and hospital stay / process",
"internal and external structure-related outcome",
"general physical health and adverse event and pain and quality of life / functioning",
paste("signs / symptoms reflecting continuation / end of condition and infection",
"/ onset of new acute / chronic disease"),
"mental health outcome", "biological marker", "various subjectively measured outcomes"),
comparator1=c("pharmacological", "non-pharmacological", "placebo / control"),
comparator2=c("pharmacological", "non-pharmacological", "placebo / control"),
area=c("other", "respiratory", "cancer"))
The type of outcome investigated (see below for a list
of possible values). The default (NA
) is the general
(marginal) setting, without considering meta-analysis
characteristics as covariates.
One comparator's type.
The other comparator's type.
The medical area.
a list with elements
the location and scale parameters (corresponding to the
logarithmic squared heterogeneity parameter
the corresponding type of outcome.
the corresponding type of comparison.
the medical context.
a function(tau)
returning the prior
density of
a function(tau)
returning the prior cumulative
distribution function (CDF) of
a function(p)
returning the prior quantile
function (inverse CDF) of
Rhodes et al. conducted an analysis of studies listed in the
Cochrane Database of Systematic Reviews that were investigating
standardized mean differences (SMD) as endpoints. As a result, they
proposed empirically motivated log-Student-RhodesEtAlParameters
) and are most conveniently accessed using
the RhodesEtAlPrior()
function.
The outcome
argument specifies the type of outcome
investigated. It may take one of the following values
(partial matching is supported):
NA
"obstetric outcomes"
"resource use and hospital stay / process"
"internal and external structure-related outcome"
"general physical health and adverse event and pain and quality of life / functioning"
"signs / symptoms reflecting continuation / end of condition and infection / onset of new acute / chronic disease"
"mental health outcome"
"biological marker"
"various subjectively measured outcomes"
.
Specifying “outcome=NA
” (the default) yields the
marginal setting, without considering meta-analysis
characteristics as covariates.
The comparator1
and comparator2
arguments together
specify the type of comparison in question. These may take one of the
following values (partial matching is supported):
"pharmacological"
"non-pharmacological"
"placebo / control"
.
Any combination is allowed for the comparator1
and
comparator2
arguments, as long as not both arguments are set to
"placebo / control"
.
The area
argument specifies the medical context; possible
values are:
"respiratory"
"cancer"
"other"
(the default).
Note that the location and scale parameters refer to the
logarithmic (squared) heterogeneity parameter bayesmeta()
function), you need to correct for the
square root transformation. Taking the square root is equivalent to
dividing by two on the log-scale, so the square root
will still be log-Student-t distributed, but with halved location and
scale parameters. The relevant transformations are already taken care
of when using the resulting $dprior()
, $pprior()
and
$qprior()
functions; see also the example below.
K.M. Rhodes, R.M. Turner, J.P.T. Higgins. Predictive distributions were developed for the extent of heterogeneity in meta-analyses of continuous outcome data. Journal of Clinical Epidemiology, 68(1):52-60, 2015.
C. Roever, R. Bender, S. Dias, C.H. Schmid, H. Schmidli, S. Sturtz, S. Weber, T. Friede. On weakly informative prior distributions for the heterogeneity parameter in Bayesian random-effects meta-analysis. arXiv preprint 2007.08352 (submitted for publication), 2020.
# NOT RUN {
# determine prior distribution for a specific setting:
RP <- RhodesEtAlPrior("obstetric", "pharma", "placebo")
print(RP$parameters)
str(RP)
# a prior 95 percent interval for tau:
RP$qprior(c(0.025,0.975))
# the general (marginal) setting:
RP <- RhodesEtAlPrior()
print(RP$parameters)
str(RP)
# a prior 95 percent interval for tau:
RP$qprior(c(0.025,0.975))
# }
# NOT RUN {
# load "metafor" package:
require("metafor")
# load data:
data("dat.normand1999")
# compute effect sizes (standardized mean differences):
es <- escalc(measure="SMD", m1i=m1i, sd1i=sd1i, n1i=n1i,
m2i=m2i, sd2i=sd2i, n2i=n2i,
slab=source, data=dat.normand1999)
# derive appropriate prior:
RP <- RhodesEtAlPrior("resource use", "non-pharma", "non-pharma")
# show (central) prior 95 percent interval:
RP$qprior(c(0.025, 0.975))
# show prior 95 percent upper limit:
RP$qprior(0.95)
# perform meta analysis:
bma <- bayesmeta(es, tau.prior=RP$dprior)
# show results:
print(bma)
plot(bma, which=4, prior=TRUE)
# }
Run the code above in your browser using DataLab