This function generates n random variables from the \(CRT\)(\(b,c\)) distribution
Arguments
n
Number of observations. It must be a positive integer.
b
Parameter distribution, a non-negative integer. The number of Bernoulli independent variables that are added. It can be a vector
c
Parameter distribution, a positive real number. Used calculate the success probability the j-th Bernoulli independent variable, that is, c/(c +j -1). It can be a vector
References
Pitman, Jim (1995). "Exchangeable and Partially Exchangeable Random Partitions". Probability Theory and Related Fields. 102 (2): 145:158