Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Calculating area under the curve for insulin


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Calculating area under the curve for insulin
Date   Fri, 21 Dec 2007 16:12:35 -0000

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
n.j.cox@durham.ac.uk 

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/



© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index