First integrate under the curve using -integ-. Then subtract from
the resulting area a rectangle corresponding to the baseline level
and the time period.
Nick
[email protected]
Sheela Magge
I am trying to use STATA to calculate the area under the curve for
insulin levels measured during an oral glucose tolerance test. So, I
have insulin (and glucose) levels at time points 0, 30, 60, 90, 120,
180, for 62 patients. For each pt, I specifically want to calculate the
AUC for insulin, and additionally need to subtract out the baseline
insulin level. Does anyone know how to do this?
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/