A BY statement can be used with PROC AUTOREG to obtain separate analyses on observations in groups defined by the BY variables.