This lesson requires a premium membership to access.
Premium membership includes unlimited access to all courses, quizzes, downloadable resources, and future content updates.
Now that we know how to estimate the AR model using ARIMA, we can create a simple forecast based on the model.
The first step is to fit the model as ARIMA(1, 0, 0). We have already seen this in the previous lesson.
> msft_ar <- arima(msft\_ts,c(1,0,0))