statsmodels.genmod.generalized_estimating_equations.GEE.mean_deriv

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.


Last update: Feb 14, 2024