« View all new features in
Mathematica
9
◄
previous
|
next
►
New in
Mathematica
9
›
Time Series and Stochastic Differential Equations
River Flow
The measures of the annual minimum mean daily flows, in cubic meter per second, of the Mahanadi River in central India.
In[1]:=
X
data = ExampleData[{"Statistics", "MahanadiRiverFlow"}]
Out[1]=
Find the fractional integrating order to fit a
FARIMAProcess
to the data.
In[2]:=
X
d = d /. FindProcessParameters[data - Mean[data], FARIMAProcess[{}, d, {}, v]]
Out[2]=
Find the remaining process parameters given the integrating order.
In[3]:=
X
eproc = EstimatedProcess[data - Mean[data], FARIMAProcess[4, d, 1]]
Out[3]=
Compare correlation functions for the data and estimated process.
Forecast the annual minimum mean daily flows for 10 years ahead.
In[4]:=
X
fr = TimeSeriesForecast[eproc, data - Mean[data], {10}]; forecast = TemporalData[fr["PathStates"] + Mean[data], fr["Times"]]; forecast["Path"]
Out[4]=