plotPriorPost {TreeBUGS} | R Documentation |
Plot Prior vs. Posterior Distribution
Description
Allows to judge how much the data informed the parameter posterior distributions compared to the prior.
Usage
plotPriorPost(
fittedModel,
probitInverse = "mean",
M = 2e+05,
ci = 0.95,
nCPU = 3,
...
)
Arguments
fittedModel |
|
probitInverse |
which latent-probit parameters (for
|
M |
number of random samples to approximate prior distributions |
ci |
credibility interval indicated by vertical red lines |
nCPU |
number of CPUs used for parallel sampling. For large models and many participants, this may require a lot of memory. |
... |
arguments passed to |
Details
Prior distributions are shown as blue, dashed lines, whereas posterior distributions are shown as solid, black lines.
[Package TreeBUGS version 1.5.0 Index]