statsmodels.base.model.LikelihoodModel

class statsmodels.base.model.LikelihoodModel(endog, exog=None, **kwargs)[source]

Likelihood model is a subclass of Model.

Methods

fit([start_params, method, maxiter, …])

Fit method for likelihood based models

from_formula(formula, data[, subset, drop_cols])

Create a Model from a formula and dataframe.

hessian(params)

The Hessian matrix of the model.

information(params)

Fisher information matrix of model.

initialize()

Initialize (possibly re-initialize) a Model instance.

loglike(params)

Log-likelihood of model.

predict(params[, exog])

After a model has been fit predict returns the fitted values.

score(params)

Score vector of model.

Properties

endog_names

Names of endogenous variables.

exog_names

Names of exogenous variables.