Given a beta binomial function with known N, alpha and beta, finds the alpha and beta for a beta binomial with a different N that gives the same mean and variance
find_bb_2(n1, a1, b1, n2)
n1 | the number of trials in the first distribution |
---|---|
a1 | alpha in the first distribution |
b1 | beta in the first distribution |
n2 | the number of trials in the second distribution |
alpha and beta for the second distribution