beta_binom: Bayesian estimation for beta binomial distribution

Description Usage Arguments Value

Description

This function returns the bayesian posterior estimate for a beta binomial distribution

Usage

1
beta_binom(n, y, a = 1, b = 1)

Arguments

n

Total number of binomial draws

y

The total number of successes

a

Shape 1 parameter of beta distribution

b

Shape 1 parameter of beta distribution

Value

The likelihood and posterior of the beta binmomial distribution


ssarda/genomeutils documentation built on May 30, 2019, 8:42 a.m.