Open AlbertoAlmuinha opened 2 years ago
Would you have a reproducible example of some models' fitting as well as some info regarding how to extract any relevant information from them?
Hi,
Here is a simple one:
data("AirPassengers")
library(forecast)
model <- forecast::Arima(AirPassengers,
order = c(2, 1, 1),
include.mean = FALSE,
seasonal = c(0, 1, 0))
#Fitted Values
fitted(model)
#Residuals
residuals(model)
#Coefficients
model$coef
Tell me if you need some other information or some help.
Regards,
Hi,
I think it would be nice if the
chek_model()
function could work for some time series models, especiallyarima
, which are widely used.I would opt for the
forecast
package implementation since many other packages are based on that implementation.Thanks,