From: kathy mutambanengwe on 28 Feb 2010 17:41 i have 100 subjects with repeated measurements at unbalanced time points, some start at time 0 some at time 1.1 etc. and not all subjects were measured at same time points. How do i find the area under the curve for each subject with a baseline response value which is negative ie -10?
From: xlr82sas on 28 Feb 2010 21:15 On Feb 28, 2:41 pm, kathy mutambanengwe <chenjerai...(a)gmail.com> wrote: > i have 100 subjects with repeated measurements at unbalanced time > points, some start at time 0 some at time 1.1 etc. and not all > subjects were measured at same time points. How do i find the area > under the curve for each subject with a baseline response value which > is negative ie -10? Hi, I think the best method is to use 'proc expand' in ETS. If you don't have ETS. R package PK http://tiny.cc/0HUaY PK is a basic pharmacokinetics package providing functions to aid in non-compartmental analysis (Gibaldi and Perrier,1982) of PK data. This package includes a function, AUC(), to calculate area under the curve, and the area under the first moment curve and two new functions auc.ssd() and eqv.sdd() for estimating and comparing AUCs in the case of serial sampling. It also includes functions for half-life estimation for a biexponential model, biexp(), and a two phase linear regression, lee() as well as an associated plot function, plot.halflife().
From: xlr82sas on 1 Mar 2010 11:58 On Feb 28, 6:15 pm, xlr82sas <xlr82...(a)aol.com> wrote: > On Feb 28, 2:41 pm, kathy mutambanengwe <chenjerai...(a)gmail.com> > wrote: > > > i have 100 subjects with repeated measurements at unbalanced time > > points, some start at time 0 some at time 1.1 etc. and not all > > subjects were measured at same time points. How do i find the area > > under the curve for each subject with a baseline response value which > > is negative ie -10? > > Hi, > > I think the best method is to use 'proc expand' in ETS. If you > don't have ETS. > > R package PK > > http://tiny.cc/0HUaY > > PK is a basic pharmacokinetics package providing functions to aid in > non-compartmental analysis (Gibaldi and Perrier,1982) of PK data. This > package includes a function, AUC(), to calculate area under the curve, > and the area under the first moment curve and two new functions > auc.ssd() and eqv.sdd() for estimating and comparing AUCs in the case > of serial sampling. It also includes functions for half-life > estimation for a biexponential model, biexp(), and a two phase linear > regression, lee() as well as an associated plot function, > plot.halflife(). Another note: I think R and SAS-IML may have primitives to get AUC
|
Pages: 1 Prev: SAS Code Next: ERROR: Connect: External table is not in the expected format. |