statsmodels.othermod.betareg.BetaModel.predict

BetaModel.predict(params, exog=None, exog_precision=None, which='mean')[source]

预测均值或精度的值

Parameters:
paramsarray_like

模型参数。

exogarray_like

用于均值的预测变量数组。

exog_precisionarray_like

精度参数的预测变量数组。

whichstr
  • “均值” : 均值, 条件期望 E(endog | exog)

  • “precision” : 预测的精确度

  • “linear” : 均值函数的线性预测器

  • “linear-precision” : 精度参数的线性预测器

Returns:
ndarray, predicted values

Last update: Oct 16, 2024