Question: Write your own R function called * IsARCS * , whose input is a vector storing the AR coefficient $ ( phi _ 1

Write your own R function called *IsARCS*, whose input is a vector storing the AR coefficient $(\phi_1,\ldots,\phi_p)$ in the AR operator $\phi(B)=1-\phi_1 B-\ldots-\phi_p B^p$, and returns a logical value: TRUE means the corresponding AR model is causal stationary, FALSE means not.
Compare the output of your function with the stationarity checking result from *arima.sim*.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!