Assignment 3

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

Assignment # 3

Q1. For the following data set fit a linear Regression line, calculate also the residuals

xi 2.10 6.22 7.17 10.5 13.7


yi 2.90 3.83 5.98 5.71 7.74

1
2
3
Q2. For the data given in Q1 calculate quadratic Regression line, discuss principle of least
square by finding the residuals.

4
5
6
7
8
9
Q3. The following data is given:

xi -7 -4 -1 0 2 5 7
yi 20 14 5 3 -2 -10 -15

Use linear least square regression to find the coefficients m and b in y=mx+b that best fit the
data.

10
11
Q4. The following data is given:

xi 1 3 4 6 9 12 14
yi 2 4 5 6 7 9 11

Use linear least square regression to find the coefficients m and b in y=mx+b that best fit the
data.

12
13

You might also like