statsmodels.miscmodels.tmodel.TLinearModel.predict#
- TLinearModel.predict(params, exog=None)[source]#
Return predicted mean values
- Parameters:
- params
ndarray 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.
- params
- Returns:
ndarrayThe predicted mean,
exog @ beta.