differences from max calculates the difference between each numerical episode in a sample sequence and the maximum value. For example, we might define a Calculated Value

DeltaFromMaxHDL = differences from max 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          2.1          2.2          2.5          1.9
DeltaFromMaxHDL  -0.5         -0.4         -0.3          0.0         -0.6
Trig              3.6                                    3.6
LipidDrug         N                         Y            Y