Description Usage Arguments Value References See Also Examples
This function computes the Gibbs sampler routine as discussed on page 677, but with Bayesian influence integrated. The input parameter alpha is the parameter in the joint distribution of the random vector (X, Y) which is given in the example. The value of m is the number of initial runs of the sampler for achieving equilibrium; then the next (n * m) runs are recorded and returned in the R vectors x2 and y2. The paired items (x2, i) & (y2, i) are the variates for random vector (X, Y).
1 |
alpha |
test statistic applied in algorithm |
beta |
the constraint value on the algorithm |
nt |
NEED INFO |
m |
length of returned variables x1 and y1 |
n |
length of returned variables x2 and y2 |
A list of two streams of iid random variables. The first pair is of length m and the second of length n.
Hogg, R., McKean, J., Craig, A. (2018) Introduction to Mathematical Statistics, 8th Ed. Boston: Pearson.
gibbser2() for more details on the Gibbs sampler routine described on page 677.
1 2 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.