Description Details Author(s) References Examples
This package provides functions to identify and classify inaccurate heterogeneity priors (i.e. priors for the between-study standard deviation) in the Bayesian normal-normal hierarchical model used for Bayesian meta-analysis. It implements the methodology proposed in Ott et al. (2021).
A heterogeneity prior is called inaccurate if it does not assign equal probability mass to both sides of the true between-study standard deviation. Whereas an anticonservative heterogeneity prior puts more than half of its probability mass on heterogeneity values that are smaller than the true value, a conservative heterogeneity prior puts more than half of its probability mass on heterogeneity values that are larger than the true value.
The main function prior_accuracy
() provides sensitivity estimates for identification of inaccurate heterogeneity priors and classifies the specified heterogeneity prior as either anticonservative or conservative.
For the special cases of half-normal (HN) and half-Cauchy (HC) heterogeneity priors, the functions HN_accuracy
() and HN_accuracy
() are recommended, which apply a simplified algorithm.
The function effective_rlmc
() computes the relative latent model complexity (RLMC) associated with a heterogeneity prior and a data set.
The function pri_par_adjust
() implements the novel 50%-RLMC-based prior adjustment introduced in Ott et al. (2021). This function determines the scale parameter of certain one-parameter distributions (HN, HC, EXP (exponential), LMX (Lomax) with shape parameter = 1) for a given target RLMC, a tail probability and a data set.
In order to unify notation, the heterogeneity priors are defined
as scaled distributions tau ~ A_0 |X|,
where A_0 is a scale parameter and
X is the standard form of the distribution.
The package also contains two medical meta-analysis data sets including a small (2 or 3) number of studies, which are used in Ott et al. (2021):
the steroid-resistant rejection (SRR) and the kidney disease (KD) data sets.
These data sets can be loaded by specifying data(srr)
and data(kd)
.
Package: pa4bayesmeta
Type: Package
Title: Prior accuracy for Bayesian meta-analysis
Version: 0.1-4
Date: 2021-08-01
Author: Manuela Ott [aut, cre], Malgorzata Roos [aut]
Maintainer: Manuela Ott <manuela.c.ott@gmail.com>
Depends: bayesmeta
License: GPL (>=2)
Manuela Ott, Malgorzata Roos Maintainer: Manuela Ott <manuela.c.ott@gmail.com>
Ott, M., Hunanyan, S., Held, L., Roos, M. Sensitivity-based identification of inaccurate heterogeneity priors in Bayesian meta-analysis. Submitted to Statistical Methods in Medical Research. 2021.
Ott, M., Hunanyan, S., Held, L., Roos, M. Supplementary Material: Sensitivity-based identification of inaccurate heterogeneity priors in Bayesian meta-analysis. Submitted to Statistical Methods in Medical Research. 2021.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # load the steriod-resistant rejection (SRR) data analyzed in Friede et al. (2017)
data(srr)
# sensitivity-based accuracy estimation & classification for
# the uniform heterogeneity prior on [0, 4] and the SRR data
prior_accuracy(df = srr,
r.tau.prior = function(t) runif(t, min = 0, max = 4))
# sensitivity-based accuracy estimation & classification for
# the HN(1) prior and the SRR data
HN_accuracy(df = srr, scale.HN = 1,
mu.mean = 0, mu.sd = 4)
# summary statistics for MC sample of RLMC values
# for the HN(0.5) prior and the SRR data
effective_rlmc(df = srr, r.tau.prior = function(n) rhalfnormal(n = n, scale = 0.5),
output = "summary")
# 50%-RLMC-based adjustment of HN and HC priors used in Ott et al. (2021)
# with target RLMC 0.5
pri_par_adjust(df = srr, rlmc = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.