Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

- 1-800-665-6601
- info@tutorpace.com

(x, y) = (1, 2) (3, 4) (5, 6) (7, 8) (9, 10)?

For the given sample of x, y the covariance can be calculated by the formula.

n = 5

Mean of x (x?) = (1 + 3+ 5+ 7+ 9)/ 5 = 5

Mean of y, (y) = (2 + 4+ 6+ 8+ 10)/ 5 = 6

For the given sample of x, y the covariance can be calculated by the formula.

n = 5

Mean of x (x?) = (4 + 5 +8+ 10+ 12)/ 5 = 7.8

Mean of y, (y) = (3+ 4 +6 +7 +15)/ 5 = 7.0