Conducts a sensitivity analysis for
An R object containing the outcome of a statistical analysis.
Currently, the following objects can be processed:
A character string containing the informative hypotheses to evaluate. See the vignette for elaborations.
A number representing the fraction of information in the data used to construct the prior distribution. The default value 1 denotes the minimal fraction, 2 denotes twice the minimal fraction, etc. See the vignette for elaborations.
Additional arguments passed to
The Bayes factor for equality constraints is sensitive to a
scaling factor applied to the prior distribution. The argument
fraction adjusts this scaling factor. The function
is a wrapper for
bain, which accepts a vector for the
fractions argument, and returns a list of bain results objects.
A table with a sensitivity analysis for specific statistics can be obtained
summary() function, which accepts the argument
summary(which_stat = ...). The available statistics are elements of
$fit table (Fit_eq, Com_eq, Fit_in, Com_in, Fit, Com, BF, PMPa,
and PMPb), and elements of the
BFmatrix, which can be accessed by matrix notation, e.g.:
summary(bain_sens, which_stat = "BFmatrix[1,2]").
data.frame of class
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.