Vector projection and curve fitting

Learning objectives

  • Distinguish between a linear and a nonlinear model
  • Create vectors from functions by sampling
  • Convert a curve fitting problem to a linear algebra problem, probably with no solutions
  • Use projections to find a least squares fit
  • Discuss the difference between a model and the real world phenomenon it models.

Before class

  • Build a linear model and at least one nonlinear model of the Mauna Loa CO2 data. Make nice graphs of your models with the data superimposed. Be sure to label axes and include a title. Produce scatter plots of the residuals for both models.

In class