def test_moran(self): mi = moran.Moran(self.y, self.w, two_tailed=False) self.assertAlmostEquals(mi.I, 0.24365582621771659, 7) self.assertAlmostEquals(mi.p_norm, 0.00013573931385468807)
def test_moran(self): mi = moran.Moran(self.y, self.w) self.assertAlmostEquals(mi.I, 0.24365582621771659, 7) self.assertAlmostEquals(mi.p_norm, 0.00027147862770937614)