Beruflich Dokumente
Kultur Dokumente
Dependent variable: the variable we wish to explain Independent variable: the variable used to explain the dependent variable
No Relationship
Dependent Variable
y 0 1x
Linear component
y 0 1x
i
(continued)
Slope = 1
xi
EXAMPLE:
Ad Expenditures (x)
4.5
5.5
Profit (y)
(Profit)
10
11
* *
*
* *
goal: find the line which best fits the data; that is, find the line which best represents the average relationship between x & y in this data sample.
x
(Ad expenditures)
Ad Expenditures (x)
4.5
5.5
Profit (y)
(Profit)
10
11
y The actual line can be written as y = a + bx where a is the intercept of the line & b is its slope. One possible set of values for a and b gives y = 0.65 + 1.58x. x
(Ad expenditures)
* *
*
* *
Ad Expenditures (x)
4.5
5.5
Profit (y)
(Profit)
10
11
y The actual line can be written as y = a + bx where a is the intercept of the line & b is its slope. One possible set of values for a and b gives
* *
*
*
Intercept (0.65)
y = 0.65 + 1.58x.
x
(Ad expenditures)
Ad Expenditures (x)
4.5
5.5
Profit (y)
(Profit)
10
11
Slope
(1.58) *
*
* *
The actual line can be written as y = a + bx where a is the intercept of the line & b is its slope. One possible set of values for a and b gives
Intercept (0.65)
y = 0.65 + 1.58 x.
x
(Ad expenditures)
4
5
26
27
24
YEAR (X) 1 2
X*Y 33 64
X*X 1 4
3
4 5
29
26 27
87
104 135
9
16 25
6
X= 21
24
Y= 171
144
XY = 567
36
x*x = 91
According to the linear Regression model, Y = a + bX, Where Y= Exports(in units) X= No. of years, a= intercept on y axis b= slope of the regression line Taking summation both sides, Y = n*a + b X
Putting values from the table, 171 = 6a + 21b @ Multiplying eqn. by X on both sides ,we get XY = a X + b x*x Putting values from the table, 567 = 21a+ 91b $ Solving @ and $ for a,b we get a=34.8 b=-1.8.Hence the eqn depicting sales forecast will be Y= 34.8 -1.8X Sales for 7th year ,y= 34.8 1.8*7=22200 units.