Description Usage Arguments Details Value Author(s) References See Also Examples
Displays a plot showing the posterior probability distribution of one of the parameters of interest, the difference in means by default.
1 2 3 4 5 |
x |
an object of class |
which |
one of "mean", "sd", "effect" or "nu" or an abbreviation of one of these; indicates which estimate to plot. For a comparison of two groups, "mean" and "sd" display the difference in means or standard deviation. |
credMass |
the probability mass to include in credible intervals, or NULL to suppress plotting of the credible interval. |
ROPE |
a two element vector, such as |
showCurve |
logical: if TRUE, the posterior density will be represented by a kernel density function instead of a histogram. |
compVal |
a value for comparison with the (difference of) parameters. |
mainColor |
an optional color name such as |
dataColor |
an optional color name such as |
comparisonColor |
a optional color name such as |
ROPEColor |
a optional color name such as |
... |
other graphical parameters. |
The posterior distribution is shown as a histogram or density curve (if showCurve = TRUE
), together with the Highest Density Interval. A ROPE and comparison value are also shown if appropriate.
The probability that the difference in means (or effect size, etc.) is precisely zero is zero. More interesting is the probability that the difference may be too small to matter. We can define a region of practical equivalence (ROPE) around zero, and obtain the posterior probability that the true value lies therein.
Returns an object of class histogram
invisibly. Used mainly for the side effect.
Mike Meredith, adapted from code by John Kruschke.
Kruschke, J. K. 2013. Bayesian estimation supersedes the t test. Journal of Experimental Psychology: General 142(2):573-603. doi: 10.1037/a0029146
plotAll
for a single plot showing all the parameters, summary
for values of the corresponding summary statistics and pairs
for a scatterplot matrix plot and correlation coefficients.
1 | # See examples in BEST-package.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.