differences from average calculates the difference between each numerical episode in a sample sequence and the average value. For example, we might define a Calculated Value
DeltaFromAverageHDL = differences from average HDL
This would appear in a case as follows:
01 Jun 03 20 Jun 03 30 Jun 03 15 Oct 03 02 Nov 03
17:29 17:33 20:06 20:06 17:33
HDL 2.0 4.0 2.5 3.5
DeltaFromAverageHDL -1.0 1.0 -0.5 0.5
Trig 3.6 3.6
LipidDrug N Y Y
Note that the expression differences from mean may also be used for this function.