**THE DATA FITTING PROBLEM**

**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 ??? LINK 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.

- regression.dat.txt: regression.dat.txt

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

txt | regression.dat.txt | r1 | manage | 2.8 K | 2008-02-19 - 11:49 | LaurenJackson |

Topic revision: r6 - 2008-03-01 - 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