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