Calculate the covariance matrix of daily returns

Assignment Help Finance Basics
Reference no: EM132238154

Problem 1: Covariance Matrix Decomposition:

Download historical data from yahoo for 5 years and at least 100 companies or ETFs. In this problem we will look at the covariance matrix for these assets and its properties.

1. Clean the data so that your input pricing matrix is as full as possible. Fill in any gaps using a reasonable method of your choice.

2. Generate a sequence of daily returns for each underlying asset for each date.

3. Calculate the covariance matrix of daily returns and perform an eigenvalue decom- position on the matrix. How many positive eigenvalues are there? How many were negative? We know from theory that there should be no negative eigenvalues. If any are negative, what happened?

4. How many eigenvalues are required to account for 50% of the variance? How about 90%? Does this make sense to you?

Problem 2: Portfolio Construction: In Lecture 6, we defined a Lagrangian for portfolio with constraints by

L(ω, λ) = (R, ω) - a (ω, Cω) - ΣKk=1 λk((gk, ω) - ck) (1)

We can rewrite it in matrix form by defining tt to be the matrix whose rows are the vectors gk: ?g1 is the first row of G, g2 is the second, and so on. Also, let λ = (λ1, . . . , λK) be the vector of Lagrange multipliers, and c = (c1, . . . , cK) the vector of constraint values.

Then we can rewrite (1) in matrix form:

L(ω, λ) = (R, ω) - a (w, Cω) - (λ, Gω = c) (2)

1. Calculate the gradients ∇wL and ∇λL. (Hint: (λ, Gω) = (GTλ, ω>).

2. Use ∇ωL = 0 to solve for w in terms of λ and substitute the result into the equation ∇λL = 0. This gives equation for λ, which for me came out to be

GC-1GTλ = GC-1R-2ac

where C is the covariance matrix and c is the vector of constraint values. Please don't confuse them.

3. Form the matrix tt by imposing the budget constraint, which is (1, w) = 1, and another constraint that allocates 10% of the portfolio to the first 17 securities (to simulate a sector allocation). Using C from Problem 1, use your favorite method and the software package of your choice to invert GC-1GT in a nice, stable way. (Hint: consider my favorite method).

4. What does the resulting portfolio look like? Would it be acceptable to most mutual funds? If not, what would you to do to fix that?

Verified Expert

Because the covariance of the i-th random variable with itself is simply that random variable's variance, each element on the principal diagonal of the covariance matrix is the variance of one of the random variables.

Reference no: EM132238154

Questions Cloud

Describe how the industry involves the guest : Describe how the industry involves the guest in order to provide quality service and Summarize two service standards the industry uses to meet customer
At what price will your trade be executed : Question - Security Analysis - Suppose you have submitted an order to your broker to buy at market. At what price will your trade be executed
How many participants have missing values for medloinc : Examine univariate normality for each variable. What are your conclusions about the distributions? What transformations should be conducted
Show that V is a vector space over R : MATH1853 Assignment Questions - Let V be the set of real number functions, show that V is a vector space over R
Calculate the covariance matrix of daily returns : MF 796: Computational Methods in Mathematical Finance - Boston University - Calculate the price of the European Call option with many values for the damping
Issues the business is facing by using the tool : What can be done to further improve the problem/issues the business is facing by using the tool - What are they trying to achieve, improve or prevent
Analyze the implications and challenges of cost : Analyze the implications and challenges of cost, quality, and external forces on electronic health record (EHR) or electronic medical record (EMR) selection
What do you understand by magical realism : What do you understand by ‘magical realism'? How helpful is it to think of the Harry Potter series as an example of the genre?
Challenges that are currently facing the department : Discuss 5 major challenges that are currently facing the department. Discuss the impact of the Health Insurance Portability and Accountability Act (HIPAA)

Reviews

len2238154

2/20/2019 3:12:08 AM

Problem 1: Covariance Matrix Decomposition: Download historical data from yahoo for 5 years and at least 100 companies or ETFs. In this problem we will look at the covariance matrix for these assets and its properties.

Write a Review

Finance Basics Questions & Answers

  What is the value of this investment to you in 10 years

consider an investment that provides the following cash flows for 10 years no cash flows for 15 years after that 120

  Assuming that purchasing power parity ppp holds how many

a box of candy costs 28.80 swiss francs in switzerland and 17.5 in the united states. assuming that purchasing power

  1 which of the following is an acceptable method of

1. which of the following is an acceptable method of accounting for employee stock options?nbsp prospective methodfair

  Why is the reporting of control procedures required

Why is the reporting of control procedures required, and what information is disclosed about Starbucks' control procedures? Justify your response.

  How much should he set aside today for the purchase

The car will cost $54,626 at that time. Assume that Stephen can earn 5.89 percent (compounded monthly) on his money. How much should he set aside today for the purchase?

  Discuss the three forms of market efficiency

The purpose of this assignment is to allow the student an opportunity to explain what it means to have an efficient capital market.

  What is the portfolio standard deviation

Calculating A Two Security Portfolio Standard Deviation An investor puts 85% of their money in Stock 1 and the rest in Stock 2.

  What is the acceptance range for a 1% significance level

What is the acceptance range for a 5% significance level? What is the acceptance range for a 1% significance level?

  Evaluate walgreens performance against dec

Examine Walgreens', CVS Caremark's, and Rite Aid's 2009 financial performance in the table below. Evaluate Walgreens' performance against direct external.

  Discuss the degree of income inequality in the us

How does the degree of income inequality in the United States compare to that in similarly developed countries? How does U.S. income inequality compare.

  What internal controls are present in handling of crs

The Carmike 8 Cinema is a modern theatre located close to a college campus. The cashier, located in a box office at the entrance to the theatre.

  Difference between preferred stock and common stock

Why does the SEC require companies to exclude redeemable preferred stock from shareholders' equity even when redemption is not mandatory?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd