The SPECTRA Procedure OverviewGetting StartedSyntaxDetailsExamplesReferences BY Statement BY variables; A BY statement can be used with PROC SPECTRA to obtain separate analyses for groups of observations defined by the BY variables. Last updated: December 20, 2021