Study Non-weakly Stationary Autoregressive Process 

Mathematica 10 supports time series processes with given past values, which cover both the stationary time series conditioned on past values as well as nonstationary time series with initial conditions. When autoregressive coefficients do not satisfy the stationarity condition, variance function of the time process slice grows unboundedly.

Define an autoregressive process whose autoregressive coefficients do not satisfy the weak stationarity condition.

In[1]:=
Click for copyable input
X
Out[1]=
In[2]:=
Click for copyable input
X
Out[2]=
In[3]:=
Click for copyable input
X

Sample the process.

In[4]:=
Click for copyable input
X
In[5]:=
Click for copyable input
X
Out[5]=

Compute the mean function and the covariance function of the process.

In[6]:=
Click for copyable input
X
Out[6]=
In[7]:=
Click for copyable input
X
Out[7]=

Visualize the covariance function as a function of time for a few values of the lag .

In[8]:=
Click for copyable input
X
Out[8]=