Matrix Decomposition
by Aleksander
03 May 2011
(Updated 19 Nov 2012)
Positive definite correlation matrix based on spectral decomposition. Now both for .m, C and Mex
|
Watch this File
|
| File Information |
| Description |
Matrix decomposition using, e.g. the Cholesky decomposition requires the correlation matrix to be positive definite. That is, the eigenvalues must all be positive. In finance, this is rarely the case, and one often observes negative eigenvalues, or zero eigenvalues. These two functions do essentially the same thing. One adjusts only the <= 0 eigenvalues, while the other adjusts those eigenvalues, but then also increases the other non-negative eigenvalues to compensate for the higher 'weight' given to the smaller eigenvalues. |
| Required Products |
Econometrics Toolbox
Financial Toolbox
Optimization Toolbox
Statistics Toolbox
MATLAB
|
| MATLAB release |
MATLAB 7.12 (R2011a)
|
| Other requirements |
The C programming code implementation is optimized for Intel 64-bit CPUs. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 20 Jul 2011 |
Removed one function |
| 05 Nov 2012 |
Updated description |
| 05 Nov 2012 |
Added screenshot |
| 19 Nov 2012 |
This update includes the program in C programming code, as well as a MEX implementation, providing potentially significant speed and memory handling enhancements. |
|
Contact us