View source: R/ldhmm-forecast_volatility.R
ldhmm.forecast_volatility | R Documentation |
This utility computes the volatility forecast based on the given future observations for next one period.
ldhmm.forecast_volatility(object, x, xf, ma.order = 0, days.pa = 252)
object |
an ldhmm object |
x |
numeric, the observations. |
xf |
numeric, the future observations to be forecasted. |
ma.order |
a positive integer or zero, specifying order of moving average. Default is zero. |
days.pa |
a positive integer specifying trading days per year, default is 252. |
matrix of future observations and volatilities, size of 2 times length of xf
.
Stephen H. Lihn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.