Learn R Programming

factorstochvol (version 0.8.1)

logvartimeplot: Plot log-variances over time.

Description

logvartimeplot plots the idiosyncratic and factor log-variances over time.

Usage

logvartimeplot(x, fsvsimobj = NULL, show = "both", maxrows = 5)

Arguments

x
Object of class 'fsvdraws', usually resulting from a call to fsvsample.
fsvsimobj
To indicate data generating values in case of simulated data, pass an object of type fsvsim (usually the result of a call to fsvsim).
show
If set to "fac", only factor log-volatilities will be displayed. If set to "idi", only idiosyncratic log-volatilities will be displayed. If set to "both", factor log-volatilities will be drawn first, followed by the idiosyncratic log-volatilities.
maxrows
Indicates the maximum number of rows to be drawn per page.

Value

Returns x invisibly.

Details

This function displays the posterior distribution (mean +/- 2sd) of log-variances of both the factors and the idiosyncratic series. If these haven't been stored during sampling, logvartimeplot produces an error.

See Also

Other plotting: comtimeplot, corimageplot, corplot, cortimeplot, facloadcredplot, facloaddensplot, facloadpairplot, facloadpointplot, facloadtraceplot, paratraceplot, plot.fsvdraws, voltimeplot