Re: LOG..
From: Luann Phillips <luann.phillips@cognigencorp.com>
Subject: Re: LOG..
Date: Wed, 19 Sep 2001 11:35:27 -0400
I have used LOG in NONMEM frequently so I'm curious about how you're
using it and what error messages you are receiving. I know that NONMEM
will accept Y=LOG(F). However, some platforms (depending on the FORTRAN
compiler and its options) will terminate the run when F=0 (which
frequently happens on the first dose record) because LOG(0) = negative
infinity. To prevent termination of a run because F=0 for dose records,
you can try the following:
IF(AMT.NE.0) TPRED=F+1 ;dose record
IF(AMT.EQ.0) TPRED=F ;event record
Y = TPRED + ESP(1)
Luann Phillips
Cognigen Corporation
Manager of Pharmacometrics R&D
395 Youngs Rd.
Williamsville, NY 14221
email: Luann.Phillips@cognigencorp.com
Voice: (716) 633-3463 ext. 236
Fax: (716) 633-7404