Professional Documents
Culture Documents
Assignment 3
Assignment 3
Assignment 3
Q1. For the following data set fit a linear Regression line, calculate also the residuals
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