fracARMA | R Documentation |
This function applies fractional differencing and fits an ARMA model to time series data.
fracARMA(ts, p, d, q, s)
ts |
A time series object (class 'ts'). |
p |
The AR order. |
d |
The degree of fractional differencing. |
q |
The MA order. |
s |
The proportion of the data to be used for training. |
A list containing the model summary, fitted values, and forecasted results.
The 'forecast' and 'fracdiff' packages are used for model fitting and fractional differencing.
ts_data <- ts(rnorm(100))
result <- fracARMA(ts_data, p = 1, d = 0.3, q = 1, s = 0.8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.