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.

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

  • “precision” : predicted precision

  • “linpred” : linear predictor for the mean function

  • “linpred_precision” : linear predictor for the precision function

Returns:
ndarray, predicted values