Miscellaneous portfolio algorithms and utilities
masterBeyond standard allocation, the library provides several mathematical utilities for portfolio management:
Mathematical Utilities
- Post-processing: Rounding numerical weights or converting them into integer share counts.
- Efficient Frontier: Computation of the mean-variance efficient frontier and its corner portfolios using the critical line method.
- Nearest Portfolio: Computing the nearest mean-variance efficient portfolio to a given portfolio.
- Sensitivity Analysis: Generation of perturbed mean vectors, variances, and correlation matrices to test estimation error impacts.
- Optimization Extensions: Generic random subspace optimization and generic numerical optimization (e.g., grid search on the simplex).
- Data Generation: Random generation of mean vectors, variances, and correlation matrices.
- Shrinkage Estimators: Computation of shrinkage estimators for mean vectors and covariance matrices (e.g., Ledoit-Wolf) to reduce estimation errors.
- Matrix Repairing: Repairing indefinite or positive semi-definite correlation matrices using spectral methods or nearest correlation matrix algorithms.