Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task Part A The basics 1 . Use Excel functions to compute monthly summary statistics for the six stocks - mean return, sample standard deviation,

Task
Part A The basics
1. Use Excel functions to compute monthly summary statistics for the six stocks - mean return, sample standard deviation, sample variance, and correlations (VBA not required).
2. Write your own VBA function to compute the variance-covariance matrix for the six stocks. The function needs to be able to handle matrices of different size. Note: If you are unable to complete the VBA function, generate the sample variance-covariance matrix using Covariance in Data Analysis so you can complete the other tasks. Full marks are earned if your program does not rely on calling Excel worksheet functions like COVAR from VBA.
3. Generate an efficient frontier allowing for short sales. You will need to use matrix multiplications to compute portfolio risk and return.
4. Assume the risk-free interest rate is 0.2%(return per month). Identify the global minimum variance portfolio and the tangent portfolio based on the given risk-free rate on the efficient frontier. Draw the efficient frontier and Capital Market Line.
5. Extend Questions 3 & 4 not allowing for short selling. You need to use Excel Solver for this task. VBA is not required. Note: Optimal portfolios are those with the highest Sharpe ratio given the risk-free rate.
6. Extend Questions 3,4 & 5 by using considerable VBA programming (calling Solver from VBA is a suitable solution) to automate the process.
Part B Simulating feasible portfolios
1. Write a VBA subroutine to generate at least 500 feasible portfolios. In your subroutine:
a. Generate six random numbers
b. Assign the jth random number divided by the sum of the six random numbers as the weight for stock j.
2. Plot the simulated portfolios as a scatter graph in the risk-return diagram (together with efficient frontier previously generated in Part A). Both the minimum variance and highest Sharpe ratio portfolios should be highlighted on your graph.
3. The user has a choice for basically an unlimited number of simulations. Improve the efficiency and speed of your model is crucial, and we intend to test this feature with more than 500 portfolios.
Part C User interface and layout
1. Design a friendly user interface with Excel form controls and allow users to choose:
a. Different level of interest rates. Note: This will affect the Capital Market Line and the tangent portfolio.
b. The user is able to choose whether to allow short selling.
c. All inputs and outputs are clearly labelled and shown on the same Excel worksheet and the model is well structured without excess options.
2. Formulas and subroutines are linked so the model can handle changes in data (assuming replacing one stock with another with the same number of observations).
3. Think about other (additional) features you want to add and improve your portfolio model.
Part D Comments and structure
1. Provide instructions and highlight features (other than those required) of your model. Write your comments in the textbox (insert->textbox).
2. Add comments to your VBA code, especially on any special techniques employed.
3. Properly formatting and indenting your code. To indent code, simply press the TAB key. Press the tab key again to add a second code indention. Generally, you want to add one indentation for each code block such as IF statements and Loops.
Stock1 Stock2 Stock3 Stock4 Stock5 Stock6
37.485.32120.5504.1835.47
37.075.48124.5644.2937.5
32.765.21125604.3635.82
32.75.4125.5804.6137.56
34.885.18138.568.55.1935.99
31.374.2514570535.01
34.644.52156865.1637.59
35.754.74153.5965.4238.18
35.744.61156.51005.6538.31
37.664.741651015.4238.82
37.394.66163.51205.3537.4
37.994.391671285.338.9
36.574.27181.51435.0337.38
38.384.831801324.937.95
36.474.98179.51144.7539.02
37.755.051661105.4240.8
37.015.291751155.4142.17
35.95.3176.5122.55.4841.07
38.685.491881355.5142.52
36.675.88179.51225.7142.7
33.875.461811095.6840.6
33.965.85176.51025.9240.13
30.925.64183.51056.2535.75
29.375.51821136.9438.01
29.265.77185123.58.0834.28
33.656.71771288.2335.18
31.036.44178.5129.59.334.52
31.976.44177.51278.0735.05
29.596.661891267.736.63
27.056.021771277.2734.23
26.456.61188.5136835.65
25.185.95192.51267.3132.26
22.225.561861257.2728.93
23.025.731851398.0429.61
18.095.81187.51168.3330.11
17.865.831901107.4428.72
15.355.371781078.0527.95
15.575.321661008.0925.35
16.865.79168.51007.4325.96
20.685.88171101.57.4628.34
19.085.64163.5103.58.1227.4
18.655.16162101.58.326.84
19.525.81161105.59.226.53
20.435.26150110.58.9728.63
22.385.28150.51128.4828.62
23.074.571541247.8428.37
24.414.7157123.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Complete FinOps Handbook Essential Tools And Techniques For Financial Operations

Authors: Peter Bates

1st Edition

1922435546, 978-1922435545

More Books

Students also viewed these Finance questions