@varssby |

Sample variances (d.f. corrected) of a series for each specified group.

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

x: series

y series, alpha

s: (optional) sample string or object

Return: series

Returns the Pearson product moment population (d.f. corrected) variance for x each group defined by distinct values of y.

EViews will use the current or specified workfile sample.

Examples

show @varssby(x, g1, g2)

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

Cross-references