Created
March 28, 2021 07:50
-
-
Save grahamharrison68/4aa55d90a2317f319d7cd66fa8b67978 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_normal_ci['pop_min'] = df_normal_ci.apply(lambda row: normal_distribution_ci_pop_min(row['confidence'], row['x_bar'], row['sigma'], row['n']), axis=1) | |
df_normal_ci['pop_max'] = df_normal_ci.apply(lambda row: normal_distribution_ci_pop_max(row['confidence'], row['x_bar'], row['sigma'], row['n']), axis=1) | |
df_normal_ci['confidence_interval'] = df_normal_ci.apply(lambda row: normal_distribution_ci_text(row['confidence'], row['x_bar'], row['sigma'], row['n']), axis=1) | |
df_normal_ci |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment