Machine Learning, Data Science.
point estimate to a distribution of the likelihood that the coin is fair? That’s where MCMC comes in. import pymc3 as pm with pm.Model() as coin_model: p = pm.Uniform('p', lower=0, upper=1) obs = pm.Bernoulli('obs', p, observed=coin_flips) step = pm.Metropolis() trace = pm.sample(100000, step=step)