Professional Documents
Culture Documents
REGRESION
REGRESION
REGRESION
[Document subtitle]
JANUARY 1, 2023
STEVEN
[Company address]
REGRESION
Regression is a determination of statistical relationship between two or
more variables
Regression is a technique of determining the statistical relationship
between two or more variables where a change in a dependent variable is
associated with, and depends on, a change in one or more independent
variables.
INDEPENDENT AND DEPENDENT VARIABLES
INDEPENDENT VARIABLE (x)
Independent variable is a variable that is manipulated to determine the
value ofadependentvariables,
not influenced or controlled by others in matters of opinion, conduct, etc.,
thinking or acting for oneself
DEPENDENT VARIABLE (y)
A factor or phenomenon that is changed by the effect of an associated
factor or phenomenon called the independent variable
SCATTER DIAGRAM
Scatter diagram is the suitable way to represent the relationship Between
dependent and independent variables pictorially
Data presented on graph so that one can see at easier
Each pair of numbers provides one point on the diagram
Example: The following data relate to rainfall and subsequent crop yield
over five years
Rainfa 4 2 5 7 8
ll in
inch
Yields 50 25 40 70 85
in tons
Scatter Diagram
90
80
70
60
Yields in tons
50
40
30
20
10
0
1 2 3 4 5 6 7 8 9
Rainfall in Inch
Meaning of
β1 and
β2
y=β 1 + β 2 x i + ε
rise
run
β2 =slope (=rise/run)
Taking the paired sample of size ‘n’ from the same population we can estimate the values.
The estimated parameters reveal what we call it the line of the best fit (sample regression line)
15
10
Y
5
00 X
1 2 3 4 5 6 7 8 9 10
EXAMPLE
A company keeps extensive records on its sales people on the promise that
the sales should increase with experience. A random sample of six new
sales people produces data on the experience and sales provided in the
table below
Months 2 4 6 8 12 14
on job
(X)
a) Plot a scatter diagram and estimate the line of the best fit
b) Determine the linear regression model that exists between the two
variables.
c) Project the monthly sales for 9 months experience on job
Scatter Diagram
20
18
16
14
Monthly Sales
12
10
8
6
4
2
0
0 2 4 6 8 10 12 14 16
Months on Jobs
X y xy x2 Y2
4 7 28 16 49
6 8 48 36 64
8 11 88 64 121
CORRELATION
Correlation is the determination of degree of relationship between two or
more variables
Correlation Analysis is the process of examination on how strong the
variables relate
The degree measure coefficient of correlation, r can be determined by
different formulas, but we will see only two
i. Carl Pearson’s Moment of correlation Coefficient
ii. Spear Man rank correlation coefficient
S xy
r= , −1 ≤r≤1
√ S xx S yy
TYPES OF CORRELATION
1. PERECT POSITIVE CORRELATION
All points lie on the straight line in the direction
Correlation coefficient = +1
Called perfect positive linear relationship
Scatter Diagram
12
10
8
6
Y
4
2
0
1 2 3 4 5 X6 7 8 9 10 11
4
2
0
1 2 3 4 5 6 7 8 9 10 11
X
7
6
5
4
3
2
1
0
0 1 2 3 4 5 6 7
Series2
6
Y
4
0
1 2 3 4 5 6 7 8 9 10 11
X
EXAMPLE
The following data obtained from claims drawn on life assurance
policies for particular category of employment, relates age at
official retirement to age of death for nine males
Age of retire 57 62 60 57 65 60 58 62 56
Age of death 71 70 66 70 69 67 69 63 70