Analytics, Data Science, Statistics, Glm, Poisson Regression.
true_params[2] * store_size # Rate parameter (exponentiate to get the expected number of customers) lambda_ = np.exp(log_lambda) # Generate the observed number of customers using a Poisson distribution num_customers = np.random.poisson(lambda_) # Create a DataFrame to store the simulated data data