def setup_class(cls): super(_estGAMNegativeBinomial, cls).setup_class() #initialize DGP cls.family = family.NegativeBinomial() cls.rvs = stats.nbinom.rvs cls.init()
def __init__(self): super(self.__class__, self).__init__() #initialize DGP self.family = family.NegativeBinomial() self.rvs = stats.nbinom.rvs self.init()