0% found this document useful (0 votes)
30 views

21-MT-0429 (Practial 1)

The document summarizes fitting a straight line to data using the method of least squares. It provides data points for variables x and y. It then calculates the estimated y-values (est y) using the formula est y=1+2.357*x. The calculation of the slope (b) and intercept (a) is shown. A chart is included to represent the original data points and estimated line.

Uploaded by

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

21-MT-0429 (Practial 1)

The document summarizes fitting a straight line to data using the method of least squares. It provides data points for variables x and y. It then calculates the estimated y-values (est y) using the formula est y=1+2.357*x. The calculation of the slope (b) and intercept (a) is shown. A chart is included to represent the original data points and estimated line.

Uploaded by

Jaysinh Kumpavat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Practical No.

1 Date-18-04-2022 Roll No:21-MT-0429

Aim: Fitting of straight line by the metho of least squares

Problem: Fit a straight line by the method of least squares to the following data.
Estimate value for each value of x and also represent by appropriate chart.

x 5 6 7 8 9 10 11
y 13 15 17 20 23 24 27

Calculation:
est y=
x y 1+2.357*x
5 13 12.785
6 15 15.142
7 17 17.499
8 20 19.856
9 23 22.213
10 24 24.57
11 27 26.927
Total 56 139 138.992

n= 7
sum of x= 56
sum of y= 139
average of x= 8
average of y= 19.85714286
sum of x^2= 476
sum of xy= 1178
b 2.357142857
a 1

Verification by excel function

b 2.357142857
a 1

Straight line est y=a+bx


est y=1+2.357*x

28
26
28
26
24
22
20
18
16
14
12
10
4 5 6 7 8 9 10 11 12
ate chart.

You might also like