Skip to content

inverselink() inconsistent on master vs tagged versions for LogitLink() #643

Description

@alanderos91

On master the function returns the 3-tuple in the expected order. Looks like deriv and omμ are swapped on recently tagged versions, affecting releases:

It's almost harmless near μ = 0.5 but causes major headaches near the extremes.

On master:

GLM.inverselink(LogitLink(), -20.0)
# (2.0611536181902033e-9, 2.0611536139418488e-9, 0.9999999979388463)

On 1.9.2:

GLM.inverselink(LogitLink(), -20.0)
#(2.0611536181902033e-9, 0.9999999979388463, 2.0611536139418488e-9)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions