Re: SAS program or SAS macro to prepare NonMem ready data

From: Nick Holford Date: December 08, 2004 technical Source: cognigencorp.com
From: "Nick Holford" n.holford@auckland.ac.nz Subject: Re: [NMusers] SAS program or SAS macro to prepare NonMem ready data Date: Wed, December 8, 2004 2:04 pm Elliot, I am sure SAS (or almost any other programming language) can be used to write code to format data for NONMEM. However, as several people have pointed out their is no single piece of code that can do this for any input. There are many things that I do while formatting data for NONMEM -- this includes consistency checking (e.g. are weights in a reasonable range?), putting out error messages for invalid data (e.g. positive concentration of drug before any dose has been given), transformation of values (e.g. some data sets have weights in both kg and pounds [and if one is lucky a units indicator too!]), making decisions based on all the records for a given individual (e.g. dosing records are supplied but no conc records so I drop all these records from the NONMEM dataset because they add nothing to a PK analysis). In addition to these data driven needs there are model specific items that need to be put in the data set e.g. CMT items depend on the model structure, additional records are required to initialize differential equations. IMHO the programming challenges for dealing with real NONMEM data sets and non-trivial models (i.e. more than simple PK) demand the NONMEM analyst either writes his/her own data formatting code or works with someone with these skills. The ability to automate data formatting (and therefore demonstrate exactly how original data is transformed) is an essential part of any quality based NONMEM analysis. Manual manipulation of data items in Excel should be discouraged. Nick -- Nick Holford, Dept Pharmacology & Clinical Pharmacology University of Auckland, 85 Park Rd, Private Bag 92019, Auckland, New Zealand email:n.holford@auckland.ac.nz tel:+64(9)373-7599x86730 fax:373-7556 http://www.health.auckland.ac.nz/pharmacology/staff/nholford/
Dec 07, 2004 Elliot Munsanje SAS program or SAS macro to prepare NonMem ready data
Dec 07, 2004 Nick Holford Re: SAS program or SAS macro to prepare NonMem ready data
Dec 07, 2004 Mark Sale Re: SAS program or SAS macro to prepare NonMem readydata
Dec 08, 2004 Elliot Munsanje RE: SAS program or SAS macro to prepare NonMem ready data
Dec 08, 2004 Mike K Smith RE: SAS program or SAS macro to prepare NonMem ready data
Dec 08, 2004 Peter Bonate RE: SAS program or SAS macro to prepare NonMem ready data
Dec 08, 2004 Yaning Wang RE: SAS program or SAS macro to prepare NonMem readyda ta
Dec 08, 2004 Sam Liao RE: SAS program or SAS macro to prepare NonMem ready data
Dec 08, 2004 Michael Fossler RE: SAS program or SAS macro to prepare NonMem ready data
Dec 08, 2004 Leonid Gibiansky RE: SAS program or SAS macro to prepare NonMem ready data
Dec 08, 2004 Sam Liao RE: SAS program or SAS macro to prepare NonMem ready data
Dec 08, 2004 Bach Nhi t Beasley RE: SAS program or SAS macro to prepare NonMem ready data
Dec 08, 2004 Yaning Wang RE: SAS program or SAS macro to prepare NonMem ready data
Dec 08, 2004 Sunny Chapel RE: SAS program or SAS macro to prepare NonMem ready data
Dec 08, 2004 Nick Holford Re: SAS program or SAS macro to prepare NonMem ready data
Dec 09, 2004 David Garbutt RE: SAS program or SAS macro to prepare NonMem ready data
Dec 09, 2004 William Bachman RE: SAS program or SAS macro to prepare NonMem ready data
Dec 11, 2004 Leonid Gibiansky RE: SAS program or SAS macro to prepare NonMem ready data