Specifies weights for analysis variables in the statistical calculations. Tip: You can use a WEIGHT statement and a FREQ statement in the same step of any procedure that supports both statements.
specifies the variable that the procedure uses to form BY groups. You can specify more than one variable. If you do not use the NOTSORTED option in the BY statement, the observations in the data set ...