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:
- qif
float The value of the QIF objective function.
- grad
ndarray The gradient vector of the QIF objective function.
- cmat
ndarray The estimated covariance matrix of the estimating equations.
- gn
ndarray The moment vector, i.e., the average of the estimating equations over the groups.
- gn_deriv
ndarray The gradients of each estimating equation with respect to the parameter.
- qif