W3cubDocs

/Statsmodels

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:
Return type:

An array of fitted values

Notes

If the model has not yet been fit, params is not optional.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.regression.linear_model.GLS.predict.html