

@classmethod
def setupClass(cls):
    data = sm.datasets.spector.load()
    data.exog = sm.add_constant(data.exog, prepend=True)
    cls.res1 = Probit(data.endog, data.exog).fit_regularized(method='l1', alpha=0, disp=0, acc=1e-15, maxiter=1000, trim_mode='auto', auto_trim_tol=0.01)
    cls.res2 = Probit(data.endog, data.exog).fit(disp=0, tol=1e-15)

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/tests/test_discrete.py TestL1AlphaZeroProbit.setupClass/original