Displays the estimated latent volatility process over time.
# S3 method for stochvolTMB
plot(x, ..., include_ci = TRUE, plot_log = TRUE, dates = NULL, forecast = NULL)
ggplot object with plot of estimated estimated volatility.
A stochvolTMB
object returned from estimate_parameters.
Currently not used.
Logical value indicating if volatility should be plotted with approximately 95% confidence interval.
Logical value indicating if the estimated should be plotted
on log or original scale. If plot_log = TRUE
the process h is
plotted. If plot_log = FALSE
100 sigma_y
exp(h
/ 2) is
plotted.
Vector of length ncol(x$nobs), providing optional dates for labeling the x-axis. The default value is NULL; in this case, the axis will be labeled with numbers.
Integer specifying number of steps to forecast.