How should we estimate the Poisson regression parameters?
Like logistic regression, Poisson regression has no closed-form solution. The log link creates a non-linear equation that must be solved iteratively. However, the good news is that the same IRLS algorithm works for both - GLMs have a unified fitting framework!
We have our model structure defined. Now we need to estimate the parameters ($\beta_0, \beta_1, \ldots, \beta_5$) that best fit the observed rental counts.
Click on a card to select it.
Maximum Likelihood via IRLS is the standard approach for GLMs, and it's required for Poisson regression since there's no closed-form solution.
R's glm() and Python's statsmodels use IRLS (a form of Fisher scoring)
by default. For our bike rental model, it typically converges in 4-5 iterations.