

@cache_readonly
def fittedvalues(self):
    model = self.model
    endog = model.endog.copy()
    k_ar = self.k_ar
    exog = model.exog
    if (exog is not None):
        if ((model.method == 'css') and (k_ar > 0)):
            exog = exog[k_ar:]
    if ((model.method == 'css') and (k_ar > 0)):
        endog = endog[k_ar:]
    fv = (endog - self.resid)
    return fv

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/arima_model.py ARMAResults.fittedvalues/original