Data Science, Product Analytics, Ab Testing, Simulation, Deep Dives.
margin_of_error upper_bound = sample_mean + margin_of_error return lower_bound, upper_bound get_ttest_confidence_interval(df.kms_during_program.values) # (102.72, 269.69) We have a few examples in our sample. Also, there's an outlier: a client with 12 races who managed to run almost 600 km