uwham.boot | R Documentation |
This function implements variance estimation based on block bootstrap for UWHAM estimates of free energies and expectations.
uwham.boot(proc.type, block.size, boot.size, seed = 0, label = NULL, logQ, size=NULL, base = NULL, init = NULL, phi = NULL, state = NULL)
proc.type |
Type of simulation, |
block.size |
A vector of length |
boot.size |
The number of bootstrap replications. |
seed |
Seed for random number generation. |
label |
A vector of length |
logQ |
|
size |
A vector of length |
base |
The baseline index, between |
init |
A vector of length |
phi |
A vector of function values on the pooled sample; if |
state |
A vector of indices for the thermodynamic states under which expectations are to be computed;
if |
The use of block bootstrap requires at least two more inputs than uwham
: the type of simulation proc.type
and the time ordering of the observations.
If proc.type="indep"
, the data are assumed to be generated by (approximately) independent chains at different thermodynamic states. The observations corresponding to the rows of logQ
are assumed to be ordered by thermodynamic state and by simulation time within each state.
To perform block bootstrap, data blocks are resampled within each thermodynamic state and then pooled to build bootstrap samples.
If proc.type="parallel"
, the data are assumed to be generated by (synchronous) parallel tempering or replica exhanges. Equal sample sizes are required. The observations corresponding to the rows of logQ
are assumed to be ordered by simulation time and then by either thermodynamic state (as in the dataset ligand2.soft
) or replica (as in the dataset ligand2.hard
). The synchronized block bootstrap is implemented such that blocks corresponding to the same time interval are randomly selected from all the thermodynamic states (Tan et al. 2012).
If proc.type="serial"
, the data are assumed to be generated by (single-chain) serial tempering or simulated tempering. The observations corresponding to the rows of logQ
are assumed to be ordered by time. The thermodynamic labels must then be provided in label
. To perform block bootstrap, data blocks are resampled from the entire chain, and the number of observations at each state is re-computed for each bootstrap sample.
ze |
The vector of averages of estimated free energies over the bootstrap samples, which can differ from the output |
ve |
The vector of estimated variances for the output |
phi |
The vector of averages of estimated expectations over the bootstrap samples (which can differ from the output |
phi.v |
The vector of estimated variances for |
Tan, Z., Gallicchio, E., Lapelosa, M., and Levy, R.M. (2012) "Theory of binless multi-state free energy estimation with applications to protein-ligand binding," Journal of Chemical Physics, 136, 144102.
#See the examples for uwham().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.