def testWeightedDegreesOfFreedom(self):

        expectedDegreesOfFreedom = 8
        linearModel = LinearModel(self.regressorList, self.regressorNames, self.covMatrixObserv2)
        self.assertAlmostEqual(linearModel.degreesOfFreedom(), expectedDegreesOfFreedom, places=6)
Beispiel #2
0
 def testWeightedDegreesOfFreedom(self):
 
     expectedDegreesOfFreedom = 8
     linearModel = LinearModel(self.regressorList, self.regressorNames, self.covMatrixObserv2)
     self.assertAlmostEqual(linearModel.degreesOfFreedom(), expectedDegreesOfFreedom, places=6)
    def testDegreesOfFreedom(self):

        expectedDegreesOfFreedom = 8
        linearModel = LinearModel(self.regressorList, self.regressorNames)
        self.assertEqual(linearModel.degreesOfFreedom(), expectedDegreesOfFreedom)
Beispiel #4
0
 def testDegreesOfFreedom(self):
 
    expectedDegreesOfFreedom = 8
    linearModel = LinearModel(self.regressorList, self.regressorNames)
    self.assertEqual(linearModel.degreesOfFreedom(), expectedDegreesOfFreedom)