statsmodels.genmod.qif.QIF.objective#

QIF.objective(params)[source]#

Calculate the QIF objective function and its gradient.

Parameters:
paramsarray_like

The model parameters at which the objective function and its gradient are evaluated.

Returns:
qiffloat

The value of the QIF objective function.

gradndarray

The gradient vector of the QIF objective function.

cmatndarray

The estimated covariance matrix of the estimating equations.

gnndarray

The moment vector, i.e., the average of the estimating equations over the groups.

gn_derivndarray

The gradients of each estimating equation with respect to the parameter.