statsmodels.miscmodels.tmodel.TLinearModel.predict#

TLinearModel.predict(params, exog=None)[source]#

Return predicted mean values

Parameters:
paramsndarray

The parameters of the model. Only the first exog.shape[1] elements (the regression coefficients) are used.

exogarray_like, optional

Explanatory variables to use for prediction. If None, self.exog is used.

Returns:
ndarray

The predicted mean, exog @ beta.