Hi Camila,
Alternative (simpler) coding to get TAD would be as follows:
$PK (NONEVENT)IF(AMT.GT.0) TDOS=TIMETAD=TIME-TDOS
The trick here is to add NONEVENT after $PK which tells NONMEM to make calls to
$PK even for 'hidden' dose times, such as ADDLs, therefore TDOS is updated
appropriately.
Manni
Thanks Maria and all the others for the quick reply,
I don’t have a lag time, also the number of additional doses vary between
individuals, so this code below from Maria seems to work wonderfully.
I am using psn to run the vpc plots and although I need to adjust some of the
input parameters it
Hi Camila.
If you have access to R, consider the github package "tad" identified below.
It supports calculation of TAD as a column in your dataset, explicitly
considering ADDL. Let me know if you have issues installing or operating. The
following worked for me.
Regards,
Tim
install.packag
Hi Camila
If you don't have a lag time, use the following:
$PK
IF(NEWIND.LT.2) THEN
IFL=0
TAD=0.0
ENDIF
IF(EVID.EQ.1.OR.EVID.EQ.4)DTIME=TIME
IF(DOSTIM.NE.0.)DTIME=DOSTIM ; non-event dose times
TAD=TIME-DTIME
If you have a lag time, use:
IF(NEWIND.LT.2) THEN
TAD=0.0
DTIME=1.0E+06
ENDIF
IF(DOSTI
Hi Camila,
It sounds like you've got two questions here-- one related to NONMEM and
one related to the other program you're using to create your VPC. The
NONMEM question appears to be "How do I get TAD in my data without
changing my dataset?" The second question appears to be "How to I
stra
Hi,
I'm not sure what data you're analysing and what your dosage schedules and
sampling are but if ADDL is the same for each patient you could create a new
variable (TVPC) and simply deduct that additional dosing history from your
cumulative time from when you restarted the system (EVID=3 or 4
Hi Camila,
I had this same issue some time ago and, given that in my dataset all
Interdose Intervals (II) were constant for all the patients, I used the
following R function to get a TAD column (IDV in my dataset):
InsertIDV<-function(runn,ii){ # runn is the
run nu
Dear colleagues,
The College of Veterinary Medicine at Iowa State University invites
applications for a full-time Postdoctoral research associate position in
Pharmacology Modeling and Simulation within the Department of Biomedical
Sciences (BMS).
In this position the individual will develop and
Hello,
I was wondering if I could get some guidance from this great group. My issue is
primarily with some diagnostic analysis, but this is taking me back to an old
NONMEM problem.
My aim is to run a VPC on a model I implemented, and if possible change the idv
to TAD instead of TIME. The reaso
Dear NM Users,
My name is Ian Kulka and I am a specialist recruiter within the field of
Pharmacokinetics and Pharmacometrics, within Drug Discovery and Translational
Medicine. I am currently resourcing for an exciting opportunity for an
experienced Modelling & Simulation professional to join an
10 matches
Mail list logo