Exemplo n.º 1
0
 def test_pr2_aspatial(self):
     obs = diagnostics_tsls.pr2_aspatial(reg)
     exp = 0.2793613712817381
     self.assertAlmostEquals(obs, exp)
Exemplo n.º 2
0
 def test_pr2_aspatial(self):
     obs = diagnostics_tsls.pr2_aspatial(reg)
     exp = 0.2793613712817381
     self.assertAlmostEquals(obs,exp)
Exemplo n.º 3
0
 def test_pr2_aspatial(self):
     obs = diagnostics_tsls.pr2_aspatial(reg)
     exp = 0.2793613712817381
     np.testing.assert_allclose(obs,exp, RTOL)