

def test_count_dydxoverall(self):
    me = self.res1.get_margeff(count=True)
    assert_almost_equal(me.margeff, self.res2.margeff_count_dydx, DECIMAL_4)
    assert_almost_equal(me.margeff_se, self.res2.margeff_count_dydx_se, DECIMAL_4)

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/tests/test_discrete.py CheckMargEff.test_count_dydxoverall/original