Patterns in static

Apophenia

apop_bernoulli.c File Reference

Variables


Detailed Description

The Bernoulli distribution as an apop_model.


Variable Documentation

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 $p$ is the percentage of non-zero values in the matrix. Its variance is $p(1-p)$.

SourceForge.net Logo

Autogenerated by doxygen on 23 Nov 2009.