I want to make forecast on my data by running an arimax model. The data is like:
Value1, Flag1, Flag2, ................., FlagN
Value2, Flag1, Flag2, ................., FlagN
Value3, Flag1, Flag2, ................., FlagN
Value4, Flag1, Flag2, ................., FlagN
Value5, Flag1, Flag2, ................., FlagN
....
ValueM, Flag1, Flag2, ................., FlagN
So, when I want to make a new forecast, I will provide flag values to the model, then it can give me the forecast value?
How can I prepare the input data? What is the proper R function and proper way of calling?