

def test_jac(self):
    jacsum = self.res1.model.score_obs(self.res1.params).sum(0)
    score = self.res1.model.score(self.res1.params)
    assert_almost_equal(jacsum, score, DECIMAL_9)

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/tests/test_discrete.py CheckModelResults.test_jac/original