Created
March 28, 2021 07:51
-
-
Save grahamharrison68/00f7736077fe01abff73b1cbbdcdfafc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df_binom_ci['pop_min'] = df_binom_ci.apply(lambda row: binomial_distribution_ci_pop_min(row['confidence'], row['p_hat'], row['n']), axis=1) | |
df_binom_ci['pop_max'] = df_binom_ci.apply(lambda row: binomial_distribution_ci_pop_max(row['confidence'], row['p_hat'], row['n']), axis=1) | |
df_binom_ci['confidence_interval'] = df_binom_ci.apply(lambda row: binomial_distribution_ci_text(row['confidence'], row['p_hat'], row['n']), axis=1) | |
df_binom_ci |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment