Time series plot for a data set

  1. Using R, create a time series plot for the dataset
    S&P 500 is a stock market index based on the market capitalization of 500 large companies in the U.S. Go to the FRED Economic Data website (Links to an external site.) for S&P 500 and download the data for just one year. You may choose any one-year window.

Using R, create a time series plot for the dataset. Describe the plot.
Using R, fit the dataset to linear regression and moving average models. Which model do you think is a better predictive model? Explain why.
Discuss how you can improve the prediction.
dataset is attached, please screenshots of R results

Sample Solution

Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now

The post Time series plot for a data set appeared first on homework handlers.