Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
𝒃𝒙𝒚 ≠ 𝒃𝒚𝒙 .
EXAMPLE: SOLUTION:
Find the correlation coefficient between 𝒙 and 𝒚, when the lines Therefore, the line of regression of 𝒙 on 𝐲 is 𝒙 − 𝟐𝒚 +
of regression are 𝟐𝒙 − 𝟗𝒚 + 𝟔 = 𝟎, 𝒙 − 𝟐𝒚 + 𝟏 = 𝟎. 𝟏 = 𝟎. line of regression of 𝒚 on 𝒙 is 𝟐𝒙 − 𝟗𝒚 + 𝟔 = 𝟎.
SOLUTION: Then
Let the line of regression of 𝒙 on 𝐲 be 𝟐𝒙 − 𝟗𝒚 + 𝟔 = 𝟎. Then the
𝒙 − 𝟐𝒚 + 𝟏 = 𝟎 ⇒ 𝒙 + 𝟏 = 𝟐𝒚 ⇒ 𝒃𝒙𝒚 = 𝟐.
line of regression of 𝒚 on 𝒙 is 𝒙 − 𝟐𝒚 + 𝟏 = 𝟎. Then
𝟗 𝟗
And
𝟐𝒙 − 𝟗𝒚 + 𝟔 = 𝟎 ⇒ 𝒙 + 𝟑 = 𝒚 ⇒ 𝒃𝒙𝒚 = ,
𝟐 𝟐
𝟐 𝟔 𝟐
And 𝟐𝒙 − 𝟗𝒚 + 𝟔 = 𝟎 ⇒ 𝒚 = 𝒙 + ⇒ 𝒃𝒚𝒙 = ,
𝟗 𝟗 𝟗
𝒙 − 𝟐𝒚 + 𝟏 = 𝟎 ⇒ 𝒚 =
𝟏 𝟏
𝒙 + ⇒ 𝒃𝒚𝒙 =
𝟏 And
𝟐 𝟐 𝟐
𝟐
𝒓= 𝒃𝒙𝒚 𝒃𝒚𝒙 =
𝟑
> 𝟏, which is not possible. Thus, our choice of
𝒓= 𝒃𝒙𝒚 𝒃𝒚𝒙 = . Hence, the correlation coefficient
𝟐 49
𝟑 50
EXAMPLE: EXAMPLE:
If the regression equations are 𝒙 + 𝟎. 𝟖𝟕𝒚 − 𝟏𝟗. 𝟏𝟑 = 𝟎, In the following table are recorded data showing the test
𝟎. 𝟓𝟎𝒙 + 𝒚 − 𝟏𝟏. 𝟔𝟒 = 𝟎. Then find (a) mean of 𝒙 (b) mean of 𝒚 (c) the scores made by salesmen on an intelligence test and their
correlation coefficient between 𝒙 and 𝒚.
sales:
SOLUTION: Salesmen: 1 2 3 4 5 6 7 8 9 10
Since mean 𝒙 and mean of 𝒚 lie on the two regression lines, we have, Test Scores: 40 70 50 60 80 50 90 40 60 60
𝒙 + 𝟎. 𝟖𝟕 𝒚 − 𝟏𝟗. 𝟏𝟑 = 𝟎 −−−−− −(𝟏) Sales(000): 2.5 6.0 4.5 5.0 4.5 2.0 5.5 3.0 4.5 3.0
SOLUTION: EXAMPLE:
SOLUTION:
The regression line of 𝒚 on 𝒙 𝐢𝐬 𝐠𝐢𝐯𝐞𝐧 𝐛𝐲 𝒚 − 𝒚 = 𝒃𝒚𝒙 𝒙 − 𝒙 , where
𝝈𝒚 𝒏∑𝒙𝒚 ∑𝒙∑𝒚 𝟏𝟐𝟏.𝟗𝟗𝟕 ∑𝒙 ∑𝒚
𝒃𝒚𝒙 = 𝒓 = = = 𝟗. 𝟕𝟐𝟔, 𝒙 = = 𝟐. 𝟒𝟓𝟔, 𝒚 = = 𝟒𝟏. 𝟖𝟐
𝝈𝒙 𝒏∑𝒙𝟐 ∑𝒙 𝟐 𝟏𝟐.𝟓𝟒𝟑 𝒏 𝒏
𝒙 𝒚 𝒙𝟐 𝒙𝒚
1.53 33.50 2.3409 51.255
1.78 36.30 2.1684 64.614
2.60 40.00 6.76 104
2.95 45.80 8.7025 135.11
3.42 53.50 11.6964 182.97
∑𝒙 = 𝟏𝟐. 𝟐𝟖 ∑𝒚 = 𝟐𝟎𝟗. 𝟏 ∑𝒙𝟐 = 𝟑𝟐.6682 ∑𝒙𝒚 = 𝟓𝟑𝟕. 𝟗𝟒𝟗 55