statsmodels.othermod.betareg.BetaModel.predict

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

Predict values for mean or precision

Parameters:
paramsarray_like

The model parameters.

exogarray_like

Array of predictor variables for mean.

exog_precisionarray_like

Array of predictor variables for precision parameter.

whichstr
  • “mean” : mean, conditional expectation E(endog | exog)

  • “precision” : predicted precision

  • “linear” : linear predictor for the mean function

  • “linear-precision” : linear predictor for the precision parameter

Returns:
ndarray, predicted values

Last update: Oct 03, 2024