Analytics, Data Science, Statistics, Glm, Poisson Regression.
= np.random.uniform(1000, 5000, n) store_size = np.random.uniform(100, 500, n) day_of_week = np.random.randint(1, 8, n) # True parameters for the simulation true_params = np.array([0.1, 0.0005, 0.005]) # Linear predictor (log scale) log_lambda = true_params[0] + true_params[1] * ad_budget +