Description Usage Arguments Value Author(s) References Examples
Using dyadic replicas of a uniform sample, when evaluating the mean of h(x)=(cos(50*x) +sin(20*x))^2, this function shows the corresponding improvement in variance. The parameter q is used to break the unit interval into 2^q blocks where a transform of the original uniform sample is duplicated.
1 |
N |
final number of simulations |
q |
number of dyadic levels |
Produces a plot comparing the qth and (2q)th dyadic improvements with the original.
Christian P. Robert and George Casella
From Chapter 4 of EnteR Monte Carlo Statistical Methods
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.