Curve Fitting - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

Curve Fitting

Description:

http://argyll.epsb.ca/jreed/math9/strand4/scatterPlot.htm. Linear Regression. Assumes a cause and effect between one dependent variable and one or more independent ... – PowerPoint PPT presentation

Number of Views:30
Avg rating:3.0/5.0
Slides: 10
Provided by: moodleSce
Category:
Tags: argyll | curve | fitting

less

Transcript and Presenter's Notes

Title: Curve Fitting


1
Curve Fitting
2
Fitting a Curve to Data
  • Done to find a mathematical function that
    represents a real behavior
  • Must include a thorough understanding of the
    system
  • Potential for erroneous forecasts
  • An example

3
Measuring a Fit
  • Correlation
  • Statistical relationship between two variables
  • Goes between -1.0 and 1.0
  • Zero means no relationship
  • http//argyll.epsb.ca/jreed/math9/strand4/scatterP
    lot.htm

4
Linear Regression
  • Assumes a cause and effect between one dependent
    variable and one or more independent variables
  • Solution of the linear equation with a best fit
    to data
  • Y aX b 
  • where 
  • Y the dependent variable
  • a a coefficient equivalent to the slope of the
    line
  • b the Y intercept of the line (the place where
    it crosses the Y axis)
  • Y a1X1 a2X2 a3X3 b for multiple causes

5
(No Transcript)
6
  • Use the vertical offsets to estimate Y for a
    given X
  • Square the differences so all numbers are
    positive
  • Sum of the squared offsets or deviations is a
    measure of the goodness of fit
  • R2 or coefficient of determination (0 to 1.0)

7
Fitting Non-linear Data
  • Same principle and measurement of the deviations
  • Choice of curve to fit not automatic
  • Individual choice with possibility of error
  • Real relationship may not be fully represented by
    experimental data

8
Potential Errors
  • Chose the wrong function
  • Experiments did not measure all possible
    circumstances
  • Behavior may change in areas outside the sample
    data
  • E.G. physical limitations of system lead to
    failure

9
Exercise
  • Use MATLAB curve fitting tool to fit a non-linear
    curve
  • Interpret the output
  • Discuss the potential failure of the model when
    it reaches the limits
Write a Comment
User Comments (0)
About PowerShow.com