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: exog : array_like
The exogeneous data at which the derivative is computed, number of rows must be a multiple of ncut.
lpr : array_like
The linear predictor values, length must be multiple of ncut.
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.