statsmodels.genmod.generalized_estimating_equations.NominalGEE.mean_deriv_exog#

NominalGEE.mean_deriv_exog(exog, params, offset_exposure=None)[source]#

Derivative of the expected endog with respect to exog for the multinomial model, used in analyzing marginal effects.

Parameters:
exogarray_like

The exogenous data at which the derivative is computed, number of rows must be a multiple of ncut.

paramsarray_like

Parameter values at which the derivative is computed.

offset_exposureNone

Offset and exposure are ignored for the multinomial family.

Returns:
The value of the derivative of the expected endog with respect
to exog.

Notes

offset_exposure must be set at None for the multinomial family.