varmeta | R Documentation |
Performs a random effects meta-analysis for variances.
varmeta(sample_var, degf, mu_mean, n.iter = 10000, ...)
sample_var |
numeric vector with the sample variances from historical clinical trials |
degf |
numeric vector with the degrees of freedom of the sample variances |
mu_mean |
mean of the normal prior for the mean |
n.iter |
number of iterations to monitor in the R function |
... |
Additional arguments for the R functions |
The function varmeta
performs a random effect meta-analysis
for variance.
The model is as proposed by Schmidli et al., i.e. the log-variance are
modeled using a normal hierarchical model with normal prior of the mean
and a half-normal prior for the (between-trial) standard deviation.
An mcmc.list
object with the posterior predictive for the variance
(map_variance
), the posterior for the mean of the log variance (mu
),
and the between-trial standard deviation of the log-variance (tau
)
Schmidli H, Neuenschwander B, Friede T. Meta-analytic-predictive use of historical variance data for the design and analysis of clinical trials. Computational Statistics & Data Analysis (2016).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.