paradensplot {stochvol} | R Documentation |
Probability Density Function Plot for the Parameter Posteriors
Description
Displays a plot of the density estimate for the posterior distribution of
the parameters mu
, phi
, sigma
(and potentially
nu
or rho
), computed by the density
function.
Usage
paradensplot(
x,
showobs = TRUE,
showprior = TRUE,
showxlab = TRUE,
mar = c(1.9, 1.9, 1.9, 0.5),
mgp = c(2, 0.6, 0),
simobj = NULL,
...
)
Arguments
x |
|
showobs |
logical value, indicating whether the observations should be
displayed along the x-axis. If many draws have been obtained, the default
( |
showprior |
logical value, indicating whether the prior distribution
should be displayed. The default value is |
showxlab |
logical value, indicating whether the x-axis should be
labelled with the number of iterations and the bandwith obtained from
|
mar |
numerical vector of length 4, indicating the plot margins. See
|
mgp |
numerical vector of length 3, indicating the axis and label
positions. See |
simobj |
object of class |
... |
further arguments are passed on to the invoked |
Details
paradensplot
is modeled after densplot
in the
coda
package, with some modifications for parameters that have
(half-)bounded support.
Value
Called for its side effects. Returns argument x
invisibly.
Note
You can call this function directly, but it is more commonly called by
the plot.svdraws
method.
See Also
Other plotting:
paratraceplot.svdraws()
,
paratraceplot()
,
plot.svdraws()
,
plot.svpredict()
,
volplot()