Bivariate distributions
The area of a circle depends on its radius in an exact way: there is a formula. The hours an athlete trains and their race time are also related, but not by an exact formula; instead there is a certain statistical regularity with some scatter. Studying two variables at the same time for the same individuals lets us tell these two types of relationship apart and, when there is regularity, summarise it with a line.
Functional dependence and statistical dependence
Classify the following relationships between bivariate variables as deterministic (functional) dependency or statistical (random) dependency: a) The radius length of a…
Classify the following relationships between bivariate variables as deterministic (functional) dependency or statistical (random) dependency:
- a) The radius length of a circle and its area.
- b) The number of training hours of an athlete and their time in a $100$-metre race.
- c) The weight of a bag of oranges and its price in the supermarket.
- d) The age of a tree and its height.
In a study on climate and habits across several cities, different pairs of variables have been analysed. Indicate whether a positive, negative, or zero correlation is…
In a study on climate and habits across several cities, different pairs of variables have been analysed. Indicate whether a positive, negative, or zero correlation is expected in each case:
- a) The altitude of the city and the mean annual temperature.
- b) The annual rainfall amount and the number of umbrellas sold.
- c) The population and the mean annual temperature.
- d) The annual sunshine hours and heating expenditure.
Centre of gravity and covariance
For a bivariate distribution $(X, Y)$ of $10$ pairs of values, the following sums have been obtained after tabulating the data: $\sum x_i = 40$, $\sum y_i = 60$ and…
For a bivariate distribution $(X, Y)$ of $10$ pairs of values, the following sums have been obtained after tabulating the data: $\sum x_i = 40$, $\sum y_i = 60$ and $\sum x_i y_i = 280$. Calculate the covariance of the distribution.
The weight in kg ($X$) and height in cm ($Y$) of a group of $5$ friends have been measured, obtaining the following pairs of values: $(60, 165)$, $(65, 170)$,…
The weight in kg ($X$) and height in cm ($Y$) of a group of $5$ friends have been measured, obtaining the following pairs of values: $(60, 165)$, $(65, 170)$, $(70, 175)$, $(55, 160)$ and $(80, 180)$. Calculate the exact coordinates of the centre of gravity $(\bar{x}, \bar{y})$ of this bivariate distribution.
A small software company recorded the number of developers assigned to a project ($X$) and the time in months taken to complete it ($Y$): $X$: $2, 3, 5, 6$ $Y$:…
A small software company recorded the number of developers assigned to a project ($X$) and the time in months taken to complete it ($Y$):
$X$: $2, 3, 5, 6$
$Y$: $8, 6, 3, 2$
- a) Calculate the mean of $X$ and the mean of $Y$.
- b) Calculate the covariance of the distribution.
- c) Is the relationship direct or inverse? Does this result make sense in the context of the problem?
The linear correlation coefficient $r$
In a market study on house prices ($Y$, in thousands of euros) based on floor area ($X$, in square metres), the following statistical parameters were obtained: The…
In a market study on house prices ($Y$, in thousands of euros) based on floor area ($X$, in square metres), the following statistical parameters were obtained:
-
The covariance is $\sigma_{xy} = 450$.
-
The standard deviation of floor area is $\sigma_x = 25$.
-
The standard deviation of price is $\sigma_y = 20$.
Calculate the linear correlation coefficient and interpret the strength and direction of the relationship between both variables.
The linear correlation coefficient between shoe size for a group of students and their mark on the latest mathematics exam is $r = 0,02$. Explain the meaning of this…
The linear correlation coefficient between shoe size for a group of students and their mark on the latest mathematics exam is $r = 0,02$. Explain the meaning of this value. Does it make sense to calculate the regression line to predict the mark from shoe size?
The covariance between variable $X$ (mean daily temperature in degrees Celsius) and variable $Y$ (soft drink sales in euros) in a given month is $\sigma_{xy} = 150$. If…
The covariance between variable $X$ (mean daily temperature in degrees Celsius) and variable $Y$ (soft drink sales in euros) in a given month is $\sigma_{xy} = 150$.
If we decide to change the temperature unit to degrees Fahrenheit using the conversion formula $F = 1,8C + 32$, answer with reasoning:
- a) What will be the new value of the covariance $\sigma_{Fy}$ between temperature in Fahrenheit and sales?
- b) Will the new linear correlation coefficient change relative to the original? Justify your answer referring to the formula for $r$.
The two regression lines
We know the following data for a bivariate distribution concerning a company's sales ($Y$, in thousands of units) based on advertising investment ($X$, in thousands of…
We know the following data for a bivariate distribution concerning a company's sales ($Y$, in thousands of units) based on advertising investment ($X$, in thousands of euros):
-
Centre of gravity: $(12, 40)$.
-
Standard deviation of $X$: $\sigma_x = 3$.
-
Standard deviation of $Y$: $\sigma_y = 5$.
-
Correlation coefficient: $r = 0,9$.
Find the equation of the regression line of $Y$ on $X$ in the form $y = mx + n$.
Given the equations of the regression line of $Y$ on $X$ ($y = 0,8x + 2,4$) and the regression line of $X$ on $Y$ ($x = 0,5y + 3$) for the same bivariate distribution,…
Given the equations of the regression line of $Y$ on $X$ ($y = 0,8x + 2,4$) and the regression line of $X$ on $Y$ ($x = 0,5y + 3$) for the same bivariate distribution, determine the coordinates of the centre of gravity $(\bar{x}, \bar{y})$. (Recall the geometric property relating both lines to the centre of gravity).
The equations of the two regression lines for a bivariate distribution are known: Line of $Y$ on $X$: $y = -1,2x + 10$ Line of $X$ on $Y$: $x = -0,6y + 8$ a) Calculate…
The equations of the two regression lines for a bivariate distribution are known:
Line of $Y$ on $X$: $y = -1,2x + 10$
Line of $X$ on $Y$: $x = -0,6y + 8$
- a) Calculate the coordinates of the centre of gravity $(\bar{x}, \bar{y})$.
- b) Knowing that the correlation coefficient $r$ has the same sign as the slope of the regression lines, and that the relationship $r^2 = m_{yx} \cdot m_{xy}$ holds (where $m_{yx}$ is the slope of the line of $Y$ on $X$, and $m_{xy}$ is the slope of the line of $X$ on $Y$), calculate the exact value of $r$.
Predicting with caution
The regression line relating weekly study hours ($X$) to the mark obtained on an exam out of $10$ ($Y$) is given by the equation $y = 0,6x + 2,5$. a) What mark is…
The regression line relating weekly study hours ($X$) to the mark obtained on an exam out of $10$ ($Y$) is given by the equation $y = 0,6x + 2,5$.
- a) What mark is estimated for a student who studied $8$ hours?
- b) If a student wants to obtain an estimated mark of $7$, how many hours should they study according to this model?
The regression line relating the age of a car model in years ($X$) to its second-hand market value in thousands of euros ($Y$) is $y = -1,2x + 18$. a) Estimate the value…
The regression line relating the age of a car model in years ($X$) to its second-hand market value in thousands of euros ($Y$) is $y = -1,2x + 18$.
- a) Estimate the value of a car that is $5$ years old.
- b) Estimate the value of a car that is $20$ years old.
- c) Are both estimates equally reliable? Explain the logical and mathematical risks of extrapolation in the second case.
A transport company wants to analyse the relationship between the distance covered on a journey ($X$, in tens of km) and fuel consumption ($Y$, in litres). The data…
A transport company wants to analyse the relationship between the distance covered on a journey ($X$, in tens of km) and fuel consumption ($Y$, in litres). The data recorded for a sample of $5$ lorries are:
$X$: $5, 10, 15, 20, 25$
$Y$: $12, 22, 30, 42, 49$
- a) Calculate the means $\bar{x}$ and $\bar{y}$.
- b) Calculate the variances $\sigma_x^2$ and $\sigma_y^2$, and the covariance $\sigma_{xy}$.
- c) Find Pearson's linear correlation coefficient $r$.
- d) Determine the equation of the regression line of $Y$ on $X$ and estimate fuel consumption for a journey of $180$ km ($X=18$).
Correlation is not causation
A statistical study conducted over a year in a coastal town shows a strong positive correlation between monthly ice cream sales and the number of people involved in…
A statistical study conducted over a year in a coastal town shows a strong positive correlation between monthly ice cream sales and the number of people involved in drowning incidents at the beach.
- a) Does this mean that eating ice cream causes drownings?
- b) Identify a possible "hidden variable" that explains the simultaneous increase in both variables and justifies the observed statistical correlation.
The relationship between weekly training hours ($X$) and the time in minutes taken to complete an endurance sporting event ($Y$) in a group of athletes has been studied,…
The relationship between weekly training hours ($X$) and the time in minutes taken to complete an endurance sporting event ($Y$) in a group of athletes has been studied, yielding the following scatter diagram.
When calculating the correlation coefficient with all the data, a weak correlation is obtained ($r = -0,45$).
- a) Observing the graph, identify which point is considered an outlier.
- b) Reasoning about the concept of linear trend, explain how removing "Athlete A" would affect the numerical value of the correlation coefficient and the slope of the regression line.