cBernDCP: Generate binary data with decaying-product correlated structure
Description
Equivalent to cBern(n, p, rho, type="DCP")
Usage
cBernDCP(n, p, rho)
Arguments
n
number of observations
p
the vector of marginal probabilities with dimension m
rho
either a non-negative value indecating the shared correlation coefficient
or and m-1 vector indicating the correlation coefficients between adjacent
variables.