def __init__(self, endog, exog, exog_infl=None, offset=None, exposure=None, inflation='logit', missing='none', **kwargs):
    super(ZeroInflatedPoisson, self).__init__(endog, exog, offset=offset, inflation=inflation, exog_infl=exog_infl, exposure=exposure, missing=missing, **kwargs)
    self.model_main = Poisson(self.endog, self.exog, offset=offset, exposure=exposure)
    self.distribution = zipoisson
    self.result_class = ZeroInflatedPoissonResults
    self.result_class_wrapper = ZeroInflatedPoissonResultsWrapper
    self.result_class_reg = L1ZeroInflatedPoissonResults
    self.result_class_reg_wrapper = L1ZeroInflatedPoissonResultsWrapper
def __init__(self, endog, exog, exog_infl=None, offset=None, exposure=None, inflation='logit', missing='none', **kwargs):
    super(ZeroInflatedPoisson, self).__init__(endog, exog, offset=offset, inflation=inflation, exog_infl=exog_infl, exposure=exposure, missing=missing, **kwargs)
    self.model_main = Poisson(self.endog, self.exog, offset=offset, exposure=exposure)
    self.distribution = zipoisson
    self.result_class = ZeroInflatedPoissonResults
    self.result_class_wrapper = ZeroInflatedPoissonResultsWrapper
    self.result_class_reg = L1ZeroInflatedPoissonResults
    self.result_class_reg_wrapper = L1ZeroInflatedPoissonResultsWrapper