Description Usage Arguments Value Author(s) References Examples
This function implements EWMA for a vector of assets returns.
1 | mu_ewma(R, lambda = 0.96)
|
R |
A vector, matrix, data.frame, xts, timeSeries or zoo object to be checked and coerced. |
lambda |
A number between 0 and 1. |
A vector of assets expected returns.
Bernardo Reckziegel
Longerstaey, Jacques, and Martin Spencer. Riskmetrics technical document. Morgan Guaranty Trust Company of New York: New York 51 (1996): 54.
1 | mu_ewma(EuStockMarkets, lambda = 0.96)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.