statsmodels.regression.linear_model.GLS.predict¶
- GLS.predict(params, exog=None)¶
Return linear predicted values from a design matrix.
- Parameters:
params (array_like) – Parameters of a linear model.
exog (array_like, optional) – Design / exogenous data. Model exog is used if None.
- Returns:
An array of fitted values.
- Return type:
array_like
Notes
If the model has not yet been fit, params is not optional.