BEASTObject that performs calculations based on the State.
Probabilistic representation that can produce a log probability for instance for running an MCMC chain.
Bernoulli distribution, used as prior or likelihood.If the input x is a multidimensional parameter, each of the dimensions is considered as a separate independent component.
Logable: yes, this can be used in a log.
 
| type: beast.base.inference.parameter.RealParameter |
| probability p parameter. Must be either size 1 for iid trials, or the same dimension as trials parameter if inhomogeneous bernoulli process. |
| Required input |
 
| type: beast.base.inference.parameter.BooleanParameter |
| the results of a series of bernoulli trials. |
| Optional input |
 
| type: beast.base.inference.parameter.IntegerParameter |
| Optional condition: the minimum number of ones in the boolean array. |
| Optional input |