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

The formulation...

The computational model...

The results...

In conclusion...

- 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_Data.rtf: Regression_Data.rtf

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

rtf | Regression_Data.rtf | r1 | manage | 3.5 K | 2008-02-19 - 10:04 | LaurenJackson |

Topic revision: r1 - 2008-02-19 - LaurenJackson

Copyright © 2008-2021 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