Lesson 20 of 27
Already have access? Sign in here
Already have access? Sign in here
Ask questions about this lesson and get instant answers.
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))