Estimates volatility of a return series by means of an exponentially weighted moving average.
ewma(x, lambda = 0.94)
a numeric vector of asset returns
decay factor for the calculation of weights; default is
Returns a numerical vector
vol that contains the computed
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.