(self)
| 1345 | corrcoef(x, rowvar=False, bias=True)) |
| 1346 | |
| 1347 | def test_2d_without_missing(self): |
| 1348 | # Test corrcoef on 1 2D variable w/o missing values |
| 1349 | x = self.data.reshape(3, 4) |
| 1350 | assert_almost_equal(np.corrcoef(x), corrcoef(x)) |
| 1351 | assert_almost_equal(np.corrcoef(x, rowvar=False), |
| 1352 | corrcoef(x, rowvar=False)) |
| 1353 | with suppress_warnings() as sup: |
| 1354 | sup.filter(DeprecationWarning, "bias and ddof have no effect") |
| 1355 | assert_almost_equal(np.corrcoef(x, rowvar=False, bias=True), |
| 1356 | corrcoef(x, rowvar=False, bias=True)) |
| 1357 | |
| 1358 | def test_1d_with_missing(self): |
| 1359 | # Test corrcoef 1 1D variable w/missing values |
nothing calls this directly
no test coverage detected