statsmodels.discrete.discrete_model.DiscreteModel.initialize

method

DiscreteModel.initialize()[source]

Initialize is called by statsmodels.model.LikelihoodModel.__init__ and should contain any preprocessing that needs to be done for a model.