Data Science, Product Analytics, Ab Testing, Simulation, Deep Dives.
sample_df[sample_df.treatment == 0].shape[0] retention_control = sample_df[sample_df.treatment == 0].retention.mean() ci_lower, ci_upper = get_ci_for_retention(sample_df, boot_iters, confidence_level) tmp_data.append( { 'experiment_id': sim, 'num_users_treatment': num_users_treatment,