

@classmethod
def setupClass(cls):
    data = sm.datasets.randhie.load()
    exog = sm.add_constant(data.exog, prepend=False)
    exog.res1 = NegativeBinomial(data.endog, exog, 'geometric').fit(method='bfgs', disp=0)
    res2 = RandHIE()
    res2.negativebinomial_geometric_bfgs()
    cls.res2 = res2

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/tests/test_discrete.py TestNegativeBinomialGeometricBFGS.setupClass/VarMisuse@40/48 `cls`->`exog`