```From: Bachman, William (MYD) bachmanw@iconus.com
Subject: [NMusers] NONMEM Tips #20 - Apr 29, 2004 - Notes on changing NONMEM V *SIZE S parameters
Date: Thu, April 29, 2004 10:54 am

Due to the recent traffic on the nmusers list, this tip is being issued so
that users become aware that changing these parameters should not be done
"in a vacuum".  The most commonly changed NONMEM V *SIZES parameters and how
they may be calculated are tabulated below.  See NONMEM Users Guide - Part
III, Appendix 2 for the files in which they occur.

Cautionary Note: IT IS NOT RECOMMENDED THAT YOU CHANGE THESE VALUES UNLESS
YOU HAVE A NEED TO DO SO AND YOU KNOW WHAT YOU ARE DOING!  Also note that
there is an interdependence between paramaters which may require multiple
parameters to be changed when certain sizes are exceeded (as indicated by
error messages from NONMEM or NM-TRAN).

LTH: max. no. of theta's (user-defined, defualt is 40)

LVR: max. no. of eta's and epsilon's (includes off-diagonal variances (e.g.
50 off-diagonal variances would allow a full 10 x 10 diagonal matrix to be
estimated)(user-defined, default is 30)

LVR2: max. no. of eta's permitted when Laplacian method is used
(user-defined, default is 10)

LPAR: max. no. of parameters that may be estimated, LPAR=LTH + LVR (default
is 70)

LPAR2: LPAR2=I*(I+1)/2 where I=INT(SQRT(2*LPAR)) - round up to next integer,
(the FORTRAN default is variables starting with I through N are integers)
(default is 66)

LPAR3: max. of 2850 or LPAR*(LPAR+1)/2  (default is 2850)

NO: max. no. of observation records/individual (default is 50)

LWS1: Size of working space 1, max. of LPAR2*(5*LPAR2+5),
5*(LTH+LVR)*(LTH+LVR+1), or INT(1.2*LVR*(LVR+1))  (default is 3500)

LADD: Related to L2 data item, NO*(NO+1)/2*NDBSb+100, (+100 selected as
arbitrary factor to exceed NO*(NO+1)/2*NDBS) (default is 2550)
(NDBS is no. of diagonal blocks of SIGMA matrix)

(This tip is supplied "gratis" and without implicit or explicit support from
GloboMax LLC).

Previous tips may be found in the NONMEM Repository@GloboMax:
ftp://ftp.globomaxnm.com/Public/nonmem/tips/
See the index.txt file for a listing of previous tips.

***************************************************************************
If you have a "tip" or a better way to do things, by all means, feel free to
post them! One of the reasons for doing this (other than good PR for
GloboMax), is to stimulate discussion. We at GloboMax can learn from your
experience as well. Do you have a "tip" you would like to share, but would
prefer to remain anonymous? If so, you may forward it to us and your
identity will be withheld. Distribution as a "NONMEM Tip" will be at
the discretion of nmconsult@globomaxnm.com.
***************************************************************************

nmconsult@globomaxnm.com
GloboMax®
The Strategic Pharmaceutical Development Division of ICON plc
7250 Parkway Drive, Suite 430
Hanover, MD 21076
Voice: (410) 782-2205
FAX: (410) 712-0737

_______________________________________________________

```