Compute the returns on the GMVP

Assignment Help Other Subject
Reference no: EM132365649

Financial Modelling and Coding Assignment - Project

Background - In this project we will consider some applications of volatility and covariance modeling, Value-at-Risk (VaR) calculations, and hedging and portfolio applications.

You will need to download price data on say 3 large stocks and the ASX200 Index. Get daily data for this project, going back around 10 years. You could get the data from Yahoo Finance, or Bloomberg (we have terminals in Z850) if you have some experience with that.

Saving a csv file: Once you have your price data ready in Excel, you can choose File, Save As, and then change the file type down the bottom of the save as dialog box from .xlsx to CSV by using the dropdown menu.

Task 1: VaR Calculation

Take the index returns and the returns on one stock. Use the EWMA smoothing algorithm we discussed in Slide 15 of the Volatility Lecture and also discussed in Section 12.5 of the Matlab Guide. You can start with the code smooth vol.m.

For both series do the following analysis:

  • Compute the conditional variance σt2 for each series.
  • Compute the 95% VaR for each day. Hint: Look at Slide 20 of the Volatility Lecture.
  • Plot the VaR. Does it behave how you would expect?
  • Count the proportion of days where the returns are below the 95% VaR. Is this number close to 5%?

Task 2: Hedging

Take the returns on the index and 1 of your individual stocks. This task involves comparing a fixed hedge to a conditional hedge ratio.

Undertake the following analysis for both of the individual stocks:

Compute a fixed β for the stock using the regression tools in Matlab.

Compute the hedged portfolio returns using the estimated β. Hint: Look back at slide 28 of the Volatility Lecture. In this task you only have one value for β everyday so that gives you the two portfolio weights for all days.

Using the multivariate EWMA compute a time varying βt from the conditional covariance matrix ∑^t. Hint: Recall from Slide 28 again you will need the conditional covariance (element (1,2) from your conditional covariance matrix for each day) and the conditional variance of the market return ((1,1) or (2,2) depending whether you put the index return first or second column in your matrix of returns to pass to the EWMA). Hint: You can use the multivariate EWMA we looked at in Practice Task 7 to generate the covariance matrix through time.

Compare the conditional βt to the fixed beta from the regression. Compute the hedged portfolio returns using the portfolio weights from the conditional βt and compare these returns to those from the portfolio based on the fixed β.

Task 3: Portfolio construction

Take the three individual stocks. In this task you'll use these stocks to for a GMVP. To do so undertake the following tasks:

Again use the multivariate EWMA to construct the conditional covariance matrix ∑^t. Hint: You can use the multivariate EWMA we looked at in Practice Task 7 to generate the covariance matrix through time.

IMPORTANT: After you have constructed the covariance matrix through time, you will have to remove the first say 20 days from it and all of the returns that you are using. Recall, if you want to remove (i.e. use from row 21 to the end of a vector) the first 21 rows of a vector then use: variable_name = variable_name(21 : end);

Use the same logic for matrices, or 3-D matrices/arrays

Using the conditional covariance matrix b t compute GMVP portfolio weights through time. Hint: Look back at slide 29 of the Volatility Lecture for the GMVP calculation. Hint: You will need to set up a matrix of the right size to store the weights.

Compute the returns on the GMVP.

Compare the GMVP returns to the returns from an equally weighted portfolio of the three stocks.

Reference no: EM132365649

Questions Cloud

Provide a summary of the Dixon and Isaacs article : 100897 Everyday Life Assignment, Western Sydney University, Australia. Provide an original summary of the 'Dixon and Isaacs' article
Produce a set of documentation drawings : Analyses and dissect as many forms of technical documentation related to your given house, to produce technical representations of your own as outlined
Draw diagram that shows the architecture of video processing : Discuss how a move to a microservice approach for these modules would resolve issues around workload peaks - Which modules are likely to be relatively stable
How can data analytics provide value to users : How can data analytics provide (business) value to users or organisations - How do cultural and organisational issues impact the data analytics
Compute the returns on the GMVP : EFB308 Financial Modelling and Coding Assignment - Project, Queensland University of Technology, Australia. Compute the returns on the GMVP
What are the factors that will influence the design : PPMP20009 - Implementing lean project management to build your dream home - What are the factors that will influence the design and layout of your dream home
Report the scientific developments relevant to given topic : Prepare a report according to the given guidelines in the assignment - learn current scientific and industry development on the topics related to unit content
Why the topic important for graduate recruits in engineering : BUSN20017 - Effective Business Communication - Why the topic important for graduate recruits in engineering/management
Solve each system of equations by the substitution method : Solve each system of equations by the substitution method. Write equivalent equations by multiplying both sides of each given equation

Reviews

len2365649

9/4/2019 4:29:09 AM

A general hint: Use the style of the code in the top part of Practice Task 7 to get all of your price data in and compute returns. Once you have done this one then you can use the same starting part of the code for all three tasks here. Style of your report: These are not research based questions so no need to get references or an introduction or literature review. Can you please put a short Data section with one paragraph at the start of your report just outlining the stocks chosen and time period for your data.

len2365649

9/4/2019 4:29:02 AM

The point of report is about explaining your code, what the different parts do and why you wrote the code that way. So you can copy small sections of your codes into your report and explain what each part is doing in the context of the required task. Finally you will have to provide an explanation of the results where required, use plots (Hint: Once you have figure plot up, you can Save As and save a jpg file are the like and just insert it as a picture into your Word doc.) where it will help. There is no set word or page limit, just explain your code and describe theresults where required.

Write a Review

Other Subject Questions & Answers

  Write about voucher program under human capital theory

Write a 4 page single-space article about Voucher program under human capital theory and social reproducing theory.

  Compare and contrast strategic resources and competencies

Describe the key elements of an organizational strategy. How would they be, or not be, relevant to the "strategic mindset" of an organization's management? Do you think these are learned or innate traits? Support your primary response with at le..

  The potentially positive effects of peer pressure

Question....Under what circumstances can peer pressure have positive effect? write an essay exploring the potentially positive effects of peer pressure. Explain your position with reasons and examples from your own experiences, observations, or ..

  What is the concept of social responsibility

What is the concept of social responsibility?

  Target market segment

Assume you work at a regional state university whose traditional target market--high school students within your region--is shrinking. Projections are that this target market segment will decrease approximately 5 percent per year over the next ten ye..

  Discuss duties not directly related to crime prevention

What are the arguments in favor of requiring local police to perform duties not directly related to crime prevention

  Legalizing medical marijuana

POSITION PAPER - Each student will have a specific topic of debate e-mailed to your centenary college accounts. Students will have the option of taking the pro or con side of the debate, Legalizing Medical Marijuana - PRO

  What is a clientele agency

Which branch of government can affect the operation of the federal bureaucracy?What was the purpose of the Hatch Act?

  Describing the elements for a valid contract

After the concert, Gerard tells Kids Care that he has decided not to donate the receipts to the organization. Is Gerard's promise enforceable despite the lack of consideration? Explain.

  Summarize your chosen instance of failed communication

Write a 700- to 1,050-word essay in which you: Briefly summarize your chosen instance of failed communication. Discuss the reasons why the original persuasive campaign was unsuccessful

  Discuss the given argument as per the given requirement

Symbolize each argument, providing a key. State whether the argument is valid or invalid, and state whether you think it is a persuasive/strong argument.

  Determine what changes are occurring in the economy

Determine what changes are occurring in the economy or concerning labor and regulatory factors that must be considered in the future.

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