bug-mcsim
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with fixed variables in MCSim v5


From: Frédéric BOIS
Subject: problem with fixed variables in MCSim v5
Date: Wed, 22 Oct 2003 13:40:27 +0200

We just ffound a bug in the way MCSim v5 handles variables set to given
numerical values in MCMC runs:

If you try to do:

Level {

  SD_alpha = 1;

  Level {

    Distrib (alpha, Normal,  0,  SD_alpha);

etc...

you will get an error because SD_alpha in the Distrib statement is set
at zero rather than the prescibed 1.
Even the default value given in the model file is not used...

To correct this you should do: 

Level {

  Level {

   Distrib (alpha, Normal,  0,  1);

etc...

or

Level {

  Level {

   SD_alpha = 1;
   Distrib (alpha, Normal,  0,  SD_alpha);

etc...

I will work on fixing the problem

==========================
Frederic Y. Bois,
Unite de Toxicologie Experimentale, responsable
INERIS
Parc ALATA, BP 2
5, rue Taffanel
60550 Verneuil en Halatte
FRANCE
tel: + 33 (0)3 44 55 65 96
fax: + 33 (0)3 44 55 66 05
email: address@hidden
web: http://www.ineris.fr, http://toxi.ineris.fr





reply via email to

[Prev in Thread] Current Thread [Next in Thread]