Re: Error trap
From: alison@c255.ucsf.EDU (ABoeckmann)
Subject: Re: Error trap
Date: 19 Dec 1997 19:16:08 -0500
If you really do not want to reparameterize, there is a way to tell NONMEM that a given set of thetas and etas are unacceptable: the EXIT statement. (See Guide IV, Chapt 4, G.2 Implementation). In your case, you might have code that looks like this:
V=TV*EXP(ETA(1))
VSS=TVSS*EXP(ETA(2))
IF (VSS.LE.V) EXIT 1 100
During the posthoc step, NONMEM will try to avoid etas that give rise to this condition.
The second integer that follows EXIT, 100, identifies it in error messages such as
PK SUBROUTINE: USER ERROR CODE = 100
-- Alison Boeckmann