Linear Regression
Linear Regression
Y=a+bX
Here, the slope of the line is b, and a is the intercept (the value of y when x = 0).
Y= a + bX
Simple linear regression is the most straight forward case having a single scalar
predictor variable x and a single scalar response variable y. The equation for this
regression is given as y=a+bx
For the regression line where the regression parameters b0 and b1are defined,
the following properties are applicable:
Solution
● Problem 2
a) Find the least square regression line for the following set of data
Solution
● Problem 3
The values of y and their corresponding values of y are shown in the
table below
x 0 1 2 3 4
y 2 3 5 4 6
Solution
b) Now that we have the least square regression line y = 0.9 x + 2.2,
substitute x by 10 to find the value of the corresponding y.
● Problem 4
The sales of a company (in million dollars) for each year are shown in
the table below.
y (sales) 12 19 29 37 45
Solution