

def test_loglikeobs(self):
    llobssum = self.res1.model.loglikeobs(self.res1.params).sum()
    assert_almost_equal(llobssum, self.res1.llf, DECIMAL_14)

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