risk.port2:
Computes optimal weights of portfolio based on risk measures
Description
Computes optimal weights of portfolio strategy based on risk measures
(StD, VaR, EL, ELD, ES, SDR, EVaR, DEVaR, ENT, DENT, ML)
by maximization of the ratio between composed position return and risk. Weights are restricted to be non-negative and with unit sum.
Usage
risk.port2(x, alpha = c(0.05), beta = 1, p = 2)
Arguments
x
a matrix of observations with each column representing an asset.
alpha
a vector of probabilities for significance level.
beta
a positive risk aversion parameter.
p
a positive value for the power of deviation terms.
Value
An array with optimal weight for each risk measure at all probabilities of interest for every asset in the portfolio.