IAE Academy

GATE 2025 DA Q.34: solution and answer

GATE 2025 · DAQ.34 · 1 mark · NAT

Given data of the form , we fit a model using linear least-squares regression. The optimal value of is ____________. (Round off to three decimal places)

See the question in the paper

Answer and solution

ANSWER

The optimal value is .

Official answer: 0.285 to 0.287Source: Official answer key, GATE 2025 DA (IIT Roorkee)

  1. The model has no intercept, so the least-squares objective is , a function of the single parameter .

  2. Setting gives . Since , this stationary point is the minimum. Hence .

  3. Numerator: .

  4. Denominator: .

  5. So , which rounds to .

KEY IDEA

With no intercept, least squares in one parameter gives , which is the projection of the vector onto the vector.

WATCH OUT FOR

Fitting a line with an intercept, , or using the mean-centred formula . The question fixes the model as , so no centring applies.

From the GATE 2025 DA paper. Every question of this paper · Download the full paper · All 4 Regression questions, with notes

More Regression questions