Model the Conditional Value at Risk with an ARCHProcess 

The returns of Apple stock from January 2009 to April 2014.

show complete Wolfram Language input
In[2]:=
Click for copyable input
X
In[3]:=
Click for copyable input
X
Out[3]=

Split the time series in two parts, and use the first part to find a model.

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

Fit an ARCHProcess to the first time series.

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

Find the conditional value at risk for the second part of the time series with significance level at 95%.

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

Plot the second time series and its values at risk.

In[10]:=
Click for copyable input
X
Out[10]=
de es ja pt-br zh