Skip to main content

CURVE FITTING BY LEAST SQARES


                CURVE FITTING BY LEAST SQUARES

    

     INTRODUCTION

           Let us suppose that we wish to approximate (describe) a certain type of function that best expresses that association that exists between variables. A scatter plot of the set of values of the variables makes it possible to visualize a smooth cure that effectively approximates the given data set. A more useful way to represent this sort of approximating curve is by means of an equation or a formula. A term applied to the process of determining the equation and/or estimating the parameters appearing in the equation of approximating curve, is commonly called curve fitting
.

           It is relevant to point out that the relationship between the variables may be functional or regression. In functional relationship, a variable Y, has a true corresponding to each possible value or of another variable X, i.e. there is no question of random variation in the values of Y, and we make no relationship, i.e. problems of approximation and not of regression (already discussed earlier). Such relationships which are common in the natural sciences may be linear or non-linear.

  APPROXIMATING CURES AND THE PRINCIPLE OF LEAST SQUARES

     The data sets encountered in practice greatly vary in nature. It is therefore necessary to decide which type of approximating curve and their equation should be used. For this purpose, some of many common type of approximating curves and their equation are given below:

  1. A straight line or linear curve,                                                 Y= a + bX
  2. A parabola of second degree or quadratic curve,                Y= a + bX + cX2
  3.  A parabola of third degree or cubic curve,                                      Y = a + bX + cX2 + dX3 

    and so on.
        
          In all these equation Y is the dependent and X, the independent variable. In some situation, however, the variable X and Y can be reversed.

         We may approximate a given set of data by drawing a free hand curve, covering most of the points plotted. But it is clear that different individual would draw different curve according to their personal judgment. Therefore this procedure of fitting a curve is not satisfactory.

            The principle of least squares is applicable to curve fitting where the purpose is simply one of smoothing ( or approximation ) of a set of observations. Accordingly, we choose to determine the value of the parameters in the equations of approximating curves so as to make the sum of squares of residuals a minimum. A residual has been defined as the difference between the observed value and the corresponding value of the approximating curve.
         
           

     
    

Comments

Popular posts from this blog

PROBABILITY

                                        PROBABILITY                          INTRODUCTION                                                                   The word probability has two meaning:(1) a quantitative measure of uncertainty and (2) a measure of degree of belief in a particular or problem.                                Probability and statistic are fundamentally interrelated. probability is often called the vehicle of statistics. the area of inferential statistics in which we are mainly concerned with drawing inferences from experiments or situations ...

SETS

                                             SETS       INTRODUCTION           We often speak some words in daily life which represent a collection of things, for example, a team of players, a bunch of flowers, a cluster of trees, a group of friends, a swarm of birds and so on. But in mathematics, we can use a single word "set" to denote all such type of words that show the collection of things such as, a set of players, a set of flowers, a set of trees, a set of friends and a set of birds, etc. Thus we can define a set as:     "A collection of distinct and well-defined objects is called a set. "  The objects of a set are called its members or elements.    ...

SIMPLE HARMONIC MOTION

 SIMPLE HARMONIC MOTION A body is said to be vibrating if it moves back and forth or to and fro about a point. Another term for vibration is oscillation. A special kind of vibratory or oscillatory motion is called the simple harmonic motion A spider detects its prey due to vibration produced in the web. MOTION OF MASS ATTACHED TO A SPRING One of the simplest types of oscillatory motion is that of horizontal mass-spring system . If the spring is stretched or compressed through a small displacement x from its mean position, it exerts a force F on the mass. According to Hooke’s law this force is directly proportional to the change in length x of the spring.                                                      F = - k x where x is the displacement of the mass from its mean position O, and k is a constant called the spring constant defined as ...