0% found this document useful (0 votes)
80 views6 pages

Least Squares Fitting Techniques

Uploaded by

sohampal781
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views6 pages

Least Squares Fitting Techniques

Uploaded by

sohampal781
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Sctncslcj' Exotninalion, 2024

Subject: Subject Code: 1%SLM301

I. You are given the trend equation y —


210—1.5x, Origin:1981, Unit: l' year. Shift the
ongin to 1977.

2. Apply the principle of least squares to


fit a straight line y—a+bxto the following
data:

8 10 12 14
10 14 15 16 15 17 18

3. Fit a straight line by the method of least squares


tot e following data:
10 15 20 25
Y 12 15 17 22 24 30
Hence, estimate the value of y when x = 18.
It • 22 -V O
4. Fit a suitable straight line to the followingdata by the method of least squ sTnd
estimate the percentage of insured people in 2004:

Years 1999 2000 2001 2002 2003


Percenta ed insured eo le 21.3 23.0 19.8 25.6 23.7

5. The average yearly death due to accidents 1 a certain state is given below. Fit a
straight line trend by the method of least squares. Hence estimate the death rate for
the year 2022.

Years 2014 2015 2016 2017 2018 2019 2020


No. ofdeaths 940 912 1055 1002 977 888

6. The production of cement by a firm (in years) I to 9 is given below:

Year
Production tons 4 5 5 6 7 8 9 8 10
Fit a straight line trend by the method of least squares and estimate the proflétiän in
year 10.
7. Fit a second degree parabola to the following data:

xo 1 234
Y 1 5 10 22 38
S. Fit a second degree
parabola to the
following
data and estimate
the valuefor2025.
Production in '000 2019 2020 2021
units 10
2022 2023
12 13 15 17
9. Fit an equation of
the form
to the following data:

Y 1.65 2.70 4.50 7.35

10. Fit a least square line for the followingdata:

x 12345
Y25387
Calculate the trend values (j) andprovethat
ve F i and Met.
hoa of

for fitting a straight line y c to a


