n should be a vector with the same length as coin_data, something like [10, 9, 5, 6, …] that each element indicates the total n of that specific observed trial
n should be a vector with the same length as coin_data, something like [10, 9, 5, 6, …] that each element indicates the total n of that specific observed trial