def METHOD_NAME(self):
    res1 = self.res1
    res2 = self.res2
    fittedvalues = res1.predict()
    resid = res1.model.endog - fittedvalues
    assert_allclose(fittedvalues, res2.loc_fit.fitted_values, rtol=0.00025)
    assert_allclose(resid, res2.loc_fit.residuals, atol=2e-6) #rtol=0.00036)
    #TODO: no resid available as attribute
    #assert_allclose(res1.resid, res2.loc_fit.residuals)
    #assert_allclose(res1.fittedvalues, res2.loc_fit.fitted_values)