Compute a reasonable vector for lower bound and upper bond, MATLAB Programming

Assignment Help:

You are a quant analyst reporting directly to a portfolio manager. Your manager requires you to generate a simple code to compute several statistics for the following potential portfolio;

Potential Portfolio

S&P 500 - long USD 10000

NASDAQ - long USD10000

Dow Jones Industrial Average - Long USD30000

United States Oil Fund - Short USD40000

United States Natural Gas Fund - Short USD10000

*The current position is given by

Current Portfolio

S&P 500 - long USD 15000

NASDAQ - long USD15000

Dow Jones Industrial Average - Long USD30000

United States Oil Fund - long USD20000

United States Natural Gas Fund - Long USD10000

In order to start your analysis, visit Yahoo Finance to download the weekly prices for the above securities /indices between 2 Jan 2009 to 31 Dec 2010

You are required to compute the portfolio statistics for the potential execution and current portfolio.

Current Portfolio

1. Prepare a MATLAB code that generates the following output; portfolio historical mean, portfolio volatility, skew and kurtosis, Sharpe Ratio and Max Drawdown. The required inputs are as follows; weekly return matrix R, weight vector w, a vector that allows user to include lower and upper bound on each position if he wishes to.

2. Compute a 95% confidence interval Value at Risk for the portfolio using a Cornish Fisher expansion.

3. Compute the annualized return and volatility of the portfolio. State clearly any underlying assumptions based on your approach taken.

4. Your manager would like you to optimize his current portfolio. Run an optimization of the function that you wrote in 1), (you may use the optimizer provided in MATLAB, but make sure you state clearly the steps and your chosen optimizer as your manager will need to know how to run the code in your absence). You are not supposed to use solver in excel. Report the optimized results.

Potential Portfolio

1. Using your codes prepared earlier perform the same computation in 1) for the potential portfolio. Explain in detail how you account for the negative positions in your portfolio.

2. Run the optimization again and report your findings.

3. Your manager for some reasons has specifically mentioned that he wants to short both the United States Oil Fund and United States Natural Gas Fund. Compute a reasonable vector for the lower bound and upper bound for the potential portfolio and use these vectors as a constraint for running an optimization of the potential portfolio. Report your findings.


Related Discussions:- Compute a reasonable vector for lower bound and upper bond

Create a new vector - vector manipulation, Write single MATLAB statements t...

Write single MATLAB statements to create these vectors from any vector Z. You can use vector Z shown as a sample input. Create a single m-file script (non-function) to containing a

Algebra, the cost t in hundreds of dollars of tuition and fees at many comm...

the cost t in hundreds of dollars of tuition and fees at many community college can be approximated by t=1/2c+5 where c is the number of credits for which a student registers. ( 2

CPM AND PERT, ACTIVITIES OF A PROJECT 1-2 1-3 1-4 1-5 2-6 3-6 3-7 4-7 5-7 7...

ACTIVITIES OF A PROJECT 1-2 1-3 1-4 1-5 2-6 3-6 3-7 4-7 5-7 7-6 6-8 7-8 THE COMMPANY LOSES 2,000 FOR EVERY WEEK THE PROJECT LASTS BEYOND 30 WEEKS. fOR EACH OF THE PROPOSALS; ACTIVI

Exact arithmetic, Run the MATLAB script sum = single(0); term = single(1); ...

Run the MATLAB script sum = single(0); term = single(1); n=1; while sum + term > sum sum = sum+term; n=n+1; term = 1/n; end n Explain what you think it is trying to do. What wou

Create a function to generate a sinusoidal signal, Create a function using ...

Create a function using mat lab to generate a sinusoidal signal. The parameters of the signal should have an Amplitude = 100, frequency = 100Hz, initial phase = 0, sample rate = 50

Tropical forest carbon balance, As shown in Figure 1, Ecosystem carbon (C) ...

As shown in Figure 1, Ecosystem carbon (C) cycles in a tropical forest can be modeled using three "compartments":  aboveground (AG), belowground (BG), and soil organic matters (SOM

Calculate the distance between the two cars, Two cars started to move from ...

Two cars started to move from zero position with (φ = 35) as shown. For the next four minutes, do the following: 1. Calculate each car's distance from the zero position (Distanc

Write Your Message!

Captcha
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