Combining endogenous and exogenous variables in a special case of non-parametric time series forecasting model