Skip to content
Back to formatted view

Raw Message

Message-ID: <968880.42770.qm@web59510.mail.ac4.yahoo.com>
Date: 2009-02-11T10:44:53Z
From: Maithili Shiva
Subject: Generating Correlation matrix

Dear R helpers,

I have generated a portfolio of Equity, Dollar Rate and say zero coupon bond. I have calculated the daily returns based on the prices available for last two years.
  
Now, I have three seperate csv files (Equity.csv, Dollar.csv and Bond.csv) containing the respective returns. I need to calculate the correlation matrix between the retuns of these assets. Please guide me how this can be done in R.

I have attached the three csv files.

Thanking in advance

With regards

Maithili