





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






















KARA.Fadila
October 22, 2025
Chapter 2: bivariate descriptive statistics
Joint frequencies: To study the relation between two variables X and Y , we have to study the joint distribution of the two-dimensional variable (X , Y ), whose values are pairs (xi , yj ) where the first element is a value of X and the second a value of Y. Joint sample frequencies: Given a sample of values and a two-dimensional variable (X , Y ), for every value of the variable (xi , yj ) is defined:
Absolute frequency nij : Is the number of times that the pair appears in the sample. Relative frequency fij : Is the proportion of times that the pair appears in the sample.
fij = nij n
Joint frequency distribution: The values of the two-dimensional variable with their frequencies is known as joint frequency distribution, and is represented in a joint frequency table.
X \ Y y 1 y 2 ... yj ... yp x 1 n 11 n 12 ... n 1 j ... n 1 p x 2 n 21 n 22 ... n 2 j ... n 2 p
... .... .... xi ni 1 ni 2 ... nij ... nip ... .... .... xk nk 1 nk 2 ... nkj ... nkp
Example : The Exam score received by 30 students in statistics and mathematics is represented by the following joint frequency table:
Stat \ Math 10 11 12 13 9 0 0 1 2 10 3 4 0 1 11 2 3 2 0 12 1 1 1 4 13 0 1 1 3
Bivariate Graphs:
Figure: distribution of employees by gender and level of education
Marginal frequency distributions: The frequency distributions of each variable of the two-dimensional variable are known as marginal frequency distributions. We can get the marginal frequency distributions from the joint frequency table by adding frequencies by rows and columns.
X \ Y y 1 y 2 ... yj ... yq nx x 1 n 11 n 12 ... n 1 j ... n 1 q nx 1 x 2 n 21 n 22 ... n 2 j ... n 2 q nx 2
... .... ..... xi ni 1 ni 2 ... nij ... niq nxi ... .... ..... xp np 1 np 2 ... npj ... npq nxp ny ny 1 ny 2 ... nyj ... nyq n
Example: The marginal frequency distributions for the previous sample of exam score received by 30 students in statistics and mathematics are Stat \ Math 10 11 12 13 nx 9 0 0 1 2 3 10 3 4 0 1 8 11 2 3 2 0 7 12 1 1 1 4 7 13 0 1 1 3 5 ny 6 9 5 10 n = 30 and the corresponding statistics are
x =
V (x) =
σ(x) =
V (x) =
Mean point :
The shape of the point cloud in a scatter plot gives information about the type of relation between the variables. de point.png
(^14) Figure: point cloud
Covariance :
Cov (x, y ) =
n
∑^ k
i= 1
∑^ p
j= 1
nij (xi − x)(yj − y )
It can also be calculated using the formula
Cov (x, y ) =
n
∑^ k
i= 1
∑^ p
j= 1
nij xi yj − x · y
we get that the covariance is equal to
Cov (x, y ) =
n
∑^ k
i= 1
∑^ p
j= 1
nij xi yj − x · y
Cov (x, y ) > 0, This means that there is a increasing linear relation (positive correlation) between the marks in statistics and mathematics.
Correlation coefficient: The correlation coefficient measures the strength and direction of a linear relationship between two numeric variables. The coefficient of correlation between two variables X and Y is given by
r = Cov (x, y ) σ(x)σ(y )