- SUR.predict(params, *, equations=None, data=None, eval_env=8)¶
Predict values for additional data
Model parameters (nvar by 1)
Dictionary-like structure containing exogenous and endogenous variables. Each key is an equations label and must match the labels used to fir the model. Each value must be a dictionary with keys “exog” and “endog”. If predictions are not required for one of more of the model equations, these keys can be omitted.
Values to use when making predictions from a model constructed from a formula
Depth to use when evaluating formulas.
Fitted values from supplied data and parameters
If data is not none, then equations must be none. Predictions from models constructed using formulas can be computed using either equations, which will treat these are arrays of values corresponding to the formula-process data, or using data which will be processed using the formula used to construct the values corresponding to the original model specification.
When using exog and endog, the regressor array for a particular equation is assembled as [equations[eqn][“exog”], equations[eqn][“endog”]] where eqn is an equation label. These must correspond to the columns in the estimated model.
- Return type: