**Also known as The Least Squares Problem**

When modelling data, scientists often want to fit an analytical model to their experimental data. In this case an experiment has provided some -coordinates that have a growth curve shape, i.e., initially increases quickly with , thens tails off to some maximum value. The scientists in this study have suggested three possible functions to model this behaviour:

Given one of the possible functions and the data points they want to find , and to minimize the squared distance between the data points and the estimates, i.e.,

The scientists have specified the number of data points and their coordinates in an AMPL
data file `regression.dat`.

The scientists want to know which of the suggested functions provides the best fit to the data.

- Write AMPL files
`regression.mod`

and`regression.run`

that use`regression.dat`to solve The Data Fitting Problem. Write a management summary of your solution. Be sure to indicate which of the functions fits the data best.**What to hand in**Your new AMPL files`regression.mod`

and`regression.run`

. Your management summary.

I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|

dat | regression.dat | r1 | manage | 3.7 K | 2008-03-26 - 00:35 | MichaelOSullivan |

Topic revision: r10 - 2018-11-23 - TWikiAdminUser

Copyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Ideas, requests, problems regarding TWiki? Send feedback

Ideas, requests, problems regarding TWiki? Send feedback