Analytics, Data Science, Statistics, Glm, Poisson Regression.
3: Fitting the model results = model.fit() # Step 4: Displaying the model coefficients and goodness-of-fit statistics print(results.summary()) # Optional: Assessing goodness-of-fit using deviance and AIC print(f"Deviance: {results.deviance}") print(f"AIC: {results.aic}") Poisson regression