Three points in the - plane are , and . The value of the slope of the best fit straight line in the least square sense is ________ (Round off to 2 decimal places).
GATE 2023 EE Q.35: solution and answer
Answer and solution
ANSWER
The least-squares line is , so the slope is .
Official answer: 0.9 to 1.1Source: Official answer key, GATE 2023 EE (IIT Kanpur)
Fit by least squares. Minimising with respect to and gives the normal equations and , with .
Tabulate the sums: , , , .
Solving the normal equations for the slope gives
Check: because , the two equations separate. The second gives and the first gives .
So the best-fit line is . Its slope, to 2 decimal places, is .
KEY IDEA
For a least-squares line the slope is . When the -values are symmetric about zero (), this reduces to , and the intercept is just the mean of .
WATCH OUT FOR
Dropping the minus sign in , which gives and a wrong slope of . A second mistake is to regress on , which minimises horizontal distances instead of vertical ones and generally gives a different line. The question asks for fitted against .
From the GATE 2023 EE paper. Every question of this paper · Download the full paper · All 33 Probability & statistics questions, with notes
More Probability & statistics questions
- GATE 2023 IN Q.32 · NAT · 1 markX is a discrete random variable which takes values 0, 1 and 2. The probabilities are P(X=0)=0.25 and…
- GATE 2023 IN Q.49 · NAT · 2 marksHow many five-digit numbers can be formed using the integers 3, 4, 5 and 6 with exactly one digit appearing…
- GATE 2023 IN Q.53 · NAT · 2 marksFive measurements are made using a weighing machine, and the readings are 80 kg, 79 kg, 81 kg, 79 kg and 81…
- GATE 2022 EC Q.31 · NAT · 1 markThe bar graph shows the frequency of the number of wickets taken in a match by a bowler in her career.
