Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Area under a curve


From   SR Millis <aa3379@wayne.edu>
To   statalist@hsphsun2.harvard.edu
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:  aa3379@wayne.edu
Email:  srmillis@yahoo.com
Tel: 313-993-8085


--- On Fri, 5/20/11, joshua liwindi <liwindi@gardener.com> wrote:

> From: joshua liwindi <liwindi@gardener.com>
> Subject: st: Area under a curve
> To: statalist@hsphsun2.harvard.edu
> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index