

def test_nodummy_dyexmean(self):
    me = self.res1.get_margeff(at='mean', method='dyex')
    assert_almost_equal(me.margeff, self.res2.margeff_nodummy_dyexmean, DECIMAL_4)
    assert_almost_equal(me.margeff_se, self.res2.margeff_nodummy_dyexmean_se, DECIMAL_4)

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