Question: This is the data needs is APPL year return between 01/04/2021 to 12/30/2022 I have two goals for this project: 1. To help you master

This is the data needs is APPL year return between 01/04/2021 to12/30/2022 I have two goals for this project: 1. To help youmaster data manipulation and visualization 2. To help you understand the risk-returntradeoff for several measures of risk Tasks Packages and Settings [1]: importmatplotlib.pyplot as plt import numpy as np import pandas as pd [2]:This is the data needs

is APPL year return between 01/04/2021 to 12/30/2022

I have two goals for this project: 1. To help you master data manipulation and visualization 2. To help you understand the risk-return tradeoff for several measures of risk Tasks Packages and Settings [1]: import matplotlib.pyplot as plt import numpy as np import pandas as pd [2]: \%config InlineBackend. figure_format = 'retina' \%precision 4 pd.options.display.float_format ={:.4f} '.format Data I used the following code cell to download the data for this project. Leave this code cell commented out and use the CSV files I provided with this notebook. 3]: \# import yfinance as yf \# import pandas_datareader as pdr \# import requests_cache \# session = requests_cache.CachedSession (expire_after=1) 4]: \#wiki = pd.read_html('https://en.wikipedia.org/wiki/Russell_1000_Index') 5]: #( Run the following code cell to read the data for this project. The returns.csv file contains daily returns for the Russell 1000 stocks from 1962 through 2022, and the ff.csv contains daily Fama and French factors from 1962 through 2022. \[ \begin{array}{l} \text { returns }=\text { pd.read_csv('returns.csv', index_col='Date', parse_dates=True) } \\ f f=p d . r e a d \_c s v(' f f . c s v ' \text {, index_col='Date', parse_dates=True) } \end{array} \] Task 1: Do mean returns in year t predict mean returns in year t+1? Task 2: Does volatility in year t predict volatility in year t+1 ? Task 3: Do Sharpe Ratios in year t predict Sharpe Ratios in year t+1 ? Task 4: Do CAPM betas in year t predict CAPM betas in year t+1 ? Task 5: Does volatility in year t predict mean returns in year t+1 ? Task 6: Does CAPM beta in year t predict mean returns in year t+1 ? Portfolios 1 Task 7: Does volatility in year t predict mean returns in year t+1 ? Task 8: Does CAPM beta in year t predict mean returns in year t+1 ? Portfolios II the previous month. Equally weight these portfolios and rebalance them monthly. Task 9: Do high volatility portfolios have high mean returns and Sharpe Ratios? Discussion Task 10: Discuss and explain any limitations of your analysis above Run the following code cell to read the data for this project. The returns.csv file contains daily returns for the Russell 1000 stocks from 1962 through 2022, and the contains daily Fama and French factors from 1962 through 2022. \[ \begin{array}{l} \text { returns }=\text { pd.read_csv('returns.csv', index_col='Date' , parse_dates=True) } \\ f f=\text { pd.read_csv('ff.csv', index_col='Date', parse_dates=True) } \end{array} \] Single Stocks For this section, use the single stock returns in You may select years t and t+1, but only use stocks with complete returns data for years t and t+1. Task 1: Do mean returns in year t predict mean returns in year t+1 ? Task 2: Does volatility in year t predict volatility in year t+1? Task 3: Do Sharpe Ratios in year t predict Sharpe Ratios in year t+1 ? Task 4: Do CAPM betas in year t predict CAPM betas in year t+1? I have two goals for this project: 1. To help you master data manipulation and visualization 2. To help you understand the risk-return tradeoff for several measures of risk Tasks Packages and Settings [1]: import matplotlib.pyplot as plt import numpy as np import pandas as pd [2]: \%config InlineBackend. figure_format = 'retina' \%precision 4 pd.options.display.float_format ={:.4f} '.format Data I used the following code cell to download the data for this project. Leave this code cell commented out and use the CSV files I provided with this notebook. 3]: \# import yfinance as yf \# import pandas_datareader as pdr \# import requests_cache \# session = requests_cache.CachedSession (expire_after=1) 4]: \#wiki = pd.read_html('https://en.wikipedia.org/wiki/Russell_1000_Index') 5]: #( Run the following code cell to read the data for this project. The returns.csv file contains daily returns for the Russell 1000 stocks from 1962 through 2022, and the ff.csv contains daily Fama and French factors from 1962 through 2022. \[ \begin{array}{l} \text { returns }=\text { pd.read_csv('returns.csv', index_col='Date', parse_dates=True) } \\ f f=p d . r e a d \_c s v(' f f . c s v ' \text {, index_col='Date', parse_dates=True) } \end{array} \] Task 1: Do mean returns in year t predict mean returns in year t+1? Task 2: Does volatility in year t predict volatility in year t+1 ? Task 3: Do Sharpe Ratios in year t predict Sharpe Ratios in year t+1 ? Task 4: Do CAPM betas in year t predict CAPM betas in year t+1 ? Task 5: Does volatility in year t predict mean returns in year t+1 ? Task 6: Does CAPM beta in year t predict mean returns in year t+1 ? Portfolios 1 Task 7: Does volatility in year t predict mean returns in year t+1 ? Task 8: Does CAPM beta in year t predict mean returns in year t+1 ? Portfolios II the previous month. Equally weight these portfolios and rebalance them monthly. Task 9: Do high volatility portfolios have high mean returns and Sharpe Ratios? Discussion Task 10: Discuss and explain any limitations of your analysis above Run the following code cell to read the data for this project. The returns.csv file contains daily returns for the Russell 1000 stocks from 1962 through 2022, and the contains daily Fama and French factors from 1962 through 2022. \[ \begin{array}{l} \text { returns }=\text { pd.read_csv('returns.csv', index_col='Date' , parse_dates=True) } \\ f f=\text { pd.read_csv('ff.csv', index_col='Date', parse_dates=True) } \end{array} \] Single Stocks For this section, use the single stock returns in You may select years t and t+1, but only use stocks with complete returns data for years t and t+1. Task 1: Do mean returns in year t predict mean returns in year t+1 ? Task 2: Does volatility in year t predict volatility in year t+1? Task 3: Do Sharpe Ratios in year t predict Sharpe Ratios in year t+1 ? Task 4: Do CAPM betas in year t predict CAPM betas in year t+1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!