Expand_Temperatures {ZVCV} | R Documentation |
Adjusting the temperature schedule
Description
This function is used to adjust the temperature schedule so that it is more (or less) strict than the original.
Usage
Expand_Temperatures(
temperatures,
loglike,
rho,
bisec_tol = .Machine$double.eps^0.25
)
Arguments
temperatures |
A vector of length |
loglike |
An |
rho |
The tolerance for the new temperatures. Temperatures are selected so that the conditional effective sample size (CESS) at each temperature is |
bisec_tol |
The tolerance for the bisection method used in selecting temperatures. The default is |
Value
A list is returned, containing the following components:
-
temperatures_all
: The new set of temperatures of lengthtau
. -
relevant_samples
: A vector of lengthtau
containing indices to show which particle sets the new temperatures are based on. -
logw
: AnN
bytau
matrix of log normalised weights of the particles
Author(s)
Leah F. South
References
South, L. F., Oates, C. J., Mira, A., & Drovandi, C. (2019). Regularised zero variance control variates for high-dimensional variance reduction. https://arxiv.org/abs/1811.05073
See Also
See evidence
for functions to estimate the evidence, VDP
for an example and ZVCV for more package details.