Procedure

For a linear trend model :

  1. Minimize the sum of squared residuals:
  2. Set partial derivatives with respect to and to zero.
  3. Solve for the estimates: