Activity log for bug #673197

Date Who What changed Old value New value Message
2010-11-09 20:28:18 Hanno Starling bug added bug
2010-11-09 20:28:18 Hanno Starling attachment added three_stations_data.txt https://bugs.launchpad.net/bugs/673197/+attachment/1728273/+files/three_stations_data.txt
2010-11-25 16:26:42 joep summary Bug in discrete GLM Poisson model Convergence Failure with Newton, Bug in discrete GLM Poisson model
2010-11-25 16:31:18 joep description The attachment has three columns with discrete data. Try scikits.statsmodels.discretemod.Poisson on the data. The residuals of the middle column will all be negative, which is wrong. This is because the slope is very close to zero which causes some bug in the algorithm. The first and last column give good results. updated diagnosis: Newton, the default optimizer, does not converge to the correct solution. I didn't look at the details but I guess the stepsize selection is not robust. The gradient in the example is very large. The example converges with Nelder-Mead. original description: The attachment has three columns with discrete data. Try scikits.statsmodels.discretemod.Poisson on the data. The residuals of the middle column will all be negative, which is wrong. This is because the slope is very close to zero which causes some bug in the algorithm. The first and last column give good results.