Skip to content

Auto.arima model with external variable failed #3

@jpzhangvincent

Description

@jpzhangvincent

I used the dataset from Kaggle and tried to reproduce the benchmark results. It took quite a while to run through the forecasts. But it seems to fail when fitting the "auto.arima" model with external variables. Any ideas?

arimax_f <- forecast(auto.arima(insample_top, xreg=as.matrix(head(x_var, length(insample_top)))), h=28, xreg=as.matrix(tail(x_var, 28)))$mean #ARIMA with external variables
Error in auto.arima(insample_top, xreg = as.matrix(head(x_var, length(insample_top)))) :
No suitable ARIMA model found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions