minMAD | R Documentation |
Compute minimum mean–absolute-deviation portfolios.
minMAD(R, wmin = 0, wmax = 1,
min.return = NULL, m = NULL, demean = TRUE,
method = "lp",
groups = NULL, groups.wmin = NULL, groups.wmax = NULL,
Rglpk.control = list())
R |
a matrix of return scenarios: each column represents one asset; each row represents one scenario |
wmin |
minimum weight |
wmax |
maximum weight |
min.return |
a minimum required return; ignored if |
m |
a vector of expected returns. If NULL, but |
demean |
logical. If |
method |
string. Supported are |
groups |
group definitions |
groups.wmin |
list of vectors |
groups.wmax |
list of vectors |
Rglpk.control |
a list |
Compute the minimum mean–absolute-deviation portfolio for a given scenario set.
The function uses Rglpk_solve_LP
from package
Rglpk.
a vector of portfolio weights
Enrico Schumann
Konno, H. and Yamazaki, H. (1991) Mean-Absolute Deviation Portfolio Optimization Model and Its Applications to Tokyo Stock Market. Management Science. 37 (5), 519–531.
minvar
, minCVaR
na <- 10
ns <- 1000
R <- randomReturns(na = na, ns = ns,
sd = 0.01, rho = 0.8, mean = 0.0005)
minMAD(R = R)
minvar(var(R))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.