Curated · Simple Linear Regression

MCQ · 1 mark · Problem ML-REGR-0001

For a bivariate dataset, the ordinary least-squares (OLS) regression line of \(y\) on \(x\) is given by \(y = 1.6x + 2\), and the OLS regression line of \(x\) on \(y\) is given by \(x = 0.4y - 1\). The Pearson correlation coefficient \(r\) between \(x\) and \(y\) is
  1. A
    0.4
  2. B
    0.64
  3. C
    0.8
  4. D
    -0.8

Solve it on GATE DA practice →More Supervised Learning — Regression problems

Show the worked solution\[\boxed{b_{yx}=r\,\frac{s_y}{s_x},\qquad b_{xy}=r\,\frac{s_x}{s_y}\ \Rightarrow\ r^2=b_{yx}\,b_{xy}}\]Here \(b_{yx}=1.6\) and \(b_{xy}=0.4\), so\[r^2=1.6\times0.4=0.64\ \Rightarrow\ r=\pm0.8.\]\(r\) has the same sign as both slopes, which are positive, so \(r=0.8\). (\(0.64\) is \(r^2\), not \(r\).)Answer: C

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com