![]() |
|
The Bernoulli distribution as an apop_model.
The Bernoulli model.
Data format: the matrix or vector can have any size, and I just count up zeros and non-zeros. The bernoulli paramter
is the percentage of non-zero values in the matrix. Its variance is
.