Back to homeMathematics · 4th ESO A · Change subject
Start for free
ESO Y4A · Mathematics
statistics · Bivariate statistics

Covariance

In the scatter diagram of height and weight, the points rise from left to right: the taller, the heavier. In one of hours of screen time and hours of sleep, they fall: the more screen time, the less sleep. Covariance is the number that sums up, in a single figure, which way that cloud of points leans.

Before you start, make sure you know: Statistical parameters (3rd ESO)
Before you start, make sure you know: Frequency tables (3rd ESO)

What covariance measures

Scatter diagram centred on the means of both variables, showing points in the lower-left and upper-right quadrants that produce positive covariance. x̄ ȳ below-left and above-right of the centre (x̄,ȳ) → positive covariance
Practice★☆☆Not started
In a bivariate study on $25$ individuals, the means $\bar{x} = 8$ and $\bar{y} = 15$ were obtained. Knowing that the sum of the products of the variables is…

In a bivariate study on $25$ individuals, the means $\bar{x} = 8$ and $\bar{y} = 15$ were obtained. Knowing that the sum of the products of the variables is $\sum x_i y_i = 3200$, calculate the covariance $s_{xy}$.

Solve
Practice★☆☆Not started
Given the following table with three pairs of values corresponding to the variables $X$ and $Y$: | $X$ | 2 | 4 | 6 | |:---:|:---:|:---:|:---:| | $Y$ | 3 | 5 | 10 |…

Given the following table with three pairs of values corresponding to the variables $X$ and $Y$:

$X$ 2 4 6
$Y$ 3 5 10

Calculate the centre of gravity $(\bar{x}, \bar{y})$ and the covariance of the distribution.

Solve

The sign of the covariance

Scatter diagram centred on the means of both variables, showing points in the upper-left and lower-right quadrants that produce negative covariance. σxy > 0:direct σxy ≈ 0:no relationship σxy < 0:inverse
Practice★☆☆Not started
When studying the relationship between the amount of fertiliser applied to a plant (in grams) and its weekly growth (in millimetres), a covariance of $24,6$ is obtained.…

When studying the relationship between the amount of fertiliser applied to a plant (in grams) and its weekly growth (in millimetres), a covariance of $24,6$ is obtained. What does the sign of this statistical parameter indicate about the relationship between fertiliser and growth?

Solve
Practice★★☆Not started
In an economic study on the relationship between the inflation rate ($X$, in $\%$) and the unemployment rate ($Y$, in $\%$) of a country over $5$ consecutive years, the…

In an economic study on the relationship between the inflation rate ($X$, in $\%$) and the unemployment rate ($Y$, in $\%$) of a country over $5$ consecutive years, the following pairs of values were recorded: $(2, 8)$, $(3, 6)$, $(4, 5)$, $(5, 4)$, $(6, 2)$. Calculate the covariance and indicate whether the results support a direct or inverse relationship between both rates.

Solve

Calculation with a frequency table

Flow chart with the three steps of the calculation with a table: product of the pair and its frequency, sum divided by the total number of data N, and subtraction of the product of the means. for each cellxᵢ · yⱼ · fᵢⱼ add them all up and divide by N finally, subtractx̄ · ȳ
Practice★★☆Not started
The temperature $X$ (in $^\circ\text{C}$) and the strength $Y$ (in MPa) of a new plastic material have been measured in $5$ different tests, obtaining the following…

The temperature $X$ (in $^\circ\text{C}$) and the strength $Y$ (in MPa) of a new plastic material have been measured in $5$ different tests, obtaining the following results:

Temperature ($X$) 10 20 30 40 50
Strength ($Y$) 85 78 65 50 32

Calculate the covariance of this bivariate distribution and interpret its sign in the context of the problem.

Solve
Practice★★☆Not started
A survey was conducted among $20$ families on the number of vehicles they own ($X$) and the number of garage spaces they own ($Y$). The results are summarised in the…

A survey was conducted among $20$ families on the number of vehicles they own ($X$) and the number of garage spaces they own ($Y$). The results are summarised in the following two-way table:

$X \backslash Y$ 0 1 2
1 4 6 0
2 1 5 4

Calculate the centre of gravity and the covariance $s_{xy}$.

Solve

Properties and a warning about outliers

Scatter diagram illustrating the impact of an outlier on the covariance, distorting the linear trend of the data set. outlier
Practice★★☆Not started
In an architectural study, the covariance between the length of a beam $X$ (measured in metres) and its maximum deflection $Y$ (measured in millimetres) is…

In an architectural study, the covariance between the length of a beam $X$ (measured in metres) and its maximum deflection $Y$ (measured in millimetres) is $s_{xy} = 3,5$. If it is decided to express the length in centimetres ($1\text{ m} = 100\text{ cm}$) and the deflection in micrometres ($1\text{ mm} = 1000\,\mu\text{m}$), calculate the new value of the covariance.

Solve
Practice★★★Not started
A set of bivariate data consists of the following $5$ tightly clustered points: $(1, 1)$, $(2, 2)$, $(2, 1)$, $(3, 2)$, $(3, 3)$; and an outlier: $(13, 15)$. Calculate…

A set of bivariate data consists of the following $5$ tightly clustered points: $(1, 1)$, $(2, 2)$, $(2, 1)$, $(3, 2)$, $(3, 3)$; and an outlier: $(13, 15)$.

Calculate the covariance of the full set of $6$ points. Next, calculate the covariance excluding the outlier and compare the results to explain the sensitivity of covariance to extreme values.

Solve

Summary

See all the exercises in this section