The MEAN function returns a numeric value that approximates the arithmetic average of its arguments.
The function type is numeric.
Format
.------------.
V |
>>-FUNCTION MEAN--(----argument-1-+--)-------------------------><
The returned value is the arithmetic mean of the argument-1 series. The returned value is defined as the sum of the argument-1 series divided by the number of occurrences referenced by argument-1.
The equivalent arithmetic expression shall be as follows:
(argument-1)
((argument-11 + argument-12) / 2 )
((argument-11 + argument-12 + ... + argument-1n) / n)
Related Information
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.