arima

fun arima(x: DoubleArray, p: Int, d: Int, q: Int): ARIMA(source)

Fits an autoregressive integrated moving average model ARIMA(p, d, q).

Return

the fitted model.

Parameters

x

the time series.

p

the order of AR.

d

the degree of differencing.

q

the order of MA.