muEst | R Documentation |
muEst returns a simple weighted average of the current return and the last period's return.
muEst(r, mu0, sigma0, win_level = 4, lambda = 0.9)
r |
Current period return |
mu0 |
Mean return from the last period |
sigma0 |
Estimate of volatility from the last period. If unavailable, set sigma0 = 0 |
win_level |
Number of standard deviations at which we winsorize (default: win_level =4) |
lambda |
Exponential weighting constant (default: lambda = 0.9) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.