'Test Negative Binomial family with log link'

@classmethod
def setup_class(cls):

    cls.decimal_resid = DECIMAL_1
    cls.decimal_params = DECIMAL_3
    cls.decimal_resids = (-1)
    cls.decimal_fittedvalues = DECIMAL_1
    from statsmodels.datasets.committee import load
    cls.data = load()
    cls.data.exog[:, 2] = np.log(cls.data.exog[:, 2])
    interaction = (cls.data.exog[:, 2] * cls.data.exog[:, 1])
    cls.data.exog = np.column_stack((cls.data.exog, interaction))
    cls.data.exog = add_constant(cls.data.exog, prepend=False)
    cls.res1 = GLM(cls.data.endog, cls.data.exog, family=sm.families.NegativeBinomial()).fit()
    from .results.results_glm import Committee
    res2 = Committee()
    res2.aic_R += 2
    cls.res2 = res2
