Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a dataset that has monthly returns for the following stocks: TSLA, JNJ , GOOGL, and GE from January 1 , 2 0 1 8

Create a dataset that has monthly returns for the following stocks: TSLA, JNJ, GOOGL, and GE from January 1,2018 to December 31,2022 using their "adjusted" price. Create an equally weighted portfolio consisting of these stocks and calculate the monthly returns of your portfolio. Import the Market Returns and Risk-Free Rate dataset and join with your portfolio to obtain the market return (market return) and risk-free rate (risk-free). An equally weighted portfolio means that you invest the same proportion of your total investment into each stock. If you have 4 stocks, you'd invest 25% of your total funds into each. Please provide all codes in R
Question1: Looking at portfolio monthly returns, how many months did this portfolio exceed a 25% return rate.
Question2: (i) What is the portfolio standard deviation, by%(ii) GE standard deviation by %,(iii) Portfolio arithmetic average in %,(iv) GE arithmetic average in %
Question3: What is the compounded cumulative return
Question 4: What is TSLA's average monthly access return relative to the market in %?
Below is data for market and risk free:
Date market_return risk_free
1/31/180.047481090.0146
2/28/18-0.0389473720.0165
3/29/18-0.0268844990.0173
4/30/180.0027187750.0187
5/31/180.0216083420.0193
6/29/180.0048424360.0193
7/31/180.0360215560.0203
8/31/180.0302632110.0211
9/28/180.0042942870.0219
10/31/18-0.0694033560.0234
11/30/180.0178593570.0237
12/31/18-0.0917768950.0245
1/31/190.0786844020.0241
2/28/190.0297288890.0245
3/29/190.0179242560.024
4/30/190.0393134980.0243
5/31/19-0.0657777310.0235
6/28/190.0689301640.0212
7/31/190.0131281520.0208
8/30/19-0.0180916270.0199
9/30/190.0171811780.0188
10/31/190.0204317710.0154
11/29/190.0340470380.0159
12/31/190.0285898190.0155
1/31/20-0.0016280930.0155
2/28/20-0.0841104840.0127
3/31/20-0.1251192820.0011
4/30/200.1268440389.00E-04
5/29/200.045281820.0014
6/30/200.0183883970.0016
7/31/200.0551013219.00E-04
8/31/200.0700646670.0011
9/30/20-0.039227970.001
10/30/20-0.0276657869.00E-04
11/30/200.1075456358.00E-04
12/31/200.0371214599.00E-04
1/29/21-0.0111366616.00E-04
2/26/210.0260914514.00E-04
3/31/210.0424386333.00E-04
4/30/210.0524253211.00E-04
5/28/210.0054864890.0001
6/30/210.022214015.00E-04
7/30/210.0227480556.00E-04
8/31/210.0289904164.00E-04
9/30/21-0.0475691694.00E-04
10/29/210.0691438365.00E-04
11/30/21-0.0083337065.00E-04
12/31/210.0436129136.00E-04
1/31/22-0.0525851650.0022
2/28/22-0.0313604920.0035
3/31/220.0357732880.0052
4/29/22-0.0879567120.0085
5/31/225.32E-050.0116
6/30/22-0.083920.0172
7/29/220.0911163920.0241
8

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

Real Estate Finance And Investments

Authors: William Brueggeman, Jeffrey Fisher

17th Edition

1264072945, 978-1264072941

More Books

Students also viewed these Finance questions

Question

Define learning and list at least three learning principles

Answered: 1 week ago