Code for optimal mixture weights in importance sampling. 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 two stages, a pilot estimate of mixing alpha and a following importance sampling.
Package details |
|
---|---|
Author | Hera Y. He, Art B. Owen |
Maintainer | Hera Y. He <yhe1@stanford.edu> |
License | GPL-2 |
Version | 0.1 |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.