The Variance-Covariance Matrix constructed in the preceding chapter produces figures that are mathematically correct but practically difficult to interpret. The numbers are too small in absolute terms to convey meaningful insight about the relationships between stocks. Converting the Variance-Covariance Matrix into a Correlation Matrix solves this problem by expressing those relationships on a standardised scale that is immediately comparable across all stock pairs.
Correlation (x, y) = Covariance (x, y) divided by (Standard deviation of x multiplied by Standard deviation of y)
Where Cov (x, y) represents the covariance between the two stocks, sigma x represents the standard deviation of stock x, and sigma y represents the standard deviation of stock y.
When a portfolio contains more than two stocks, calculating all possible correlations requires a matrix operation rather than individual pairwise calculations. The resulting matrix has dimensions of n by n, where n equals the number of stocks in the portfolio. For a five-stock portfolio, this produces a 5 by 5 matrix containing 25 correlation values.
The numerator of the correlation formula is the Variance-Covariance Matrix already calculated. The denominator requires the product of the standard deviations for every possible pair of stocks in the portfolio.
The first task is to calculate the standard deviation of daily returns for each stock individually. In Excel, this is done using the STDEV function applied to the daily returns array for each stock. This produces five standard deviation figures, one for each holding in the portfolio.
Once the individual standard deviations are in place, matrix multiplication is used to calculate the product of every possible combination across the portfolio. This is achieved by multiplying the standard deviation array by its own transpose, following the same array multiplication logic used in the previous chapter. The skeleton of the n by n matrix is set up first, all cells are kept selected, and the MMULT function is applied to the standard deviation array and its transpose. As with all array functions in Excel, the operation must be confirmed using Ctrl plus Shift plus Enter rather than Enter alone. The result is a 5 by 5 matrix of standard deviation products covering all possible stock pairings.
With the numerator and denominator both in matrix form, the Correlation Matrix is produced by dividing the Variance-Covariance Matrix element by element by the standard deviation product matrix. This division is again performed as an array operation, requiring Ctrl plus Shift plus Enter to execute correctly.
The resulting Correlation Matrix presents a far more interpretable set of figures than the Variance-Covariance Matrix. Each value in the matrix is a correlation coefficient falling between minus one and plus one.
The matrix is read in the same way as the Variance-Covariance Matrix. To find the correlation between any two stocks, one locates the row corresponding to one stock and reads across to the column corresponding to the other. Because correlation is symmetrical, the value at row A, column B is always identical to the value at row B, column A. Both positions in the matrix will show the same figure.
To illustrate, consider the correlation between the pharmaceutical company and the specialty chemicals manufacturer in the portfolio. Examining the pharmaceutical company’s row across to the specialty chemicals column produces a correlation of 0.2315. Examining the specialty chemicals row across to the pharmaceutical column returns the identical figure. The matrix confirms this symmetry throughout.
The values running along the diagonal of the matrix, where each stock intersects with itself, always equal exactly 1. This is mathematically inevitable: any variable is perfectly correlated with itself. These diagonal values serve as a useful check that the matrix has been constructed correctly.
The figures above and below the diagonal are mirror images of each other, reflecting the symmetrical nature of correlation. This structure makes the matrix straightforward to navigate once the layout is understood.
The Correlation Matrix gives investors and portfolio analysts a clear, comparable picture of how every stock in the portfolio relates to every other. Low correlation values between holdings confirm that the portfolio is genuinely diversified, with each stock responding to different market conditions. High positive correlations between multiple holdings would suggest that the portfolio carries more concentrated risk than the number of stocks alone might imply.
This insight directly informs decisions about asset allocation and position sizing, both of which have a substantial bearing on overall portfolio risk and returns. With the Correlation Matrix in place, the next step is to use these figures alongside the Variance-Covariance Matrix to calculate overall portfolio variance, which remains the ultimate objective of this analytical sequence.
By signing up, You agree to receive communication (including transactional messages) or by way of SMS/RCS (Rich Communication Services) and/or E-mail or through WhatsApp from the StoxBox in connection with the services or your registration on the platform. We may contact you telephonically or through emails to introduce new product/service offerings and in case of you do not want us to contact you, you are requested to actively opt out.
Disclosures and Disclaimer: Investment in securities markets are subject to market risks; please read all the related documents carefully before investing. The securities quoted are exemplary and are not recommendatory. Past performance is not indicative of future results. Details provided in the above newsletter are for educational purposes and should not be construed as investment advice by BP Equities Pvt. Ltd. Investors should consult their investment advisor before making any investment decision. BP Equities Pvt Ltd – SEBI Regn No: INZ000176539 (BSE/NSE), IN-DP-CDSL-183-2002 (CDSL), INH000000974 (Research Analyst), CIN: U45200MH1994PTC081564. Please ensure you carefully read the Risk Disclosure Document as prescribed by SEBI | ICF
Attention Investors
Issued in the interest of Investors
Communications: When You use the Website or send emails or other data, information or communication to us, You agree and understand that You are communicating with Us through electronic records and You consent to receive communications via electronic records from Us periodically and as and when required. We may communicate with you by email or by such other mode of communication, electronic or otherwise.
Investor Alert:
BP Equities Pvt Ltd (CIN:U67120MH1997PTC107392)
BP Comtrade Pvt Ltd (CIN:U45200MH1994PTC081564)
For complaints, send email on investor@bpwealth.com
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
