statsmodels.genmod.generalized_estimating_equations.OrdinalGEE.estimate_tweedie_power

OrdinalGEE.estimate_tweedie_power(mu, method='brentq', low=1.01, high=5.0)

Tweedie 特定函数用于估计尺度参数和方差参数。 方差参数也称为 p、xi 或形状。

Parameters:
muarray_like

拟合的平均响应变量

methodstr, defaults to ‘brentq’

Scipy 优化器用于求解 Pearson 方程。目前仅支持 brentq。

lowfloat, optional

用于搜索幂的区间 [a,b] 的下限。默认为 1.01。

highfloat, optional

用于搜索幂的括号区间 [a,b] 的高端。默认为 5。

Returns:
powerfloat

估计的形状或幂。


Last update: Oct 16, 2024