

def test_nodummy_exog2(self):
    me = self.res1.get_margeff(atexog={
        1: 21.0,
        2: 0,
    }, at='mean')
    assert_almost_equal(me.margeff, self.res2.margeff_nodummy_atexog2, DECIMAL_4)
    assert_almost_equal(me.margeff_se, self.res2.margeff_nodummy_atexog2_se, DECIMAL_4)

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/tests/test_discrete.py TestLogitNewton.test_nodummy_exog2/original