# Difference: DataFitting (9 vs. 10)

Line: 1 to 1

 META TOPICPARENT name="SubmitCaseStudy"
<-- Ready to Review -->

<--
This template controls both the look and functionality of case study topics.
You should not need to alter the layout, only edit the data using the form above.

Set the view and edit templates:
Comment out the next line to use the TWiki default view
Set VIEW_TEMPLATE = CaseStudyView

Comment out the next line to use the TWiki default edit
Set EDIT_TEMPLATE = CaseStudyEdit

-->

<--
This topic can only be changed by:
Set ALLOWTOPICCHANGE = TWikiAdminGroup, MaintenanceGroup, ContributorGroup

-->

# Case Study: DataFitting

## Problem Description

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.

## Problem Formulation

The formulation...

## Computational Model

The computational model...

The results...

## Conclusions

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.

-->

 META FORM FORM FIELD Title name="OpsRes.CaseStudyForm" Title DataFitting DateSubmitted 19 Feb 2008 CaseStudyType DIYCaseStudy OperationsResearchTopics NonlinearProgramming ApplicationAreas Data Analysis
|*FORM FIELD ProblemDescription*|ProblemDescription|*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.|

 FORM FIELD ProblemFormulation FORM FIELD ComputationalModel ProblemFormulation The formulation... ComputationalModel The computational model... Results The results... Conclusions In conclusion... ExtraForExperts
1. 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.

|
Deleted:
<
<
 META FILEATTACHMENT attachment="latex871ec020967dc3b53d3b329cc0e111b6.png" attr="h" comment="" date="1203416375" name="latex871ec020967dc3b53d3b329cc0e111b6.png" stream="GLOB(0x8fef67c)" tmpFilename="latex871ec020967dc3b53d3b329cc0e111b6.png" user="LaurenJackson" version="1" attachment="latex837377569336c677fb59606a9dcb04c1.png" attr="h" comment="" date="1203416375" name="latex837377569336c677fb59606a9dcb04c1.png" stream="GLOB(0x87c3e8c)" tmpFilename="latex837377569336c677fb59606a9dcb04c1.png" user="LaurenJackson" version="1" attachment="latexe900814d818af12d92934d17a5eb1fed.png" attr="h" comment="" date="1203416375" name="latexe900814d818af12d92934d17a5eb1fed.png" stream="GLOB(0x8fefee0)" tmpFilename="latexe900814d818af12d92934d17a5eb1fed.png" user="LaurenJackson" version="1" attachment="latex2c42907c743defcd93d2fff2b59d62a8.png" attr="h" comment="" date="1203416375" name="latex2c42907c743defcd93d2fff2b59d62a8.png" stream="GLOB(0x8fef94c)" tmpFilename="latex2c42907c743defcd93d2fff2b59d62a8.png" user="LaurenJackson" version="1" attachment="latex20e1cc4422656d2946847e42bd9c1934.png" attr="h" comment="" date="1203416375" name="latex20e1cc4422656d2946847e42bd9c1934.png" stream="GLOB(0x8fef4e4)" tmpFilename="latex20e1cc4422656d2946847e42bd9c1934.png" user="LaurenJackson" version="1" attachment="latex465886091365f311ad9d2a0e069a71e7.png" attr="h" comment="" date="1203416376" name="latex465886091365f311ad9d2a0e069a71e7.png" stream="GLOB(0x8fefc88)" tmpFilename="latex465886091365f311ad9d2a0e069a71e7.png" user="LaurenJackson" version="1" attachment="latex3fd969b1220a7f1752dd733f3e651f23.png" attr="h" comment="" date="1203416376" name="latex3fd969b1220a7f1752dd733f3e651f23.png" stream="GLOB(0x8fefa60)" tmpFilename="latex3fd969b1220a7f1752dd733f3e651f23.png" user="LaurenJackson" version="1" attachment="latex54524a70a68a43cd6227a154c4123445.png" attr="h" comment="" date="1203416376" name="latex54524a70a68a43cd6227a154c4123445.png" stream="GLOB(0x8efc5a8)" tmpFilename="latex54524a70a68a43cd6227a154c4123445.png" user="LaurenJackson" version="1" attachment="latexdc67104a15b885b5c66d6b5dd957da84.png" attr="h" comment="" date="1203416376" name="latexdc67104a15b885b5c66d6b5dd957da84.png" stream="GLOB(0x8efc740)" tmpFilename="latexdc67104a15b885b5c66d6b5dd957da84.png" user="LaurenJackson" version="1" attachment="latexa2a1c51ae440be88e5d62e8510bd7a95.png" attr="h" comment="" date="1203416376" name="latexa2a1c51ae440be88e5d62e8510bd7a95.png" stream="GLOB(0x8efc7ac)" tmpFilename="latexa2a1c51ae440be88e5d62e8510bd7a95.png" user="LaurenJackson" version="1" attachment="latexd2a00fe0ca42ef2bb3e38b67c7b593a9.png" attr="h" comment="" date="1203416376" name="latexd2a00fe0ca42ef2bb3e38b67c7b593a9.png" stream="GLOB(0x8efc944)" tmpFilename="latexd2a00fe0ca42ef2bb3e38b67c7b593a9.png" user="LaurenJackson" version="1" attachment="latex4c436eda0e59014aa758c6ab4c0f6694.png" attr="h" comment="" date="1203416376" name="latex4c436eda0e59014aa758c6ab4c0f6694.png" stream="GLOB(0x8efca4c)" tmpFilename="latex4c436eda0e59014aa758c6ab4c0f6694.png" user="LaurenJackson" version="1"

 META FILEATTACHMENT attachment="regression.dat" attr="" comment="" date="1206491749" name="regression.dat" path="regression.dat" size="3749" stream="regression.dat" tmpFilename="" user="MichaelOSullivan" version="1"