Description Usage Arguments Value
View source: R/effcientFrontierIpop.R
get the efficient frontier, no matter the covariance matrix is postive semidefinite or not
1 2 3 4 5 6 7 8 | eff.frontier_ipop(
returns,
covMat = NULL,
short = "yes",
risk.premium.up = 20,
thread = 3,
maxiter = 40
)
|
covMat |
The predefined covariance matrix |
short |
whether short selling is prohibited or not |
thread |
the multi threads number |
maxiter |
Maximum number of iterations |
retruns |
The return matrix of all the assets,T*N dimension |
risk.premim |
the maximum risk aversion parameter |
risk.increment |
the incremental of the risk aversion |
a data.frame include the weight, variance, return and shape ratio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.