see #1453 for an error this causes the main problem is that the inherited start_params doesn't take the extra negbin parameters into account. aside: finding the range of alpha to use for regularization is not obvious. needs to be relatively large in the larger (nobs=20,000) dataset alpha=10 I think by default we should not penalize the negbin parameter, e.g. if alpha >0 and isscalar(alpha) then ``` amask = np.ones(len(res.params)) amask[-1] = 0 alpha = alpha * amask ``` also: there are no documentation examples for fit_regularized
Activity
BUG NegativeBinomial add fit_regularized closes statsmodels#1453 closes
BUG NegativeBinomial add fit_regularized closes statsmodels#1453 closes
BUG NegativeBinomial add fit_regularized closes statsmodels#1453 closes
Merge commit 'v0.5.0-1189-g48f7a21' into releases
Merge branch 'releases' into debian-experimental