Beispiel #1
0
 def test_03_BetaCoefficient(self, n, Y, X1):
     beta = Math.GetBetaCoefficient(Y, X1)
     print(beta)
Beispiel #2
0
 def test_03_BetaCoefficient(self):
     n = 50
     Y = [random.randint(-1000, 1000) for _ in range(50)]
     X1 = [random.randint(-10, 10) for _ in range(50)]
     beta = Math.GetBetaCoefficient(Y, X1)
     self.assertIsNotNone(beta)