 # Calculating the mean-variance efficient frontier For this exercise...

## Question

Show transcribed text

## Transcribed Text

Calculating the mean-variance efficient frontier For this exercise, we will use the same industry portfolios that you considered in section 2 for the industry momentum strategy. (1) Calculate monthly gross excess returns for these portfolios by subtracting the risk-free rate, then load the data on historical excess returns into your statistics package. (2) Calculate the vector of means and the variance-covariance matrix, let's denote these by r (since these are net returns) and x. (There is no need to report anything here!) (3) Trace out the hyperbola which characterizes the set of portfolios which minimize variance subject to matching a particular level of expected return. To do this, recall the two-fund theorem from lecture 10, which showed that any portfolio on the hyperbola satisfies w° = a + so you can trace out the entire plot by varying a from a fairly large negative number (e.g. -3) and a fairly large positive number (e.g., 3). You can compute means and variances using the formulas from class: mean = W*F std deviation = (4) To the existing plot, overlay the capital allocation line connecting the tangency portfolio (just assumerg the net risk-free rate, equals 1) and scatter plots with the individual means and standard deviations of the individual assets. Congrats! You will have successfully reproduced a figure that appears in every finance textbook. 7

## Solution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

(1)
data.adj <- apply(data[,2:13],2,function(c) {c-data[,17]})

(2)

By purchasing this solution you'll be able to access the following files:
Solution.docx.

\$40.00
for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

### Find A Tutor

View available Mathematical Finance Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.