You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: GLM fit_gradient doesn't use max_start_irls, if > 0 #2834
I'm adding a fix as part of #2805, which should be merged soon, otherwise we make a new PR with it.
consequence of fixing this:
one precision issue in unit tests
two family link combinations fail with only max_start_irls=1
skipping these two cases still leaves 4 convergence warnings that don't cause test failures.
edit:
more detailed result while investigating in #2805
on my computer the tol to pass should be rtol=6e-4 or atol=5e-6
after increasing to atol=5e-6 tests that converge pass
The next fail is serious because it has a convergence failure for Gaussian with inverse_power link
The second convergence failure is InverseGaussian with log link
both are for the case max_start_irls=1, start_params=None
more experimenting: increasing max_start_irls=3 ( current default)
Gaussian with inverse_power still fails
all other finish clean, including InverseGaussian loglink, no convergence warnings for any case
there are already two skips that fail even with start_params provided
NegativeBinomial with link inverse_squared
InverseGaussian with link inverse_squared
I'm going to change max_start_irls to 3 in the unit tests
cross-link to our examples with convergence failures or problems #1649
Activity
BUG: GLM fit_gradient use max_start_irls closes statsmodels#2834
TST: adjust test for failures and convergence problems see statsmodel…
BUG: GLM fit_gradient use max_start_irls closes statsmodels#2834
TST: adjust test for failures and convergence problems see statsmodel…