- 1.
- Following the examples from class and the handout, fit
three models to each dataset, linear, quadratic and log:
(1)

(2)

(3)

where

*t*is the run time,*s*is the problem size, and and are the parameters you are going to estimate.You can use either the matrix form or the summation form to do the computation.

- 2.
- For each model, calculate the errors and the
*R*^{2}values. Which model seems to fit the data best?