-
Notifications
You must be signed in to change notification settings - Fork 40
Description
After the tough coding challenge of the second assignment it is now time again to do something visual with data. I want you to pull daily stock prices for the current Dow Jones 30 firms from public sources. Calculate daily returns based on adjusted prices and market returns as the equal weighted average of daily returns of all firms in your sample. Then calculate rolling 250-day window CAPM regressions for each firm for which you have continuous return data for the period 2000 to 2019. To complete the assignment, you should create a figure that looks roughly like this.
For fun and “extra credit”, you can make this visual interactive to allow users to assess the development of beta for a given firm. Plotly and Shiny come to mind. Here is a link to a very simple shiny app: https://jgassen.shinyapps.io/betas/ as an example.
Like always: Make sure that your data and code is reproducible (no data uploads please). Feel free to use the issue to clarify and discuss the assignment. Please document all resources that you use in code. The submission deadline for this assignment is December 16, 9 am.
