arch.univariate.ZeroMean.resids

ZeroMean.resids(params, y=None, regressors=None)[source]

Compute model residuals

Parameters
paramsndarray

Model parameters

yndarray, optional

Alternative values to use when computing model residuals

regressorsndarray, optional

Alternative regressor values to use when computing model residuals

Returns
residsndarray

Model residuals

Return type

Union[ndarray, DataFrame, Series]