IBM Support

Calculation of within-case area under function curve by trapezoidal integration

Troubleshooting


Problem

How can I use SPSS to calculate the area under the curve for each case in the data file? I have measurements of drug levels in the blood for each case at 9 time points. These time points are unevenly spaced but identical for all cases. Suppose that I plotted drug level as a function of time for each case. I would like SPSS to calculate the area under this curve, using trapezoidal integration, and store it in a new variable. I would also like to calculate and store the maximum drug level for each case and the time point at which that maximum level first appeared for that case.

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Not Applicable","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

17474

Document Information

Modified date:
16 April 2020

UID

swg21476168