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 seems to be doing something in the direction I need, so thank you very much for your input. Camila. From: owner-nmus...@globomaxnm.com [mailto:owner-nmus...@globomaxnm.com] On Behalf Of Pitsiu, Maria Sent: 20 December 2016 13:14 To: nmusers@globomaxnm.com Subject: [NMusers] RE: Generating TAD with ADDL dosing format 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(DOSTIM>0.0) DTIME=DOSTIM -ALAG1 ; dostim is non-zero on additional doses (ADDL/II), no delay in doses IF(AMT>0.AND.DOSTIM==0.0) DTIME=TIME ; for all dose events scheduled explcitly in the data record, no delay TAD=TIME-DTIME I hope this helps Maria Maria Pitsiu ICON Plc PK M&S 7122 3652 (internal) +44 162 849 3652 (external) From: owner-nmus...@globomaxnm.com<mailto:owner-nmus...@globomaxnm.com> [mailto:owner-nmus...@globomaxnm.com] On Behalf Of de Almeida, Camila Sent: 20 December 2016 13:46 To: nmusers@globomaxnm.com<mailto:nmusers@globomaxnm.com> Subject: [NMusers] Generating TAD with ADDL dosing format 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 reason for that is the VPC graph based on TIME looks dreadful as the data is sparse and from different studies of different lengths. I’m having issues generating the TAD output column from my NONMEM run. I naively assumed I could easily do that, but looking at the NONMEM archives it seems this gets tricky when your dosing events are written using ADDL. Has anyone ever managed to find a solution for this? And if not, is there an alternative way to run the VCP on TAD, do we really need to get this column from NONMEM’s output? Thanks all, Camila de Almeida, PhD PKPD Scientist, Modelling & Simulation, IMED Oncology DMPK ________________________________________________________________________________ AstraZeneca UK Limited R&D, Innovative Medicines P Please consider the environment before printing this e-mail ________________________________ AstraZeneca UK Limited is a company incorporated in England and Wales with registered number:03674842 and its registered office at 1 Francis Crick Avenue, Cambridge Biomedical Campus, Cambridge, CB2 0AA. This e-mail and its attachments are intended for the above named recipient only and may contain confidential and privileged information. If they have come to you in error, you must not copy or show them to anyone; instead, please reply to this e-mail, highlighting the error to the sender and then immediately delete the message. For information about how AstraZeneca UK Limited and its affiliates may process information, personal data and monitor communications, please see our privacy notice at www.astrazeneca.com<https://www.astrazeneca.com> ICON plc made the following annotations. ------------------------------------------------------------------------------ This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual or entity named in the e-mail address. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited. If you have received this e-mail transmission in error, please reply to the sender, so that ICON plc can arrange for proper delivery, and then please delete the message. Thank You, ICON plc South County Business Park Leopardstown Dublin 18 Ireland Registered number: 145835 ________________________________ AstraZeneca UK Limited is a company incorporated in England and Wales with registered number:03674842 and its registered office at 1 Francis Crick Avenue, Cambridge Biomedical Campus, Cambridge, CB2 0AA. This e-mail and its attachments are intended for the above named recipient only and may contain confidential and privileged information. If they have come to you in error, you must not copy or show them to anyone; instead, please reply to this e-mail, highlighting the error to the sender and then immediately delete the message. For information about how AstraZeneca UK Limited and its affiliates may process information, personal data and monitor communications, please see our privacy notice at www.astrazeneca.com<https://www.astrazeneca.com>