In Modern Portfolio Theory, one is interested in allocating a certain amount of money into a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
In Modern Portfolio Theory, one is interested in allocating a certain amount of money into a set of N stocks. The portfolio w E RN is the normalized money invested in each stock such that the sum of this N dimensional vector is 1. This allocation process is formulated as the following optimization problem: minimize w Ew W subject to μw ≥ B w≥0 w 1 = 1, where is the given vector of expected stock returns, and is the given covariance matrix of the stock returns. In the above formulation, the objective w w is portfolio variance, and the first component of the constraints wis portfolio expected return, and 3 is the parameter that controls the lower bound of expected return. Intuitively, our goal is to minimize the risk we take under the certain level of money we earn. The solution to the above problem, w*, is often called the "Markowitz portfolio" or the "Mean-variance portfolio." Question (1) Argue whether this problem is convex or not. Question (2) Write a piece of code in Python and use CVXPY package to solve the above problem given the following values of B = {0, 0.005, 0.01, 0.015, 0.02, 0.025, 0.03, 0.035, 0.04, 0.045, 0.05, 0.055, 0.06}, with the following values of Σ and μ: Σ = 1.0 -0.003 0.02 -0.003 1.0 -0.15 1.0 μl = = [0.02, 0.003, 0.07]. For each solution w, compute the following quantities 0.02 -0.15 Portfolio Expected Return (3) T = W* fl B Portfolio Volatility (B) = w Ew Create a curve plot Portfolio Expected Return versus Portfolio Volatility. Question (3) If μw = 6, we say the inequality constraint Tw≥ Bis active at w. Otherwise, we say it is inactive. Create a curve plot μw versus 3. B Find for which the inequality constraint w≥ß is active. Explain what will happen if 30.07. Hint: Consider the constraint w≥ B. Question (4) Evaluating a set of portfolios with different 3 is necessary to choose the optimal hyperparameter (also called hyperparameter tuning). There are two main methods to conduct this repetitive evaluation. Method 1: Reconstruct the entire problem and plug in a new repeatedly, i.e., each problem is independent. Method 2: Use the CVXPY parameters function and only define the problem once². Please finish the following tasks: Write code of both methods for Question (2) (you might have already implemented one). Print the w with 3 = 0.01 of both methods and ensure that they are the same. Compare their speeds: How many times faster is the second method than the first method in this example? Question (5) Assume the constraint TwB changes to μTw formulated as the following optimization problem: minimize W subject to = B. Then the allocation process is w Zw T. μw = ß w≥ 0 w 1 = 1, Please solve the above problem given the following values of B = {0.005, 0.01, 0.015, 0.02, 0.025, 0.03, 0.035, 0.04, 0.045, 0.05, 0.055, 0.06} (Σ and μ remain the same as in Question (2)). Then finish the following tasks: Create a curve plot Portfolio Expected Return versus Portfolio Volatility. Explain how and why it is different from the curve in Question (2). In Modern Portfolio Theory, one is interested in allocating a certain amount of money into a set of N stocks. The portfolio w E RN is the normalized money invested in each stock such that the sum of this N dimensional vector is 1. This allocation process is formulated as the following optimization problem: minimize w Ew W subject to μw ≥ B w≥0 w 1 = 1, where is the given vector of expected stock returns, and is the given covariance matrix of the stock returns. In the above formulation, the objective w w is portfolio variance, and the first component of the constraints wis portfolio expected return, and 3 is the parameter that controls the lower bound of expected return. Intuitively, our goal is to minimize the risk we take under the certain level of money we earn. The solution to the above problem, w*, is often called the "Markowitz portfolio" or the "Mean-variance portfolio." Question (1) Argue whether this problem is convex or not. Question (2) Write a piece of code in Python and use CVXPY package to solve the above problem given the following values of B = {0, 0.005, 0.01, 0.015, 0.02, 0.025, 0.03, 0.035, 0.04, 0.045, 0.05, 0.055, 0.06}, with the following values of Σ and μ: Σ = 1.0 -0.003 0.02 -0.003 1.0 -0.15 1.0 μl = = [0.02, 0.003, 0.07]. For each solution w, compute the following quantities 0.02 -0.15 Portfolio Expected Return (3) T = W* fl B Portfolio Volatility (B) = w Ew Create a curve plot Portfolio Expected Return versus Portfolio Volatility. Question (3) If μw = 6, we say the inequality constraint Tw≥ Bis active at w. Otherwise, we say it is inactive. Create a curve plot μw versus 3. B Find for which the inequality constraint w≥ß is active. Explain what will happen if 30.07. Hint: Consider the constraint w≥ B. Question (4) Evaluating a set of portfolios with different 3 is necessary to choose the optimal hyperparameter (also called hyperparameter tuning). There are two main methods to conduct this repetitive evaluation. Method 1: Reconstruct the entire problem and plug in a new repeatedly, i.e., each problem is independent. Method 2: Use the CVXPY parameters function and only define the problem once². Please finish the following tasks: Write code of both methods for Question (2) (you might have already implemented one). Print the w with 3 = 0.01 of both methods and ensure that they are the same. Compare their speeds: How many times faster is the second method than the first method in this example? Question (5) Assume the constraint TwB changes to μTw formulated as the following optimization problem: minimize W subject to = B. Then the allocation process is w Zw T. μw = ß w≥ 0 w 1 = 1, Please solve the above problem given the following values of B = {0.005, 0.01, 0.015, 0.02, 0.025, 0.03, 0.035, 0.04, 0.045, 0.05, 0.055, 0.06} (Σ and μ remain the same as in Question (2)). Then finish the following tasks: Create a curve plot Portfolio Expected Return versus Portfolio Volatility. Explain how and why it is different from the curve in Question (2).
Expert Answer:
Answer rating: 100% (QA)
Question 1 The given optimization problem is a convex problem To show this we need to prove that the objective function and the constraints satisfy the conditions for convexity Objective Function The ... View the full answer
Related Book For
Posted Date:
Students also viewed these accounting questions
-
A charity groups target is to raise a certain amount of money in a year. At the end of the first month the group raised 36% of the target amount, and at the end of each subsequent month they manage...
-
Suppose you want to deposit a certain amount of money into a savings account, and then leave it alone to draw interest for the next 10 years. At the end of 10 years, you would like to have $10,000 in...
-
A fuse prevents more than a certain amount of current from flowing in a particular circuit. What might happen if too much current were to flow? What determines how much is too much?
-
During 2018, Susan incurred and paid the following expenses for Beth (her daughter), Ed (her father), and herself: Surgery for...
-
Calhoun/Johnson Company d/b/a Williams Lumber Company (Williams) sold building materials to Donald Miller d/b/a Millercraft Construction Company (Millercraft) on credit. Miller had signed a personal...
-
Give an algorithm for drawing the part of a circle which lies in the first octant. Assume that the circle has integer radius and is centered at the origin. Assume that you have a function setpixel(x,...
-
Hotbox Ltd produces pizza boxes using two processes cutting and packaging. The production budget for the year ending 30 June 2025 estimated raw materials use of $400 000, factory overhead of $270...
-
To the closest year, how long will it take $200 to double if it is deposited and earns the following rates? [Notes: (1) See the hint for Problem 2-1. (2) This problem cannot be solved exactly with...
-
What are some strategies an interviewer can use to build rapport? What can be an issue if an applicant becomes too relaxed?
-
Quigley Corporations trial balance at December 31, 2020, is presented below. All 2020 transactions have been recorded except for the items described below. Unrecorded transactions and adjustments: 1....
-
Given the function f(x) = 2x3 + 6x - 48 -1, determine the intervals where the function is increasing and decreasing, and the intervals of concavity. Write the intervals using inequalities. f(x) is...
-
ACME Real Estate Developers has $100 million in a floating rate construction loan at LIBOR plus 2.0%. The forecast is for rising interest rates and the borrower is seeking an interest rate swap on...
-
Purpose This assignment is a team analysis exercise. It allows you to experience a team project and assess the team dynamics. It provides an opportunity for you to demonstrate your learning about the...
-
A company will be paying a dividend of $6.00 next period. if the cost of equity is 13%, what would be the approximate price of this stock today if the company is expected to grow at 4% for the...
-
21. Mr. Montzingo has the following auto insurance policy 50/100/25. Mrs. Yanzick and Mrs. Wooster are on their way to the dance club when Mr. Montzingo hits their car. It is Mrs. Wooster's car and...
-
If you want to construct a 95% confidence interval of a population mean and you only have a sample standard deviation calculated from a sample with a size 12, what is the critical value?
-
Using the following data: Month LCD Sold (Hundreds) Unemployment Rate (%) 4 90 6.2 5 80 6.0 6 70 6.8 a) Determine the linear equation. (10 marks) NG 7 75 8.0 As the Operations Manager at Gemini...
-
What are technical skills At what level are they most important and why?
-
The following data represent the number of different communication activities (e.g., cell phone, text messaging, e-mail, Internet, and so on) used by a random sample of teenagers over the past 24...
-
Suppose that events E and F are independent, P(E) = 0.8, and P(F ) = 0.5. What is P(E and F )?
-
The side-by-side bar graph on the next page shows the average grade point average for the years 19911992, 19961997, 20012002, and 20062007 for colleges and universities. (a) Does the graph suggest...
-
The annuity provides the highest income stream to the individual. A. Installment refund annuity. B. Joint and survivor annuity. C. Period certain. D. Single life annuity.
-
The key to successful planning for financial independence is to A. Accurately estimate an inheritance. B. Accurately estimate lifestyle needs. C. Accurately estimate the Consumer Price Index. D....
-
Which are true regarding an annuity? I. It is a contractual obligation to make periodic payments. II. The payments may be paid at some future date. III. The payments must begin immediately. IV. The...
Study smarter with the SolutionInn App