Skip to content

refactor exposure in count models #1609

Open

Description

@josef-pkt

Problem with exposure: we don't store "exposure" we store log(exposure)

I think that's not a good design, storing a different variable under the original name

found while working on #1221, #1093 and #1608

Activity

  1. added a commit that references this issue on Apr 20, 2014
    52e628f
  2. josef-pkt commented on Apr 22, 2014

    @josef-pkt
    MemberAuthor

    Looks like I closed the wrong issue

  3. josef-pkt commented on Apr 22, 2014

    @josef-pkt
    MemberAuthor

    possible solution

    for example
    create and internal variable and merge _offset_all = np.exp(exposure) + offset to avoid the repeated sum
    #1610 (comment)

  4. jseabold commented on Apr 22, 2014

    @jseabold
    Member

    That's what R does for multiple offsets AFAIK

  5. added a commit that references this issue on Sep 2, 2014
    3f56e32
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