Linear Regression
Linear Regression
- STATISTICS
Basic Concepts
1. The technique used for predicting the value of one variable for a given value of
the other variable is called regression.
2. Regression is a statistical tool for investigating the relationship between
variables.
3. Value being predicted is called the response or dependent variable.
4. Value used for predicting the response or dependent variables are called
predictors or independent variables.
5. A linear regression model consists of a linear equation with unknown
coefficient (called as parameters of linear regression model.)
6. Correlation analysis is used for measuring the strength or degree of the
relationship & between the independent & dependent variable.
̅ ̅
=
̅
̅ ̅
̅ ̅
= ̅ ̅
b) Y on X:
=
̅ ̅
=
: 306 :
J.K.SHAH CLASSES S.Y.J.C. - STATISTICS
̅ ̅
̅ ̅
= ̅ ̅
=
Where
Covariance of X & Y:
v ̅ ̅
̅ ̅
Variance of X
̅
̅ Or
Variance of Y
̅
̅ Or
Standard Deviation √
√
√
𝑥 p d d 𝑦
̅ ̅
(b) 𝑥 → 12𝐷𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡
𝑥 → I 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒
d p d tv l
𝑦 → ? 𝑦→ p d t v l
𝑦 p d d 𝑥
̅ ̅
𝐷𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒
Karl Person’s Correlation coefficient/ product moment correlation coeff.
Denoted by
“r”
1 ≤𝒓≤1
or
√ √
: 307 :
J.K.SHAH CLASSES S.Y.J.C. - STATISTICS
Note:
If 𝑥𝑦 & 𝑥 both are positive then r must be positive and vice-versa
2. Write Y on X equation as
Where →
Write X on Y equation as
Where →
3. Compute:
4. Check: O ≤𝑟 ≤1
Find:
Find:
3. Compare
| | | | or | | | |
4. Allocate
(Whichever is less)
(Whichever is high)
: 308 :
J.K.SHAH CLASSES S.Y.J.C. - STATISTICS
5. Identify Reg. lines
If byx get from then 1st Eqn. is y on x & if bxy get from then 2nd
Eqn.is x on y and vice-versa.
To find ̅ , ̅:
Line of regression have a point of intersection ( ̅ , ̅)
Do Simultaneous Eqn. and find value of & .
Value of → ̅
Value of →̅
: 309 :
J.K.SHAH CLASSES S.Y.J.C. - STATISTICS
2) When 0 both regression coefficients are 0
3) When 1 then,
a) Two regression lines become identical i.e. they coincide.
b) = & =
4) If 1 then 1
5) | | | |
6)
√
Sign analogy of &
+ + +
- - -
7) Case I Case II
= + ve 𝑥𝑦 = - ve
= - ve 𝑦𝑥 = + ve
In Both Case
: 310 :
J.K.SHAH CLASSES S.Y.J.C. - STATISTICS
OBJECTIVES
I) Choose the correct alternative.
1. Regression analysis is the theory of
a) Estimation b) Prediction
c) Both a and b d) Calculation
2. We can estimate the value of one variable with the help of other known
variable only if they are
a) Correlated b) Positively correlated
c) Negatively correlated d) Uncorrelated
6. is___________
a) Regression coefficient of Y on X
b) Regression coefficient of X on Y
c) Correlation coefficient between X and Y
d) Covariance between X and Y
7. is___________
a) Regression coefficient of Y on X
b) Regression coefficient of X on Y
c) Correlation coefficient between X and Y
d) Covariance between X and Y
8. ‘r’ is ____________
a) Regression coefficient of Y on X
b) Regression coefficient of X on Y
c) Correlation coefficient between X and Y
d) Covariance between X and Y
: 311 :
J.K.SHAH CLASSES S.Y.J.C. - STATISTICS
9. . _____________2
a) b) c) d)
11. | | ___________
a) | | b) 2| | c) r d) 2r
c) d)
c) d)
16. Corr =
a) corr( ) (b) corr
c) corr (d) cov
17. ( )
a) c and d are opposite in sign
b) c and d are same in sign
c) a and b are opposite in sign
d) a and b are same in sign
: 312 :
J.K.SHAH CLASSES S.Y.J.C. - STATISTICS
18. Regression equation of X on Y is________
a) ̅ ̅
b) ̅ ̅
c) ̅ ̅
d) ̅ ̅
20. __________
a) b)
c) d)
21. __________
a) b)
c) d)
22. __________
a) ̅ ̅
̅ ̅
b)
c) ̅̅
d) b and c both
: 313 :
J.K.SHAH CLASSES S.Y.J.C. - STATISTICS
II) Fill in the blanks
1. If 0 and 0 then ‘r’ is________
2. Regression equation of Y on X is________
3. Regression equation of X on Y is________
4. There are________ types of regression equations.
5. Corr = ________
6. If u and then __________
7. If u and then __________
8. | | ___________
9. If 1 then is__________
10. _________
2. Regression equation of X on Y is
̅ ̅
3. Regression equation of Y on X is
̅ ̅
4. Corr = Corr
8. I d t
9. If and then =r
: 314 :
J.K.SHAH CLASSES S.Y.J.C. - STATISTICS
Answers:
I) 1) c
2) a
3) b
4) a
5) b
6) b
7) a
8) c
9) c
10) b
11) b
12) b
13) a
14) b
15) b
16) c
17) a
18) b
19) a
20) b
21) a
22) d
23) b
24) b
II) 1) Negative
2) ̅ ̅
3) ̅ ̅
4) 2
5) -1
6)
7)
8) 2| |
9) 1
10)
: 315 :