@maxsby |

Maximum values in a series for each specified group.

Syntax: @maxsby(x, y[y1, y2, ... yn, s])

x: series

y series, alpha

s: (optional) sample string or object

Return: series

Returns the maximum value in x each group defined by distinct values of y.

EViews will use the current or specified workfile sample.

Examples

show @maxsby(x, g1, g2)

produces a linked series of the by-group maximums of the series x, where members of the same group have identical values for both g1 and g2.

Cross-references

See also
@minsby.