(he tncthod of Icast squares (x2, h), ...
of observations (x, ,
given set of n pairs business statistics. [l.c. w.A„ Dec '74 (old))
in
uses of this tnethod y a Ox(o each of the following sets of data:
2. Fit a straight line of the

14 19 20 31

16 12 10

12 15 17 22
(iii)
46 42 40 36 30 25 19

1.0 1.5 2.0 2.5 3.0 3.5 4.0


(iv)
5.3 5.7 6.3 7.2 8.2 8.4

(v) 70 80 90 100 110 120


553 547 539 533 527 520

(vi) 11 13 15
1.7 2.4 2.8 3.4 3.7 4.4

3. Given the following data on quantitiesexchanged and prices, fit a linear demand
curve y = a + bx.
Price (x) 16 10
Quantity (y) 70 85 100 115 120 124 130
[C.U., [Link]. (Business Econ) '70]
4. Apply the principle of least squares to fit a straight line y = a + bx to the
following data:
10 12 14
10 14 15 16 15 17 18

[C.U., [Link]. (Math. Hons) '68]


5. Fit a straight line to the following data and estimate the most probable yield of
rice for 40 inches of water.
Water x (inches): 12 18 24 30 36 42 48
Yieldy (tons): 5.27 5.68 6.25 7.21 8.02 8.71 8.42
(C.U., [Link]. '641
6. Calculate the values of m and k for the equation y = + k to show the
regressionof profit per unit of output on output.
9 11 13 15
5
Outputx ('000)
I'mtit per unit of 3.7
Output y (Rs) 2.8

Estitnatethe pct unit of output when there is an output of 10,500.


([Link].A., June '731
crop yields:
7. The followingdata tv•lateto results of a fertiliset•experiment on
Units of Fertiliscr used (X): 0 2 6 8 10
Units of Yeld (Y): 110 118 119 120 118

Fit a straight line to the above data and estimate the amounts of yield when
units of fertiliset used ate 3 and respectively, [[Link]., M. Com. (Old) '691
S. The weights (in tbs.) of a calf taken at weekly intervals are given below Fit a
straight line, and calculate the average rate of growth per week.
Age (x) 1 2 3 5 6 7 8 9 10
Weight(y) 52.5 58.7 65.0 70.2 75.4 81.1 87.2 95.5 102.2 106.4
(ilint: Since n even, take origin of x at 5.5 and 1/2 as unit. i.e. y = a + by, where u =
(x = 21 —ll. The values of u will be as usual —9,—7,—5,—3,

9. In the following table, S is the weight of potassium


bromide which will dissolve
in 100 gms of water at PC. Fit an equationof the form S = mT
+ b by the
method of least squares. Use this relation of estimate S, when
T = 500
20 40 60
54 65 75 96
U.C.W.A., Jan. '651
10. Fit a curve of the form y = alit to the followingdata:
x: 2 3 4 5 6 7
640 512 410 328 262 210
11. Fit a curve of the form y = ae to the following data:
x: 1 2 3 4
5.0 6.3 7.9 7.2 8.5
12. Estimate the constants of the Pareto Curve n = Ax-a which fits the data below:
1945 s—46: Number of Net Incomes more than Rs x after Tax
Income (Rs x) Number (n)

150
500 825,000
1000 173,000
2000 35,500
(I.C.W.A., Dec. '731
t Hint: Use logarithm and reduce the curve to straight line form; e
log n = (log A) + a) (log x); or, Y = a' + b' X)
Curve r.i, and Method of Least Squares 267
a second degree parabola (y = a +
bx + cx2), to thc following data:
x 1 2 3 4
1 5 10 22 38
(C.v., [Link] '661
a parabola of the second degree to the followingdata takingx as the
independent variable (y = a + bx + cx2), by the methodof least squares.
x 1 2 3 4
1 1.8 1.3 2.5 6.3

Find out the difference between the actual value of y and the value of y obtained
fitted curve whenx = 2. U.C.W.A. July
from the
in the x-thyearof its life aregiven
IS. Ille profits (in '000 Rs) of a company
profits in the sixthyear.
below. Fit a parabola and estimate its
3 4 5
1 2
x
1650 1950 2300
1250 1400

form v = a + bu + cu2, whereu x - 3 apd


tllint: Write the equation in the
v = O - 1650)/50J.
268
Statistical Methods
[€JDS
or, bx) = O
Ex(y — a — bx) = O
These give the normal equations (8.5.2).
(2) Fitting parabola y = a + bx + cx2 (page 299):
Here, the constants a, b, c are so chosen as to minimise E (Yi a —bXi—cxi)2.

Taking partial delivatives with respect to a, b, c, and equating them to zero,

— E(y —a —bx —cx2)2 = 0; — E(y —a —bx —cx2) 2 = 0;

These lead to the normal equation (8.7.2).

Common questions

Powered by AI

When fitting non-linear data, challenges include increased computational complexity, potential for multiple local minima, and sensitivity to initial parameter estimates. Non-linearity might also require transformations or alternative algorithms (e.g., Gauss-Newton) to better capture data dynamics, complicating analysis and interpretability .

Linear fitting offers simplicity and is ideal for data with a proportional relationship, while quadratic fitting increases flexibility, capturing more complex, curved data patterns. Quadratic models accommodate acceleration or deceleration in trends, making them suitable for non-linear datasets, but may overfit sparsely populated or closely linear datasets .

The method of least squares is significant in business statistics because it allows for the objective fitting of models to data, leading to accurate predictions and trends analysis. This method is particularly practical for forecasting and understanding relationships between variables by minimizing errors in predicted values, thus improving decision-making processes in business operations .

Model validation through residual analysis checks if the residuals (differences between observed and predicted values) exhibit randomness. Statistical tests (e.g., chi-square for goodness of fit) assess significance. Graphical methods, like plotting residuals against predicted values, help identify patterns or heteroscedasticity, validating the model's assumptions .

To fit a second-degree parabola (y = a + bx + cx^2), use the least squares method by setting up normal equations for these parameters. Solve the equations using the data points, which are plugged into partial derivatives to zero out error squares for a, b, and c. This model captures non-linear trends and can model accelerative changes, offering better fit when data exhibits curvature .

To shift the origin from 1981 to 1977, you need to adjust the x value, which represents years since 1981. If x is redefined to represent 'years since 1977', the value of x for a given year would be 4 units higher than before. So, the equation becomes y = 210 - 1.5(x - 4), simplifying to y = 210 - 1.5x + 6 or y = 216 - 1.5x .

The principle of least squares is used to find the line of best fit by minimizing the sum of the squares of the vertical distances between data points and the estimated line. This minimization identifies parameters a and b in the equation y = a + bx by solving the normal equations derived from taking partial derivatives of the sum of squared differences with respect to a and b .

To fit a Pareto Curve, apply a logarithmic transformation to linearize the power-law form into a straight line. This involves setting log n = log A + a log x, converting the non-linear relationship to a form that can be evaluated using linear regression techniques, simplifying analysis by leveraging linear estimation methods .

First, apply the least squares method to obtain the straight line equation y = a + bx from the given data points by determining a and b. After you fit the line to the data, substitute x = 18 into the equation to predict the corresponding y value. This calculation uses both the slope and intercept obtained from the data fitting process .

The slope in a least squares linear fit represents the change in yield per unit of water. A positive slope indicates that increasing the water level results in a proportional increase in yield, suggesting a beneficial relationship between water and yield under the assumptions and constraints of the model used .

You might also like