Procedure

For a quadratic trend model :

  1. Minimize the sum of squared residuals:
  2. Set partial derivatives with respect to to zero.
  3. Solve the resulting system of linear equations (Normal Equations) to find .