Finance 3.0 - Social Network for Finance

Smart financial thinking

Finance 3.0

Correlation Matrix VBA Macro - by Simon Benninga

Simon Benninga, a visiting Professor of Finance at Wharton, has very kindly contributed this VBA macro which allows you to compute a correlation matrix easily in any Excel spreadsheet.

The statistical definition of a Correlation matrix is that it describes correlation among M variables. It is a square symmetrical MxM matrix with the (ij)th element equal to the correlation coefficient r_ij between the (i)th and the (j)th variable. The diagonal elements (correlations of variables with themselves) are always equal to 1.00.

From the finance and investing perspective, a correlation matrix is often useful to assess the dependence (or independence) of a basket of shares, and more importantly their relative attractiveness and performance.

We have attached a spreadsheet below with the macro already inserted for your ease of use.

If you would like to program the macro yourself, you can refer to the instructions in this article:

http://www.financialmodelingguide.com/analytical-tools/benninga-cor...

This contribution is additional material to Simon's book: Financial Modeling, 3rd Edition

Tags: benninga, correlation, correlation matrix, excel macro, simon benninga, vba, visual basic

Attachments:

Reply to This

© 2010   Created by Finance 3.0.

Badges  |  Report an Issue  |  Terms of Service

Sign in to chat!