|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.akutan.correlations.RMT
public class RMT
This class implements Random Matrix Theory methods for cleaning a correlation/covariance matrix and returning one which has had the noise element removed. This is done by taking the eigenvalues of the matrix, finding the theoretical band in which noisy eigenvalues will lie, making some modifications to the eigenvalues and the reassembling the matrix. There are a several ways to do this within the umbrella of RMT, this class will provide implementations of those multiple ways.
| Method Summary | |
|---|---|
static cern.colt.matrix.DoubleMatrix2D |
rmt(int n,
int t,
cern.colt.matrix.DoubleMatrix2D C)
This method updates the correlation matrix by removing all the noisy eigenvalues from the paper "Portfolio Optimization and the Random Matrix Problem", Rosenow, et al, Europhysics Letters, 59, (4) pp 500-506 (2002). |
static cern.colt.matrix.DoubleMatrix2D |
rmt0(int n,
int t,
cern.colt.matrix.DoubleMatrix2D C)
I would also like to make the algorithm used in Sharifi, et al, Physica A 335 (2004) 629-643. |
static cern.colt.matrix.DoubleMatrix2D |
scaledRmt(int n,
int t,
cern.colt.matrix.DoubleMatrix2D C)
This method updates the correlation matrix by removing all the noisy eigenvalues from the paper "Portfolio Optimization and the Random Matrix Problem", Rosenow, et al, Europhysics Letters, 59, (4) pp 500-506 (2002). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static cern.colt.matrix.DoubleMatrix2D rmt(int n,
int t,
cern.colt.matrix.DoubleMatrix2D C)
n - number of assetst - number of samplesC - nxn Correlation matrix
public static cern.colt.matrix.DoubleMatrix2D scaledRmt(int n,
int t,
cern.colt.matrix.DoubleMatrix2D C)
n - number of assetst - number of samplesC - nxn Correlation matrix
public static cern.colt.matrix.DoubleMatrix2D rmt0(int n,
int t,
cern.colt.matrix.DoubleMatrix2D C)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||