Get and change the antithetic flag for an "rstream" object in package rstream.
If the antithetic flag is on (
TRUE) the "rstream" object
returns antithetic random numbers.
Antithetic random streams return numbers which have smallest possible correlation (i.e. -1) to their respective counterparts. Thus instead of a number u the number 1-u is returned.
This is useful for variance reduction techniques in Monte Carlo computations.
1 2 3
an "rstream" object.
a boolean (
Methods available for the following "rstream" subclasses:
Josef Leydold email@example.com
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.