value_at_risk | R Documentation |
Value at Risk (VaR) method for predicted and simulated objects
value_at_risk(object, ...)
## S3 method for class 'gogarch.predict'
value_at_risk(object, weights = NULL, alpha = 0.05, ...)
## S3 method for class 'dcc.predict'
value_at_risk(object, weights = NULL, alpha = 0.05, ...)
## S3 method for class 'cgarch.predict'
value_at_risk(object, weights = NULL, alpha = 0.05, ...)
## S3 method for class 'gogarch.simulate'
value_at_risk(object, weights = NULL, alpha = 0.05, ...)
## S3 method for class 'dcc.simulate'
value_at_risk(object, weights = NULL, alpha = 0.05, ...)
## S3 method for class 'cgarch.simulate'
value_at_risk(object, weights = NULL, alpha = 0.05, ...)
object |
an object generated from the predict or simulate methods. |
... |
not used. |
weights |
a vector of weights of length equal to the number of series. If NULL then an equal weight vector is used. |
alpha |
the quantile level for the value at risk. |
a matrix of the value at risk. For predict type input objects this will be an xts matrix with index the forecast dates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.