Skip to content

NegativeBinomial missing fit_regularized method #1454

Closed

Description

@josef-pkt

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

  1. added a commit that references this issue on Apr 22, 2014
    16dfb7d
  2. added a commit that references this issue on Jul 22, 2014
    544400d
  3. added a commit that references this issue on Sep 2, 2014
    5be6a86
  4. added 2 commits that reference this issue on Oct 23, 2014
    18a1faa
    8f2ab7a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions