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

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

THERMAL PROPERTIES

THERMAL PROPERTIES OF METER  The crocus flower is a natural thermometer. It opens when the temperature is precisely 23 degree centigrade and closes when the temperature drops. Liquid in Glass Thermometer Construction: A liquid in glass thermometer has a bulb whit a log capillary tube of uniform and fine bore. PRINCIPLE      Liquid in glass thermometer is made on he principle of expansion of heating.       A suitable liquid is filed in the bulb. When  we touch the bulb with a hot body, the liquid in it expands and rises in the tube. the glass stem of a thermometer is thick and acts as a cylindrical lens. This makes it easy to see the liquid lever in the glass tube. THE MERCURY IN GLASS THERMOMETERS\ Mercury freezes at -39 degree centigrade and boils at 357 degree centigrade. Mercury has all the thermometer properties. So mercury is one of the most suitable thermometer materials. Murcury in glass thermometer are widely used in laboratories, clinic a...