The GATE Grind

GATE 2020 ST – Question 60

Regression Analysis · Linear Models and Estimation · 2 marks · Numerical answer

Fit an intercept-and-slope OLS regression to x=(−2,−1,0,1,2),y=(3,5,8,9,10). Predict y at x=5.

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 16 to 16

Explanation

x̄=0 andȳ=35/5=7, so intercept=7. The cross-product sum is−6−5+0+9+20=18 and Σx²=10, giving slope1.8. Prediction at5 is7+1.8(5)=16.

More Linear Models and Estimation questions

All Linear Models and Estimation questions →