gaussfree.estimation.binomial.EstimateBinomialP
- class gaussfree.estimation.binomial.EstimateBinomialP(n_trials, n_success, prior_dist=None, n_points=1001, hpd_area=0.68)[source]
Bases:
objectEstimator for the success probability in a binomial distribution.
Methods
Compute the likelihood, prior, and posterior probabilities.
Compute statistics based on posterior probability.
Get the highest posterior density interval.
Print statistics and plot the prior, likelihood, and posterior.