Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-swr86 Total loading time: 0 Render date: 2024-07-23T21:19:46.198Z Has data issue: false hasContentIssue false

2 - Least squares fitting

Published online by Cambridge University Press:  05 June 2012

Get access

Summary

What are we trying to do?

In this chapter we are going to discuss the problem of obtaining the best description of our data in terms of some theory, which involves parameters whose values are initially unknown. Thus we could have data on the number of road accidents per year over the last decade; or we could have measured the length of a piece of metal at different temperatures. In either of these cases, we may be interested to see (i) whether the data lie on a straight line, and if so (ii) what are its gradient and intercept (see Fig. 2.1).

These two questions correspond to the statistics subjects known as Hypothesis Testing and Parameter Fitting. Logically, hypothesis testing precedes parameter fitting, since if our hypothesis is incorrect, then there is no point in determining the values of the free parameters (i.e. the gradient and intercept) contained within the hypothesis. In fact, we will deal with parameter fitting first, since it is easier to understand. In practice, one often does parameter fitting first anyway; it may be impossible to perform a sensible test of the hypothesis before its free parameters have been set at their optimum values.

Various methods exist for parameter determination. The one we discuss here is known as least squares. In order to fix our ideas, we shall assume that we have been presented with data of the form shown in Fig. 2.1, and that it corresponds to some measurements of the length of our bar yiobs at various known temperatures xi.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 1991

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Least squares fitting
  • Louis Lyons
  • Book: A Practical Guide to Data Analysis for Physical Science Students
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139170321.004
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Least squares fitting
  • Louis Lyons
  • Book: A Practical Guide to Data Analysis for Physical Science Students
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139170321.004
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Least squares fitting
  • Louis Lyons
  • Book: A Practical Guide to Data Analysis for Physical Science Students
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139170321.004
Available formats
×