Back to Orthogonal least squares

Exercise 4

Avg difficulty 2.5

Consider the data in this table.

A simple dataset
x1x_1x2x_2yy
114.2
123.3
215.9
225.1
327.5
336.3
  1. Set up a linear system Ax=bA\xvec = \bvec that describes the relationship β0+β1x1+β2x2=y.\beta_0 + \beta_1 x_1 + \beta_2 x_2 = y.

  2. Find the least-squares approximate solution x^\xhat.

  3. What is your predicted yy-value when x1=2.4x_1 = 2.4 and x2=2.9x_2=2.9?

  4. Find the coefficient of determination R2R^2.

Austin, Understanding Linear Algebra, §6.5 Orthogonal least squares, Exercise 4

AI Tutor

Adapted from Understanding Linear Algebra © 2023 David Austin. Licensed under CC BY 4.0. Source: Understanding Linear Algebra. Imported at revision 3e6dced.