Description Usage Arguments Value Examples
Estimates the expected returns of a dataset according to the user-defined function.
1 | mu_estim_wrapper(data, estim_func, ...)
|
data |
an nxp data matrix. |
estim_func |
an estimation function. |
... |
additional parameters, parsed to estim_func. |
a vector of expected returns
1 2 3 | data(sp500_rets)
sp_rets <- sp500_rets[,-1]
sigma_ml <- mu_estim_wrapper(sp_rets, estim_func=mu_estim_sample)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.