PooledOLS.predict(params, *, exog=None, data=None, eval_env=1, context=None)[source]

Predict values for additional data

params : array_like

Model parameters (nvar by 1)

exog : array_like

Exogenous regressors (nobs by nvar)

data : DataFrame

Values to use when making predictions from a model constructed from a formula

context : int

Depth to use when evaluating formulas.


Fitted values from supplied data and parameters

Return type:



If data is not None, then exog must be None. Predictions from models constructed using formulas can be computed using either exog, which will treat these are arrays of values corresponding to the formula-processed data, or using data which will be processed using the formula used to construct the values corresponding to the original model specification.