Autoregressive Moving Average with Exogenous Inputs (ARMAX) Model.
In principle, an ARMAX model is a linear regression model that uses an ARMA-type process (i.e., \(w_t\)) to model residuals:
\[y_t = \alpha_o + \beta_1 x_{1,t} + \beta_2 x_{2,t} + \cdots + \beta_b x_{b,t} + w_t\]
\[(1-\phi_1 L - \phi_2L^2-\cdots-\phi_pL^p)(y_t-\alpha_o -\beta_1 x_{1,t} - \beta_2 x_{2,t} - \cdots - \beta_b x_{b,t})=(1+ \theta_1 L + \theta_2 L^2 + \cdots + \theta_q L^q)a_t \]
\[(1-\phi_1 L - \phi_2 L^2 - \cdots - \phi_p L^p)w_t=(1+\theta_1 L+ \theta_2 L^2 + \cdots + \theta_q L^q ) a_t \]
\[a_t \sim i.i.d \sim \Phi (0,\sigma^2) \]
Where:
Assuming \(y_t\) and all exogenous input variables are stationary, then taking the expectation from both sides, we can express \(\alpha_o\) as follows:
\[ \alpha_o = \mu - \sum_{i=1}^b {\beta_i E[x_i] }= \mu - \sum_{i=1}^b {\beta_i \bar{x_i} }\]
Where:
In the event that \(y_t\) is not stationary, then one must verify that: (a) one or more variables in \(\{x_1,x_2,\cdots,x_b\}\) is not stationary and (b) the time series variables in \(\{y, x_1,x_2,\cdots,x_b\}\) are cointegrated, so there is at least one linear combination of those variables that yields a stationary process (i.e., ARMA).
\[(1-\phi_1 L -\phi_{12} L^{12} )(y_t - \mu) = (1+\theta L^2)a_t\]