Portfolio.PC | R Documentation |
An implementation of the PC portfolio weight optimization through parsimonious higher comoments estimation presented in the paper: Lassance and Vrins (2020) - Portfolio selection with parsimonious higher comoments estimation.
Portfolio.PC(
X,
r = NULL,
rmax = 10,
fn_sel = c("ER", "GR", "IC3", "ED"),
Port_obj = c("MVaR", "EU"),
alpha = 0.01,
gamma = 10,
Adjcov = c("DNL", "LI", "NONE"),
shortselling = T,
...
)
X |
A matrix or data frame with t rows (samples) and n columns (variables). |
r |
An integer, the number of factors. Default to |
rmax |
An integer, the maximum number of factors. Default to |
fn_sel |
Factor selection criterion (only need when |
Port_obj |
The portfolio objective function to be used: Modified Value-at-Risk " |
alpha |
The confidence level of MVaR (only need when |
gamma |
The risk averse parameter of CRRA utility function (only need when |
Adjcov |
The correction method of covariance matrix: " |
shortselling |
A logical parameter: whether the portfolio is allowed to shortselling, defalut to |
... |
Any other parameters. |
A list contains the optimal portfolio weight, the objective function value, the number of factors, the moments of factors and the moments of epsilon.
w
Optimal portfolio weight.
obj
The series of objective function value, the last one is the optimal objective value.
r
The number of factors.
mm_factor
The moments of factors.
mm_eps
The moments of epsilons.
mm_portfolio
The optimal moments of portfolio.
data(sp500)
Result = Portfolio.PC(sp500,fn_sel = "IC3",Port_obj = "MVaR",Adjcov = "NONE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.