

def test_margeff_mean(self):
    me = self.res1.get_margeff(at='mean')
    assert_almost_equal(me.margeff, self.res2.margeff_dydx_mean, 7)
    assert_almost_equal(me.margeff_se, self.res2.margeff_dydx_mean_se, 7)

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/tests/test_discrete.py CheckMNLogitBaseZero.test_margeff_mean/original