Last active
August 20, 2019 04:21
-
-
Save arjay55/ca968e347b17348bc57f57274821f5c4 to your computer and use it in GitHub Desktop.
R_auto_arima
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model = auto.arima(ts(data$inflation,frequency = 1),seasonal = FALSE,stepwise=FALSE, | |
approximation = TRUE, max.p = myp, max.q = myq, max.P = myp, | |
max.Q = myq, max.d = 4, max.D=4, | |
max.order=120, num.cores = 3,parallel = TRUE) | |
flength=15 | |
fcast_no_holdout <- forecast(model,flength) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model = auto.arima(ts(rev(data$inflation),frequency = 1),seasonal = FALSE,stepwise=FALSE, | |
approximation = TRUE, max.p = myp, max.q = myq, max.P = myp, max.Q = myq, max.d = 4, | |
max.D=4, max.order=120, num.cores = 3,parallel = TRUE) | |
flength=6 | |
fcast_no_holdout <- forecast(model,flength) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment