@chg(vXXXX,-t)

Definition

Calculates the change

Returns

Returns the change in the variable over t periods.

Example

@chg(v1040, -1q) 

Where Cost of Goods Sold (v1040) is:

v1040

1998

1999

1Q00

2Q00

3Q00

4Q00

Cost of Goods Sold

15

20

4

5

6

7

In the second quarter of 2000 the equation returns:

1, (5- 4)