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

Banach Contraction Principle

Banach Contraction Principle Let (X,d) be a complete metric space, then each contraction map f : X → X has a unique fixed point. Let h be a contraction constant of the mapping f . We will explicitly construct a sequence converging to the fixed point. Let x0 be an arbitrary but fixed element in X. Define a sequence of iterates {xn} in X by xn = f(xn−1) (= f n(x0)), for all n ≥ 1. Since f is a contraction, we have d(xn, xn+1) = d(f(xn−1), f(xn)) ≤ hd(xn−1, xn), for any n ≥ 1. Thus, we obtain d(xn, xn+1) ≤ hnd(x0, x1), for all n ≥ 1. Hence, for any m > n, we have d(xn, xm) ≤  hn +hn+1 +···+hm−1 d(x0, x1) ≤ hn 1−h d(x0, x1). We deduce that {xn} is Cauchy sequence in a complete space X. Let xn → p ∈ X. Now using the  continuity of the map f , we get p = lim n→∞ xn = lim n→∞ f(xn−1) = f(p). Finally, to show f has at most one fixed point in X, let p and q be fixed points of f . Then, d(p,q) = d(f(p), f(q)) ≤ hd(p,q). Since h < 1, we must have p = q The proof of the BCP yields the ...

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

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