- d
a vector of effect sizes measured as Cohen's d / Hedges' g
(standardized mean differences)
- r
a vector of effect sizes measured as correlations
- logOR
a vector of effect sizes measured as log odds ratios
- OR
a vector of effect sizes measured as odds ratios
- z
a vector of effect sizes measured as Fisher's z
- y
a vector of unspecified effect sizes (note that effect size
transformations are unavailable with this type of input)
- se
a vector of standard errors of the effect sizes
- v
a vector of variances of the effect sizes
- n
a vector of overall sample sizes
- lCI
a vector of lower bounds of confidence intervals
- uCI
a vector of upper bounds of confidence intervals
- t
a vector of t/z-statistics
- study_names
an optional argument with the names of the studies
- study_ids
an optional argument specifying dependency between the
studies (for using a multilevel model). Defaults to NULL
for
studies being independent.
- data
a data object created by the combine_data
function. This is
an alternative input entry to specifying the d
, r
, y
, etc...
directly. I.e., RoBMA function does not allow passing a data.frame and
referencing to the columns.
- weight
specifies likelihood weights of the individual estimates.
Notes that this is an untested experimental feature.
- transformation
transformation to be applied to the supplied
effect sizes before fitting the individual models. Defaults to
"fishers_z"
. We highly recommend using "fishers_z"
transformation since it is the only variance stabilizing measure
and does not bias PET and PEESE style models. The other options are
"cohens_d"
, correlation coefficient "r"
and "logOR"
.
Supplying "none"
will treat the effect sizes as unstandardized and
refrain from any transformations.
- prior_scale
an effect size scale used to define priors. Defaults to "cohens_d"
.
Other options are "fishers_z"
, correlation coefficient "r"
,
and "logOR"
. The prior scale does not need to match the effect sizes measure -
the samples from prior distributions are internally transformed to match the
transformation
of the data. The prior_scale
corresponds to
the effect size scale of default output, but can be changed within the summary function.
- effect_direction
the expected direction of the effect. Correctly specifying
the expected direction of the effect is crucial for one-sided selection models,
as they specify cut-offs using one-sided p-values. Defaults to "positive"
(another option is "negative"
).
- model_type
string specifying the RoBMA ensemble. Defaults to NULL
.
The other options are "PSMA"
, "PP"
, and "2w"
which override
settings passed to the priors_effect
, priors_heterogeneity
,
priors_effect
, priors_effect_null
, priors_heterogeneity_null
,
priors_bias_null
, and priors_effect
. See details for more information
about the different model types.
- rescale_priors
a re-scaling factor for the prior distributions. The re-scaling
factor allows to adjust the width of all default priors simultaneously. Defaults to 1
.
- priors_effect
list of prior distributions for the effect size (mu
)
parameter that will be treated as belonging to the alternative hypothesis. Defaults to
a standard normal distribution
prior(distribution = "normal", parameters = list(mean = 0, sd = 1))
.
- priors_heterogeneity
list of prior distributions for the heterogeneity tau
parameter that will be treated as belonging to the alternative hypothesis. Defaults to
prior(distribution = "invgamma", parameters = list(shape = 1, scale = .15))
that
is based on heterogeneities estimates from psychology erp2017estimatesRoBMA.
- priors_bias
list of prior distributions for the publication bias adjustment
component that will be treated as belonging to the alternative hypothesis.
Defaults to list(
prior_weightfunction(distribution = "two.sided", parameters = list(alpha = c(1, 1),
steps = c(0.05)), prior_weights = 1/12),
prior_weightfunction(distribution = "two.sided", parameters = list(alpha = c(1, 1, 1),
steps = c(0.05, 0.10)), prior_weights = 1/12),
prior_weightfunction(distribution = "one.sided", parameters = list(alpha = c(1, 1),
steps = c(0.05)), prior_weights = 1/12),
prior_weightfunction(distribution = "one.sided", parameters = list(alpha = c(1, 1, 1),
steps = c(0.025, 0.05)), prior_weights = 1/12),
prior_weightfunction(distribution = "one.sided", parameters = list(alpha = c(1, 1, 1),
steps = c(0.05, 0.5)), prior_weights = 1/12),
prior_weightfunction(distribution = "one.sided", parameters = list(alpha = c(1, 1, 1, 1),
steps = c(0.025, 0.05, 0.5)), prior_weights = 1/12),
prior_PET(distribution = "Cauchy", parameters = list(0,1), truncation = list(0, Inf),
prior_weights = 1/4),
prior_PEESE(distribution = "Cauchy", parameters = list(0,5), truncation = list(0, Inf),
prior_weights = 1/4)
)
, corresponding to the RoBMA-PSMA model introduce by bartos2021no;textualRoBMA.
- priors_effect_null
list of prior distributions for the effect size (mu
)
parameter that will be treated as belonging to the null hypothesis. Defaults to
a point null hypotheses at zero,
prior(distribution = "point", parameters = list(location = 0))
.
- priors_heterogeneity_null
list of prior distributions for the heterogeneity tau
parameter that will be treated as belonging to the null hypothesis. Defaults to
a point null hypotheses at zero (a fixed effect meta-analytic models),
prior(distribution = "point", parameters = list(location = 0))
.
- priors_bias_null
list of prior weight functions for the omega
parameter
that will be treated as belonging to the null hypothesis. Defaults no publication
bias adjustment, prior_none()
.
- priors_hierarchical
list of prior distributions for the correlation of random effects
(rho
) parameter that will be treated as belonging to the alternative hypothesis. This setting allows
users to fit a hierarchical (three-level) meta-analysis when study_ids
are supplied.
Note that this is an experimental feature and see News for more details. Defaults to a beta distribution
prior(distribution = "beta", parameters = list(alpha = 1, beta = 1))
.
- priors_hierarchical_null
list of prior distributions for the correlation of random effects
(rho
) parameter that will be treated as belonging to the null hypothesis. Defaults to NULL
.
- algorithm
a string specifying the algorithm used for the model averaging. Defaults to "bridge"
which results in estimating individual models using JAGS and computing the marginal likelihood using bridge
sampling. An alternative is "ss"
which uses spike and slab like parameterization to approximate the
Bayesian model averaging with a single model. Note that significantly more sample
, burnin
, and
adapt
iterations are needed for the "ss"
algorithm.
- chains
a number of chains of the MCMC algorithm.
- sample
a number of sampling iterations of the MCMC algorithm.
Defaults to 5000
.
- burnin
a number of burnin iterations of the MCMC algorithm.
Defaults to 2000
.
- adapt
a number of adaptation iterations of the MCMC algorithm.
Defaults to 500
.
- thin
a thinning of the chains of the MCMC algorithm. Defaults to
1
.
- parallel
whether the individual models should be fitted in parallel.
Defaults to FALSE
. The implementation is not completely stable
and might cause a connection error.
- autofit
whether the model should be fitted until the convergence
criteria (specified in autofit_control
) are satisfied. Defaults to
TRUE
.
- autofit_control
allows to pass autofit control settings with the
set_autofit_control()
function. See ?set_autofit_control
for
options and default settings.
- convergence_checks
automatic convergence checks to assess the fitted
models, passed with set_convergence_checks()
function. See
?set_convergence_checks
for options and default settings.
- save
whether all models posterior distributions should be kept
after obtaining a model-averaged result. Defaults to "all"
which
does not remove anything. Set to "min"
to significantly reduce
the size of final object, however, some model diagnostics and further
manipulation with the object will not be possible.
- seed
a seed to be set before model fitting, marginal likelihood
computation, and posterior mixing for reproducibility of results. Defaults
to NULL
- no seed is set.
- silent
whether all print messages regarding the fitting process
should be suppressed. Defaults to TRUE
. Note that parallel = TRUE
also suppresses all messages.
- ...
additional arguments.