

def test_dummy_exog1(self):
    me = self.res1.get_margeff(atexog={
        0: 2.0,
        2: 1.0,
    }, dummy=True)
    assert_almost_equal(me.margeff, self.res2.margeff_dummy_atexog1, DECIMAL_4)
    assert_almost_equal(me.margeff_se, me.res2.margeff_dummy_atexog1_se, DECIMAL_4)

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/tests/test_discrete.py TestLogitNewton.test_dummy_exog1/VarMisuse@60/85 `self`->`me`