statsmodels.discrete.discrete_model.Logit.initialize¶ Logit.initialize()¶ Initialize is called by statsmodels.model.LikelihoodModel.__init__ and should contain any preprocessing that needs to be done for a model.