Skip to content

REF: add exog argument to score, score_obs and hessian #1784

Open

Description

@josef-pkt

Just a thought for making score_tests easier.
I'm writing score_test for GLM and need the score (score_obs) at other exog than self.exog. see PR #1781
The score falls nicely into a factor * exog pattern, so it would be easy to allow other exog.
see #1775

score(params, scale=None, exog=None)

and the same for hessian.

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