Data Science, Product Analytics, Ab Testing, Simulation, Deep Dives.
country_avg_annual_earning', data = sample_df).fit(disp = 0) tmp_data.append( { 'iteration': iter, 'coef': val_model.params['treatment'] } ) coef_df = pd.DataFrame(tmp_data) return coef_df.coef.quantile((1 - confidence_level)/2), coef_df.coef.quantile(1 - (1 - confidence_level)/2) The next step is