Binomial likelihood

Description

Calculates a log likelihood from a binomial distribution

Usage

1
ll.binom(x, n, p)

Arguments

x

Same as x from dbinom - successes

n

Same as size from dbinom - trials

p

Same as prob from dbinom - observed probability

Value

Log-Likelihood based on a binomial distribution

References

R Development Core Team. 2009. "R: A Language and Environment for Statistical Computing" R Foundation for Statistical Computing Vienna, Austria.

See Also

dbinom

Examples

1
ll.binom(x=1, n=2, p=0.5)