M3 Part 2: Regression Analysis
M3 Part 2: Regression Analysis
M3 Part 2: Regression Analysis
REGRESSION ANALYSIS
Introduction
• We have seen that a scatter diagram is obtained, when the bivariate data are
plotted on a graph. We can draw straight lines through these points. But
that line which is very closer to the points is the line of best fit. This line is
also called regression line. It is a graphical technique to show the
functional relationship between the dependent and independent variables.
This line can be drawn using two methods such as free hand curve method
and the method of least squares. Of course, the latter is the more accurate
method.
• Regression equations are the equations of the
regression lines. Consider a general equation y = f(x).
Here “y” is the dependent variable and “x” is the
independent variable. This can be used only to
estimate the value of “y” for a given value of “x”.
• Similarly consider x = f(y). Here “x” is the dependent
variable and “y” is the independent variable. This can
be used only to estimate the value of “x” for a given
value of “y”.
• Thus there are 2 regression equations such as
Regression Equation of Y on X [y = f(x)] and
Regression Equation of X on Y [x = f(y)]. They are
not interchangeable.
A demo problem
• From the following data of the age of husband and the age of wife,
calculate the husband’s age when wife’s age is 16. Also find the wife’s age
when husband’s age is 40.
• Let “x” be the Husband’s age and “y” be the wife’s age.
H 36 23 27 28 28 29 30 31 33 35
age
W 29 18 20 22 27 21 29 27 29 28
age
Correlation Regression