Home : GAVG
Q10460 - INFO: GAVG

GAVG returns an aggregate average statistics for an input variable.
The number of values that are aggregated is determined based on the frequency of the input variable.

SYNTAX:

GAVG(Cx)
where :
Cx is a conditional variable x being averaged.

NOTES:

The input variable frequency should be less than the result variable frequency. It makes sense to aggregate 5 one-minutely values into a 1 five-minute variable, but not the other way around.

EXAMPLES:

V6001 = GAVG(C6000)

where V6000 is a 15 minute variable, and V6001 is an hourly variable.

Related Articles
Q10464 - INFO: GMAX
Q10465 - INFO: GMIN
Q10466 - INFO: GMED
Q10468 - INFO: GSUM
Q10475 - INFO: GGM

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 10/1/2007 12:02 PM.
Last Modified on 10/1/2007 12:14 PM.
Last Modified by No Author Name Available!.
Article has been viewed 5714 times.
Rated 3 out of 10 based on 6 votes.
Print Article
Email Article