powered by
Compute the vectors of means (\(\mu_i\)) and standard deviations (\(sigma_i\)), for all the turning points of a CLA result.
CLA
MS(weights_set, mu, covar)
numeric matrix (\(n \times m\)) of optimal asset weights \(W = (w_1, w_2, \ldots, w_m)\), as resulting from CLA().
CLA()
expected (log) returns (identical to argument of CLA()).
covariance matrix of (log) returns (identical to argument of CLA()).
a list with components
list
numeric vector of length \(m\) of standard deviations, \(\sigma(W)\).
numeric vector of length \(m\) of means \(\mu(W)\).
CLA.
# NOT RUN { ## The function is quite simply MS ## and really an auxiliary function for CLA(). ## TODO: add small (~12 assets) example # }
Run the code above in your browser using DataLab