apaShrinkageEstimator.Covars.LedoitWolf.ConstantCorrelations(TimeSeriesMatrix)
=apaShrinkageEstimator.Covars.LedoitWolf.ConstantCorrelations(TimeSeriesMatrix)Result
Ledoit/Wolf constant correlation Bayesian shrinkage estimator for covariances. The historical covariance matrix is shrunk towards a target matrix with constant correlations.
Syntax
TimeSeriesMatrix: n x m time series matrix, each column containing a variable, each row a set of observations
Algorithm
… vector of ones
… vector of historical mean
returns
… historical covariance matrix
… shrunk covariance matrix
…target covariance matrix,
calculated from the historical average correlation matrix and historical
volatilities
… helper variables, as defined in
Appendix B in Ledoit/Wolf(2002)
… number of observations
Remarks
For details, see Ledoit/Wolf(2002): “Honey, I Shrunk the Sample Covariance Matrix”, Financial Analysts Journal.
Shrinks the population covariance matrix (denominator n).
