Q1.
Find the Karl Pearson correlation coefficient for the following data
x 12 16 20 24 28 32 36
y 6 9 12 15 18 21 24
xi yi ui vi u^2 v^2 uv
12 6 -12 -9 144 81 108
16 9 -8 -6 64 36 48
20 12 -4 -3 16 9 12
24 15 0 0 0 0 0
28 18 4 3 16 9 12
32 21 8 6 64 36 48
36 24 12 9 144 81 108
SUM 168 105 0 0 448 252 336
AVERAGE 24 15
Karl pearson's coefficient = sigma (uv)/ (sqrt (sigma u^2 * sigma v^2))
r 1
Since the correlation coefficient is 1, we know that there is a high degree of positive correlation between the variables x and y
Q2. For the data given below, indicate the independent variable (x) and dependent variable (y).
Length of clothes
Age (in years) (in cm)
4 104
5 110
6 116
7 122
8 128
9 134
10 140
11 146
12 152
Here the age is the independent variable (x) and the length of the clothes is the dependent variable (y) since it is dependen
(i)
Length of clothes (in cm)
160 160
140 140
120 120
100 100
80 80
60 60
40 40
20 20
0 0
100 100
80 80
60 60
40 40
20 20
0 0
3 4 5 6 7 8 9 10 11 12 13 3 4 5
As we can see from the trendline in the diagram on the right side, this is a linear relation.
(ii) The two variables move in the same direction, they are directly related. This is because the trendline is upward slop
etween the variables x and y. They always move in the same direction.
riable (y) since it is dependent on the age of a child.
Length of clothes (in cm)
160
140
120
100
80
60
40
20
0
100
80
60
40
20
0
3 4 5 6 7 8 9 10 11 12 13
e the trendline is upward sloping and increasing as is visible from the graph.