statsmodels.genmod.generalized_estimating_equations.GEE.mean_deriv

method

GEE.mean_deriv(exog, lin_pred)[source]

Derivative of the expected endog with respect to the parameters.

Parameters
exogarray-like

The exogeneous data at which the derivative is computed.

lin_predarray-like

The values of the linear predictor.

Returns
The value of the derivative of the expected endog with respect
to the parameter vector.

Notes

If there is an offset or exposure, it should be added to lin_pred prior to calling this function.