This function returns the marginal contributions to portfolio risk, whereby the latter is defined in terms of the portfolio standard deviation.
mrc(weights, Sigma, percentage = TRUE)numeric, the marginal risk contributions of the portfolio's
asset.
Vector: portfolio weights.
Matrix: Variance-covariance matrix of portfolio assets.
Logical, whether the marginal risk
contributions shall be returned as percentages that sum to 100
(default) or as decimal numbers.
Bernhard Pfaff
The marginal contributions to risk are computed for a given dispersion matrix and weight vector.