Description Usage Arguments Value Examples
A specific Gibbs sampler for 2 dimension (x,y) with bivariate density using Rcpp
1 | gbsamplerC(m, a, b, n)
|
m |
numbers of sample want to generate |
a |
the a parameter in Beta(x+a,n-x+b) |
b |
the b parameter in Beta(x+a,n-x+b) |
n |
the n parameter in Binomial(n,y) |
a matrix including two random sample with dimension of (m
,2)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.