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:
exog (array_like) – The exogeneous data at which the derivative is computed.
lin_pred (array_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.