Question
(In R please!) 5. Compute a variable called portfolios containing the portfolio returns for the scaled equal-weight portfolio, the scaled risk-parity portfolio, and the two
(In R please!)
5. Compute a variable called portfolios containing the portfolio returns for the scaled equal-weight portfolio, the scaled risk-parity portfolio, and the two versions of the optimal mean-variance portfolio. Report the table from table.AnnualizedReturns.
6. Report the portfolio weight for the four portfolios, rounded to two decimal points, and discuss the differences among the portfolios. Plot the cumulative returns and comment on the difference in performance. Hint 1: if portfolio weights are saved in the variable weights, then you can round to the second decimal point using round(weights, digits = 2). Hint 2: you can use plot(exp(cumsum(portfolios))) to plot the cumulative returns (in levels instead of logs).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started