statsmodels.emplike.originregress.ELOriginRegress.predict#

ELOriginRegress.predict(params, exog=None)[source]#

Return fitted values for a regression through the origin

Parameters:
paramsndarray

Parameters, including the (fixed at 0) intercept term, as returned by fit.

exogndarray, optional

Exogenous variables to use for the prediction. If None, the exog attached to the model is used.

Returns:
ndarray

The predicted values, exog @ params.