[NMusers] Cmax, Tmax, and Time and AUC above threshold such as MIC
From: Paul Hutson <prhutson_at_pharmacy.wisc.edu>
Date: Wed, 12 Dec 2007 11:50:32 -0600
I would like to identify maximal concentrations in tissue,
corresponding time of Cmax tissue, and time and AUC of these
concentrations above a target concentration (eg, MIC for antibiotics or
1 uM for taxol). I identified the Cmax and associated Tmax in
simulated data for 'tissue' in the following code adapted from earlier
posts 99jul292004.html
. It works, but in the output table I am then required to
extract the Cmax and Tmax as the maximum values in the $TABLE (eg MAX()
in EXCEL, accomplishing little with the NONMEM code), or manually as
the last value in columns 'Cmax' and 'Tmax' before the null values
begin.
So to my questions:
1) How can the singular Cmax value identified by the last non-null
value in my IF statement be captured (apparently the "read-out" that
Prof Sheiner referred to in his comments on Cmax in earlier threads)
with its corresponding Tmax value and saved, for example, in a file
such as 'patab1'?
2) In a somewhat related fashion, has anyone code they can suggest to:
a) Start and stop the elapsed time for which concentrations are
above an MIC or other specified concentration (or effect)
b) Store previous time and concentration values so that the AUC
during this time above MIC can be calculated using trapezoid or
log-trapezoid methods?
Many thanks, as always.
Paul