Skip to content

Instantly share code, notes, and snippets.

@trcook
Created April 3, 2013 13:58
Show Gist options
  • Select an option

  • Save trcook/5301415 to your computer and use it in GitHub Desktop.

Select an option

Save trcook/5301415 to your computer and use it in GitHub Desktop.
likelihood functions
# The liklihood of a Poission Distribution
exp(-theta*length(data))*theta^sum(data))/prod(factorial(data)
(factorial(n)/(factorial(k)factorial((k-n))))p^k * (1-p)^(n-k)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment