OUTPUT data set results may be incorrect when ERROR occurs for previous model in PROC AUTOREG


If there are multiple OUTPUT statements in a single PROC AUTOREG step, and if an ERROR appears in the SAS log indicating a problem with the model associated with one of the OUTPUT statements, then the OUT= data set for any subsequent OUTPUT statement is incorrect.

To circumvent the problem, invoke PROC AUTOREG once for each MODEL and OUTPUT statement pair.