[NMusers] Corrections to TNPRI Examples

From: Ludden, Thomas (MYD) <luddent_at_iconus.com>
Date: Thu, 25 Jan 2007 11:42:22 -0500

Dear All:
 
Mats Karlsson brought to my attention that the TNPRI Examples in the
Help Guide for NONMEM VI, Guide VIII (October 2006), do not run
correctly. Three corrections need to be made for Examples 1 and 2.
 
1. The PRIOR subroutine must have access to the value of the IPROB
variable that is contained in ROCM14. A corrected subroutine for
Examples 1 and 2 is provided below. It also contains explicit
declarations for all the variables in the subroutine.
 
      SUBROUTINE PRIOR (ICALL,CNT)
      COMMON /ROCM14/ NPROB,IPROB,S1NUM,S2NUM,S1NIT,S2NIT,S1IT,S2IT
      INTEGER NPROB,IPROB,S1NUM,S2NUM,S1NIT,S2NIT,S1IT,S2IT
      INTEGER ICALL
      DOUBLE PRECISION CNT
      INTEGER IFND,MODE,ITYP,NSAM,ISS,IVAR
      REAL*4 PLEV
      IFND=0
      MODE=0
      PLEV=0
      IF (IPROB.EQ.2) CALL TNPRI (IFND,MODE,ITYP,PLEV,NSAM,ISS,IVAR,CNT)
      RETURN
      END
 
2. In the first problem in the control stream the $MSFI record must
precede the $SUBROUTINE record.
 
3. In the second problem in the control stream the $DATA record should
include the REWIND option.
 
The changes for the PRIOR subroutine or Example 3 are the same as for
Examples 1 and 2. That PRIOR subroutine must also contain the
assignment of additional variables that are shown correctly in the
example for simulation. However, the control stream for Example 3 needs
an additional correction. The option TRUE=PRIOR should be added to the
$SIM record in the second control stream; otherwise, the initial
estimates in the control stream are used as TRUE values instead of the
PRIOR values in the msf file.
 
 
 
 



___________________________________________________________________________=
____________________________________________________________

  

 
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 can arrange for proper delivery, and then please
delete the message. Thank You.



 









Received on Thu Jan 25 2007 - 11:42:22 EST

This archive was generated by hypermail 2.2.0 : Tue Nov 06 2007 - 15:08:17 EST