I\'m trying to reproduce fitting a beta distribution in Go, given an input of floating-point rates:
rates = [0.20, 0.15, 0.002, 0.017, 0.181, 0.004, ...]