Analytics, Data Science, Statistics, Glm, Poisson Regression.
current_score = best_new_score model = smf.glm(f"{response} ~ {' + '.join(selected_candidates)}", data=data, family=sm.families.Poisson()) results = model.fit() # Removing insignificant variables pvalues = results.pvalues for variable, pvalue in pvalues.items(): if pvalue > alpha_remove and