Directory of Open Source for Quantitative Finance and Trading
Username: Password: Not registered?
 
Quick Search:    (AJAX based: No need to press button)

QuantCode Forum Index
   QuantFinance
     Nearest Correlation Matrix in VBA
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
AGod
Posted on: 2013/2/8 7:54
Just popping in
Joined: 2013/2/8
From:
Posts: 1
Nearest Correlation Matrix in VBA
Hi,

I am looking for some simple VBA code for computing the Nearest Correlation Matrix to a Matrix that may not be positive semi-definite. This Matrix will be user-defined correlations between pairs of securities so will have a unit diagonal etc.

I am not looking for anything sophisticated or quick, just something that will do the basic job on a matrix of 20-30 securities on a one-off basis.

(of course, would ideally do this on Matlab, but need an excel-based solution in this situation)

Thanks

Alex
Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 
Similar Links:
Copyright © 2011 QuantCode Inc. All rights reserved.