https://raw.githubusercontent.com/MatthewReid854/reliability/master/docs/images/logo.png

one_sample_proportion

class reliability.Reliability_testing.one_sample_proportion

Calculates the upper and lower bounds of reliability for a given number of trials and successes.

inputs: trials - the number of trials which were conducted successes - the number of trials which were successful CI - the desired confidence interval. Defaults to 0.95 for 95% CI. print_results - if True the results will be printed to the console.

returns: lower, upper - Confidence interval limits.