Workhorse functions `penoptpersp`

and `penoptpersp.alpha.only`

minimize estimated variances with and without control variates respectively. It can be used in adaptive mixture importance sampling, for example, function `batch.estimation`

does a two-stage estimation, a pilot estimate of mixing *α* and a following importance sampling estimation.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.