def test_moran_rate(self): mi = moran.Moran_Rate(self.e, self.b, self.w, two_tailed=False) self.assertAlmostEquals(mi.I, 0.16622343552567395, 7) self.assertAlmostEquals(mi.p_norm, 0.004191499504892171)
def test_moran_rate(self): mi = moran.Moran_Rate(self.e, self.b, self.w) self.assertAlmostEquals(mi.I, 0.16622343552567395, 7) self.assertAlmostEquals(mi.p_norm, 0.0083829990097843421)