Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Area under a curve


From   SR Millis <[email protected]>
To   [email protected]
Subject   Re: st: Area under a curve
Date   Fri, 20 May 2011 11:47:40 -0700 (PDT)

Joshua,

In the two-group design, here's how I calculate AUC as a summary score and then conduct a t test (in Stata:

generate area=(sysbp+sysbp[_n+1])*(time[_n+1]-time)/2 if id==id[_n+1]
collapse (sum) area = area (first) therapy=therapy, by(id)
ttest area, by (therapy)


~~~~~~~~~~~
Scott R Millis, PhD, ABPP, CStat, PStat®
Professor
Wayne State University School of Medicine
Email:  [email protected]
Email:  [email protected]
Tel: 313-993-8085


--- On Fri, 5/20/11, joshua liwindi <[email protected]> wrote:

> From: joshua liwindi <[email protected]>
> Subject: st: Area under a curve
> To: [email protected]
> Date: Friday, May 20, 2011, 9:57 AM
> Hi all
> i have these data set that has a three treatment arm trial
> on antimalarials, comparing sulphadoxin pyrimethamine(SP)
> which was the placebo arm VERSUS artesunte one day (AS1) +
> SP AND artesunate for 3 days + SP..am interested in looking
> at the effect of the drugs on gametocytamia during follow up
> period i.e day 0.1,2,3,7,14,21,and 28.i want to calculate
> the AREA UNDER THE CURVE (AUC) as a summary statistic for
> each of the treatment arms 
> 
> Any help please
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index