R Programming Assignment
Objective: Using a times series analysis method, model each stock’s closing prices.
Data:
• Use the library quantmod to extract the stock symbols assigned. Use the time period 9/29/2015 – 9/28/2020. Forecast using the closing value of the stock prices.
The stocks are:
o SBUX; Starbucks Corporation
o DRI; Darden Restaurants, Inc.
o PZZA; Papa Johns International, Inc..
R Code:
• Well Commented R Code.
• Provide Histogram and volatility plots using time series analysis for stocks SBUX, DRI and PZZA from September 2015 – 2020.
• Forecast stock prices using time series for stocks SBUX, DRI and PZZA.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
31 | 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 1 | 2 | 3 | 4 |