def test_wu(self): cache = spDcache(self.ols, self.w) np.testing.assert_allclose(cache.wu[0][0], -10.681344941514411, RTOL)
def test_utwyDs(self): cache = spDcache(self.ols, self.w) np.testing.assert_allclose(cache.utwyDs[0][0], 5.475255215067957, RTOL)
def test_utwuDs(self): cache = spDcache(self.ols, self.w) np.testing.assert_allclose(cache.utwuDs[0][0], 8.3941977502916068, RTOL)
def test_trA(self): cache = spDcache(self.ols, self.w) np.testing.assert_allclose(cache.trA, 1.5880426389276328, RTOL)
def test_t(self): cache = spDcache(self.ols, self.w) np.testing.assert_allclose(cache.t, 22.751186696900984, RTOL)
def test_j(self): cache = spDcache(self.ols, self.w) np.testing.assert_allclose(cache.j[0][0], 0.62330311259039439, RTOL)