Chapter Contents

Previous

Next
MEAN

MEAN



Returns the arithmetic mean (average)

Category: Descriptive Statistics


Syntax
Arguments
Examples

Syntax

MEAN(argument,argument, . . .)

Arguments

argument
is numeric. At least one argument is required. The argument list may consist of a variable list, which is preceded by OF.


Examples

SAS Statements Results
x1=mean(2,.,.,6);
4
x2=mean(1,2,3,2);
2
x3=mean(of x1-x2);
3


Chapter Contents

Previous

Next

Top of Page

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