Stein's Orthogonally Invariant Shrinkage Covariance Estimator
Stein's estimator keeps the eigenvectors of the sample covariance matrix but replaces its eigenvalues by corrected values that pull the largest down and the smallest up. The correction depends on the gaps between eigenvalues, and a pooling step keeps the corrected eigenvalues positive and in order, giving a better-conditioned covariance than the sample matrix.
스타인 추정량은 표본 공분산 행렬의 고유벡터는 그대로 두고 고유값을 보정하여, 가장 큰 값은 낮추고 가장 작은 값은 높입니다. 보정량은 고유값 사이 간격에 따라 정해지고, 합치기 단계로 보정된 고유값이 양수이면서 순서를 지키게 하여 표본 행렬보다 조건이 좋은 공분산을 줍니다.
My sample covariance matrix has too spread-out eigenvalues for the number of observations; how can I correct them without choosing a shrinkage target?
관측치 수에 비해 표본 공분산 행렬의 고유값이 지나치게 퍼져 있을 때, 수축 목표를 정하지 않고 어떻게 보정할 수 있는지 알고 싶습니다.
The eigenvalues l of the sums-of-squares matrix are divided by alpha = n - p + 2 l times the sum of 1 over the eigenvalue gaps. Where an alpha is not positive or the ratios are out of order, neighbouring eigenvalues are pooled by the Lin and Perlman procedure. The table compares sample and corrected eigenvalues, and the condition number and log determinant of the new estimate are reported.
When to use Stein's Orthogonally Invariant Shrinkage Covariance Estimator
- The number of variables is a sizeable fraction of the sample size and the sample eigenvalues are too dispersed.
- You need a well-conditioned covariance for Mahalanobis distances, discriminant analysis or portfolio weights.
- You prefer a correction that does not shrink toward a chosen target matrix.
When to use something else
- There are more variables than observations: use Ledoit-Wolf Shrinkage Covariance Estimation
- You want a robust covariance resistant to outliers: use Robust Multivariate Outlier Detection (MCD)
- You want to summarise the covariance by a few components: use Principal Component Analysis (PCA)
Assumptions and requirements
- Rows are independent and approximately multivariate normal
- n - 1 is at least the number of variables
- Sample eigenvalues are distinct
What the analysis reports
- Sample and Stein eigenvalues with alpha and pooling blocks
- Condition numbers before and after
- Trace and log determinant of the estimate
- The estimated covariance matrix (up to 30 variables)
How to report it
Stein's estimator for [value] variables (n = [value]) lowered the condition number of the covariance from [value] to [value], pooling [value] eigenvalues.
Related methods
- Ledoit-Wolf Shrinkage Covariance Estimation
- Principal Component Analysis (PCA)
- Robust Multivariate Outlier Detection (MCD)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Stein's Orthogonally Invariant Shrinkage Covariance Estimator on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.