STANDARD Procedure

Tips: Supports the Output Delivery System. For details, see Output Delivery System: Basic Concepts in SAS Output Delivery System: User's Guide.

You can use the ATTRIB, FORMAT, LABEL, and WHERE statements.

Syntax

PROC STANDARD <option(s)>;
BY <DESCENDING> variable-1 <…<DESCENDING> variable-n>
<NOTSORTED>;
FREQ variable;
VAR variable(s);
WEIGHT variable;

Table of Procedure Tasks

Statement Task Example
PROC STANDARD Statement Standardize variables to a given mean and standard deviation Ex. 1, Ex. 2
BY Statement Calculate separate standardized values for each BY group Ex. 2
FREQ Statement Identify a variable whose values represent the frequency of each observation  
VAR Statement Select the variables to standardize and determine the order in which they appear in the printed output Ex. 1
WEIGHT Statement Identify a variable whose values weight each observation in the statistical calculations