

def test_params(self):
    m = self.m
    assert_almost_equal(self.res_unreg.params[:m], self.res_reg.params[:m], DECIMAL_4)
    kvars = self.res_reg.model.exog.shape[1]
    assert_almost_equal(0, self.res_reg.params[self:kvars], DECIMAL_4)

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/tests/test_discrete.py CheckL1Compatability.test_params/VarMisuse@66/80 `m`->`self`