StatTimeSerAnalysis.ARIMASimulate Method

procedure ARIMASimulate(const p: TVec; const t: TVec; const d: Integer; const ResInit: TVec; const n: Integer; const aResult: TVec);

Simulate the ARIMA process.

#NameDescription
1pstores the AR coefficients. Length of the p vector defines AR(p) order.
2tstores the MA coefficients. Length of the t vector defines MA(q) order.
3ddefines how many times time series is differentiated (d parameter in ARIMA).
4ResInitdefines initial values for integration: r[-d+1],Dr[-d+2],...,D^(d-1)r[0]. The length of ResInit must be equal to d, otherwise an exception will be raised.
5ndefines number of points to simulate.
6aResultreturns ARIMA (p,d,q) time series. Size of Result vector is adjusted automatiacally.

Result: stored in self (calling object)

Remarks:

Simulate the ARIMA (p,d,q) process.

Examples
Uses MtxExpr, StatTimeSerAnalysis, Math387;
procedure Example;
var phi,theta,init,ts: Vector;
begin
    phi.SetIt(false,[1.0]);
    theta.SetIt(false,[-0.25]);
    init.SetIt(false,[0,0]);
    ARIMASimulate(phi,theta,2,init,100,ts);
    // ts now stores 100 points from ARIMA(1,1,2) process.
end;
See Also: StatTimeSerAnalysis.ARMASimulate