Description Usage Arguments Value
View source: R/idcheck_sampling.R
obtain a sample from the conditional Bernoulli distribution uses the recursive method 2 from Chen and Liu (1997)
1 | idcheck_sampling(sum_x, alpha, config = list(num_sample = 1))
|
sum_x |
sum of the samples |
alpha |
vector of probabilities |
config |
a list containing
|
a matrix or a vector containing the Conditional Bernoulli samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.