Description Usage Arguments Value Author(s) References
The Stochastic Approximation Cut (SACut) algorithm is proposed to draw samples from the cut distribution discussed in Liu et al. (2009) and Plummer (2015). The algorithm is divided into two parallel chains. The main chain targets an approximation of the cut distribution; the auxiliary chain forms a proposal distribution used in the main chain.
1 |
pre_values |
The initial condition for the SACut algorithm. It is obtained by running a preliminary chain. Hence, it should be an output from function Preliminary_SACut(). |
PhiC |
The auxiliary parameter set. It is obtained by calling function LoadNewPhi0() or LoadOldPhi0(). Note that, this should be the same as the PhiC in function Preliminary_SACut(). |
numrun |
The number of total iterations of the SACut algorithm. |
burnin |
The number of iterations that are discarded for burn-in. |
thin |
This is the thinning parameter for the Markov chain. |
no |
The shrink magnitude no determines the sequence of steps used in the stochastic approximation method. It should be set to a large number for a complex problem as large no forces the auxiliary chain to visit each distribution (condition on different phi_0) quickly. It is the t_0 defined in Liang et al. (2007) and Liang et al. (2016). See the reference for details. Note that, this should be the same as the no in function Preliminary_SACut(). |
acce_pa |
The accelerate parameter acce_pa is set for speedy convergence of the auxiliary chain by increasing the size of the sequence of steps used in the stochastic approximation method. Normally it is set to be 1, but you can try higher value if the auxiliary chain converges slowly. Note that, this should be the same as the acce_pa in function Preliminary_SACut(). |
sig_dig |
The precision parameter κ. It has same dimension as θ. Note that, this should be the same as the sig_dig in function Preliminary_SACut(). |
filename |
This is the name of the output file. Note that, it should be a .CSV file (i.e. 'XX.CSV'). |
storage_step |
The output file will be written and updated every 'storage_step' iteration, default is 10. |
print_theta |
If print_theta==TRUE, the sample of theta at each iteration will be printed. |
Comenvir |
This is the parallel computational environment. It should be an output from function ComEnvir(). |
CutModel |
The cut model used, it is an output of function CutModel(). |
A .CSV file which contains the computational time for each iteration and samples of theta and phi is produced at the current path.
Yang Liu
Liu, F., M. Bayarri, J. Berger, et al. (2009). Modularization in Bayesian Analysis, with Emphasis on Analysis of Computer Models. Bayesian Analysis 4 (1), 119-150.
Plummer, M. (2015). Cuts in Bayesian Graphical Models. Statistics and Computing 25 (1), 37-43.
Liang, F., C. Liu, and R. J. Carroll (2007). Stochastic Approximation in Monte Carlo Computation. Journal of the American Statistical Association 102 (477), 305-320.
Liang, F., I. H. Jin, Q. Song, and J. S. Liu (2016). An Adaptive Exchange Algorithm for Sampling from Distributions with Intractable Normalizing Constants. Journal of the American Statistical Association 111 (513), 377-393.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.