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: June 19, 2025