def setup_class(cls): super(TestGAMGamma, cls).setup_class() #initialize DGP cls.family = family.Gamma(links.log()) cls.rvs = stats.gamma.rvs cls.init()
def __init__(self): super(self.__class__, self).__init__() #initialize DGP self.family = family.Gamma(links.log) self.rvs = stats.gamma.rvs self.init()