Chapter Contents

Previous

Next
The STANDARD Procedure

Procedure Syntax


Tip: Supports the Output Delivery System (see Chapter 2, "Fundamental Concepts for Using Base SAS Procedures")
Reminder: You can use the ATTRIB, FORMAT, LABEL, and WHERE statements. See Statements with the Same Function in Multiple Procedures for details. You can also use any global statements as well. See Global Statements for a list.

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

To do this Use this statement
Calculate separate standardized values for each BY group BY
Identify a variable whose values represent the frequency of each observation FREQ
Select the variables to standardize and determine the order they appear in the printed output VAR
Identify a variable whose values weight each observation in the statistical calculations WEIGHT


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.