VAVGS

Purpose:

Returns the point by point mean of one or more input arguments.

Syntax:

VAVGS(val1, val2, ..., valN)

valN

-

One or more series or scalars.

Returns:

A series, the point by point mean of the input values.

Example:

vavgs(10, 15, 20)

 

returns the single point series {15}.

Example:

W1: avgs({1, 2, 3, 4, 5}, {1, 4, 2}, {1, 0, 3, 8})

W2: vavgs({1, 2, 3, 4, 5}, {1, 4, 2}, {1, 0, 3, 8})

 

W1 == {1, 2, 2.6667, 4, 1.6667}

W2 == {1, 2, 2.6667, 6, 5}

 

Unlike AVGS, VAVGS does not zero pad shorter series.

Example:

W1: ravel(1..9, 3)

W2: ravel(11..26, 4)

W3: avgs(W1, W2)

W4: vavgs(W1, W2)

 

W1 == {{1, 4, 7},

       {2, 5, 8},

       {3, 6, 9}}

 

W2 == {{11, 15, 19, 23},

       {12, 16, 20, 24},

       {13, 17, 21, 25},

       {14, 18, 22, 26}}

 

W3 == {{6,   9.5, 13, 11.5},

       {7,  10.5, 14, 12},

       {8,  11.5, 15, 12.5},

       {7,   9,   11, 13}}

 

W4 == {{6,   9.5, 13, 23},

       {7,  10.5, 14, 24},

       {8,  11.5, 15, 25},

       {14, 18,   22, 26}}

 

Unlike AVGS, VAVGS does not zero pad series with fewer columns.

Remarks:

VAVGS requires at least one input argument.

 

VAVGS always returns a series.

 

Non-numeric arguments are ignored.

 

Unlike AVGS, unequal sized input series are not padded with zeros.

 

See SUMS or VSUMS to compute the point by point sum of the input values.

 

See VMEAN to compute the scalar mean of the input values.

See Also:

AVGS

MEAN

VMAX

VMEAN

VMIN

VSUM

VSUMS