예제 #1
0
 def test_ar2(self):
     obs = diagnostics.ar2(reg)
     exp = 0.5329433469607896
     self.assertAlmostEquals(obs,exp)
예제 #2
0
 def test_ar2(self):
     obs = diagnostics.ar2(reg)
     exp = 0.5329433469607896
     np.testing.assert_allclose(obs, exp, RTOL)
예제 #3
0
 def test_ar2(self):
     obs = diagnostics.ar2(reg)
     exp = 0.5329433469607896
     self.assertAlmostEquals(obs, exp)
예제 #4
0
 def test_ar2(self):
     obs = diagnostics.ar2(reg)
     exp = 0.5329433469607896
     np.testing.assert_allclose(obs,exp, RTOL)