directforecast function

Function to obtain h-step ahead direct forecast based on estimated VAR, VARX or VARMA model