Analytics, Data Science, Statistics, Glm, Poisson Regression.
stepwise variable selection initial_candidates = ['ad_budget', 'store_size', 'C(day_of_week)'] response = 'num_customers' final_results = stepwise_selection(data, response, initial_candidates) # Display the final model coefficients and goodness-of-fit statistics print(final_results.summary())