statsmodels.genmod.generalized_estimating_equations.NominalGEE.mean_deriv_exog

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

多项式模型中关于外生变量的期望内生变量的导数,用于分析边际效应。

Parameters:
exogarray_like

计算导数时使用的自变量数据,行数必须是ncut的倍数。

lprarray_like

线性预测值,长度必须是ncut的倍数。

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

注释

对于多项分布族,offset_exposure 必须设置为 None。


Last update: Oct 16, 2024