Re: DV Simulation
From:Nick Holford
Subject:Re: [NMusers] DV Simulation
Date: Fri, 30 May 2003 09:18:39 +1200
I have to say that I am now finding the way $SIMULATION deals with $TABLE output more
complex than I thought originally.
It seems that when using $SIMULATION the $TABLE output from each SUBPROBLEM is
concatenated to the $TABLE FILE only if there is one $TABLE record. This is similar to
using FORWARD but if the problem is re-run a new $TABLE FILE is created rather than
concatenating output to an existing file.
If there is a second $TABLE record then output for each SUBPROBLEM overwrites the output
from previous subproblems for both $TABLE FILEs. One then needs to use the FORWARD option
to concatenate output from each SUBPROBLEM to each $TABLE FILE.
If you use $SIMULATION and only one $TABLE record then you will probably get what you
expect (which is the way it was for me until today!).
But if you use the FORWARD option you must be careful because if you re-run the problem
(as you might well do while debugging) be aware that the output from each run will be
concatenated to the table file from earlier runs.
--
Nick Holford, Dept Pharmacology & Clinical Pharmacology
University of Auckland, 85 Park Rd, Private Bag 92019, Auckland, New Zealand
email:n.holford@auckland.ac.nz tel:+64(9)373-7599x86730 fax:373-7556
http://www.health.auckland.ac.nz/pharmacology/staff/nholford/