Description Usage Arguments Details Value References
Compute the standard errors for the Bayes factors estimates.
1 2 3 
pargrid 
A data frame with components "linkp", "phi", "omg", "kappa". Each row gives a combination of the parameters to compute the new standard errors. 
runs 
A list with outputs from the function

bfsize1 
A scalar or vector of the same length as

nbatch1 
A scalar or vector of the same length as

nbatch2 
A scalar or vector of the same length as

method 
Which method to use to calculate the Bayes factors: Reverse logistic or MengWong. 
bvmethod 
Which method to use for the calculation of the batch variance. The standard method splits to disjoint batches. The second and third method use the spectral variance method with different lag windows. 
reference 
Which model goes in the denominator. 
transf 
Whether to use a transformed sample for the
computations. If 
Uses the batch means method to compute the standard errors for Bayes factors.
A list with components
pargrid
The inputted pargrid augmented with the computed standard
errors.
bfEstimate
The estimates of the Bayes factors
bfSigma
The covariance matrix for the Bayes factors
estimates.
Roy, V., Tan, A. and Flegal, J. (2018). Estimating standard errors for importance sampling estimators with multiple Markov chains, Statistica Sinica, 28 10791101.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.