Data Science, Product Analytics, Ab Testing, Simulation, Deep Dives.
replace = True) # Linear regression model model = smf.ols('kms_during_program ~ races_before', data = tmp_df).fit() tmp.append( { 'iteration': i, 'races_coef': model.params['races_before'] } ) # Saving data bootstrap_df = pd.DataFrame(tmp) # Calculating confident interval lower_bound =