Re: Random number generation
Hi Sebastien,
As far as I know, you could write verbatim code to generate random numbers
during estimation. E.g:
$PK|$DES|$ERROR
RAN = any value ; initialization
"RAN = RAND(0) ; start verbatim code
A random number between 0 and 1 from uniform distribution will be assigned to
RAN. This function is called for each record of your input data. I believe it's
also possible to call it more/fewer times through checking ICALL.
Warm regards,
Tingjie
Quoted reply history
________________________________
From: [email protected] <[email protected]> on behalf of
Sebastien Bihorel <[email protected]>
Sent: Thursday, May 30, 2019 12:34
To: [email protected]
Subject: [NMusers] Random number generation
Hi,
Is it possible for NONMEM to generate a random number during an estimation run?
Thank you
Sebastien Bihorel