SlideShare a Scribd company logo
Regression
The term regression was 1st
used by the british biomethician sir
Francis Galton. While studying the relation between average
height of their children ,Galton found that the off springs of
abnormally tall or short parents tend to regress or step back to the
average population height . in the course of time the meaning of
the word “ Regreassion “ become wider and now it stands to
measure the average relationship between different variables. If
there are only 2 variable under study then one is taken as
independent and another is taken as dependent variable and
regression analysis explain how on the average the values of the
dependent variable change with a change in the values of the
independent variable.
Lines of regression :
If the 2 variables in a bivariate distribution are related then the
dots in the scatter diagram will covariate in the neighbourhood of a
curve called a regression curve . If the curve is a straight line we
say that there is a linear regression between the variables,
otherwise regression is said to be curvilinear.
Let us suppose that in the bivariate distribution (x1,y1) , i= 1, 2,
... , n ; Y is dependent variable . let the line of regression of Y on X
be Y=a+bX. The values of a and b are obtained by using the
principal of least squares. According to the method of least square
we get the following two normal equation.
∑ 	௡
௜ୀଵ Yi = na + b ∑ ܺ௡
௜ୀଵ i ..... (a)
∑ ܺ௡
௜ୀଵ iYi = a ∑ ܺ௡
௜ୀଵ i + b ∑ ܺ௡
௜ୀଵ i
2
...... (b)
Y - ‫	ݕ‬ഥ = b ( X - ‫	ݔ‬ഥ) =
	ఓଵ	ଵ	
ఙ୶ଶ
( X - ‫	ݔ‬ഥ) ...... (g)
Y - ‫	ݕ‬ഥ = r
ఙ௬
ఙ௫
( X - ‫	ݔ‬ഥ) ....... (h)
∴ r =
	ఓଵ	ଵ	
ఙ୶	ఙ୷
Similarly starting with X = a + bY , we get the line of regression of
X on y as follows
( X - ‫	ݔ‬ഥ) =
	ఓଵ	ଵ	
ఙ୷ଶ
(Y - ‫	ݕ‬ഥ) ....... (i)
( X - ‫	ݔ‬ഥ) = r
ఙ௫
ఙ௬
	 (Y - ‫	ݕ‬ഥ) ...... (j)
Q.1) The two regression equations of the variables x and y are
x=19.13-0.87y and y=11.64-0.50x. Find:
i. Mean of x’s,
ii. Mean of y’s,
iii. The correlation coefficient between x and y.
Solution: since the mean of x’s and mean of y’s lie on two
regression lines, we have
‫	ݔ‬ഥ=19.13-0.87‫ݕ‬ത ... (i)
‫ݕ‬ത=11.64-0.50‫	ݔ‬ഥ ...(ii)
Multiplying (ii) by 0.87 and subtracting from (i), we have,
[1-(0.87)(0.50)] ‫̅ݔ‬=19.13-(11.64)(0.87)
Or 0.57‫̅ݔ‬=9.00
Or ‫̅ݔ‬=15.79
∴ ‫ݕ‬ത= 11.64-(0.50)(15.79)=3.74
∴ Regression coefficient of x on y is -0.87 and that of y on x is
-0.50
Now since the coefficient of correlation is the geometric mean
between two regression coefficients.
∴ r=√[(-0.50)(-0.87)] = √(0.43) = -0.66
[-ve sign is taken since both regression coefficients are –ve]
Q.2) In a partially destroyed laboratory record, only the lines
of regression of y on x and x on y are available as 4x-5y=33 and
20x-9y=107 respectively. Calculate ࢞ഥ, ࢟ഥ and the coefficient of
correlation between x and y.
Solution: Since the regression lines pass through (‫̅ݔ‬,‫ݕ‬ത), therefore,
4‫̅ݔ‬-5‫ݕ‬ത=33=0
20‫̅ݔ‬-9‫ݕ‬ത=107
Solving these equations, we get ‫̅ݔ‬	= 13, ‫	ݕ‬ഥ= 17
Rewriting the line of regression of y on x as y=
ସ
ହ
x+
ଷଷ
ହ
, we get
byx= r
ఙ೤
ఙೣ
=
ସ
ହ
...(i)
Rewriting the line of regression of x on y as x=
ଽ
ଶ଴
y+
ଵ଴଻
ଽ
, we get
bxy= r
ఙೣ
ఙ೤
=
ଽ
ଶ଴
...(ii)
Multiplying (i) and (ii), we get
r2
=
ସ
ହ
x
ଽ
ଶ଴
= 0.36
∴ r=0.6
Hence r = 0.6, the positive sign being taken as byx and bxy both are
positive.
1) Find out the line of regression of Y on X from the data
given below & also obtain the value of Y for X=71
Solution :
X Y X.Y ࢄ૛ ࢅ૛
65 67 4355 4225 4489
66 68 4488 4356 4624
67 66 4422 4489 4356
68 69 4692 4624 4761
69 72 4968 4761 5184
70 72 5040 4900 5184
71 69 4899 5041 4761
∑ࢄ
= ૝ૠ૟
∑ࢅ
= ૝ૡ૜
∑X.Y=32864 ∑ࢄ૛=32396 ∑ࢅ૛=33359
X 65 66 67 68 69 70 71
Y 67 68 66 69 72 72 71
ࢄ	ഥ =	
∑ࢄ
࢔
=
ସ଻଺
଻
= 68
ࢅ	ഥ=
∑ࢅ
࢔
=
ସ଼ଷ
଻
= 69
࣌࢞ = ට
૚
࢔
∑ࢄ૛ − ࢄഥ૛ =ට
ଵ
଻
(32396) − 4624 = 2
࣌࢟	= ට
૚
࢔
∑ࢅ૛ − ࢅഥ૛ = ට
ଵ
଻
33359 − 4761 = 2.138
r =
૚
࢔
∑ࢄ.ࢅି	ࢄഥ.ࢅഥ
ටቀ
૚
࢔
∑ࢄ૛ିࢄഥ૛ቁ.ቀ
૚
࢔
∑ࢅ૛ିࢅഥ૛ቁ
=
ସ଺ଽସ.଼଺ି(଺଼)(଺ଽ)
(ଶ)(ଶ.ଵଷ଼)
= 0.6688
Now , Regression line of Y on X
Y - ࢅ		തതത=		࢈࢟࢞	(X -ࢄ	ഥ 	)
࢈࢟࢞=r (
࣌࢟
࣌࢞
) =0.6688(
ଶ.ଵଷ଼
ଶ
) =0.715
Y-69 = 0.715(X-68)
y-69 = 0.715x-48.62
y = 0.715x+20.38
now for X=71, y=0.715(71)+20.38
y=71.145
2) A company wants to predict the annual value of its total
sales based on the national income of the company where it
does business. The relationship is represented in following
table.
X 189 190 208 227 239 252 257 274 293 308 316
Y 402 404 412 425 429 436 440 447 458 469 469
X represents the national income in millions of dollars & Y
represents the company’s sales in thousands of dollars in
the period from 2000 to 2010
Calculate:
a.The regression line of Y on X.
b. If in 2011, the country’s national income was 325
million dollars, what would the prediction for the
company’s sales be?
X Y X.Y X2
Y2
189 402 75978 35721 161604
190 404 76760 36100 163216
208 412 85696 43264 169744
227 425 96475 51529 180625
239 429 102531 57121 184041
252 436 109872 63504 190096
257 440 113080 66049 193600
274 447 122478 75076 199809
293 458 134194 85849 209764
308 469 144452 94864 219961
316 469 148204 99856 219961
2753 4791 1209720 708933 2092421
ܺത	=	
ଶ଻ହଷ
ଵଵ
= 250.27 ܻ	ഥ=
ସ଻ଽଵ
ଵଵ
= 435.55
࣌࢞	ୀට
૚
࢔
∑ࢄ૛ − ࢄഥ૛ = 42.58
࣌࢟	= ට
૚
࢔
∑ࢅ૛ − ࢅഥ૛ = 22.72
r =
૚
࢔
∑ࢄ.ࢅି	ࢄഥ.ࢅഥ
ටቀ
૚
࢔
∑ࢄ૛ିࢄഥ૛ቁ.ቀ
૚
࢔
∑ࢅ૛ିࢅഥ૛ቁ
= 0.998
Now, Regression line of Y on X
Y-ࢅഥ=r (
࣌࢟
࣌࢞
) (X-ࢄഥ)
Y -435.55 = 0.53(X-250.27)
Y = 0.53X+302.91
Now, for X = 325 Y = (0.53)(325)+302.91 = 475.16

More Related Content

What's hot

Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
Nareek
 
COMPILER DESIGN- Syntax Directed Translation
COMPILER DESIGN- Syntax Directed TranslationCOMPILER DESIGN- Syntax Directed Translation
COMPILER DESIGN- Syntax Directed Translation
Jyothishmathi Institute of Technology and Science Karimnagar
 
Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2
DigiGurukul
 
Logical equivalence, laws of logic
Logical equivalence, laws of logicLogical equivalence, laws of logic
Logical equivalence, laws of logic
Lakshmi R
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
Dr. C.V. Suresh Babu
 
2.3 stem and leaf displays
2.3 stem and leaf displays2.3 stem and leaf displays
2.3 stem and leaf displaysleblance
 
Discrete and Continuous Random Variables
Discrete and Continuous Random VariablesDiscrete and Continuous Random Variables
Discrete and Continuous Random Variables
Cumberland County Schools
 
Discrete random variable.
Discrete random variable.Discrete random variable.
Discrete random variable.
Shakeel Nouman
 
Finite automata-for-lexical-analysis
Finite automata-for-lexical-analysisFinite automata-for-lexical-analysis
Finite automata-for-lexical-analysis
Dattatray Gandhmal
 
Random variable,Discrete and Continuous
Random variable,Discrete and ContinuousRandom variable,Discrete and Continuous
Random variable,Discrete and Continuous
Bharath kumar Karanam
 
Fuzzy Logic
Fuzzy LogicFuzzy Logic
Fuzzy Logic
Rishikese MR
 
Regression (Linear Regression and Logistic Regression) by Akanksha Bali
Regression (Linear Regression and Logistic Regression) by Akanksha BaliRegression (Linear Regression and Logistic Regression) by Akanksha Bali
Regression (Linear Regression and Logistic Regression) by Akanksha Bali
Akanksha Bali
 
Linear regression
Linear regressionLinear regression
Linear regression
vermaumeshverma
 
Learning Methods in a Neural Network
Learning Methods in a Neural NetworkLearning Methods in a Neural Network
Learning Methods in a Neural Network
Saransh Choudhary
 
Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities
Marina Santini
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inferenceKemal İnciroğlu
 
Theory of Automata and formal languages Unit 3
Theory of Automata and formal languages Unit 3Theory of Automata and formal languages Unit 3
Theory of Automata and formal languages Unit 3
Abhimanyu Mishra
 
Number theory and cryptography
Number theory and cryptographyNumber theory and cryptography
Number theory and cryptography
Yasser Ali
 
Montgomery
Montgomery Montgomery
Montgomery
bazz8
 
Markov Chain Monte Carlo Methods
Markov Chain Monte Carlo MethodsMarkov Chain Monte Carlo Methods
Markov Chain Monte Carlo Methods
Francesco Casalegno
 

What's hot (20)

Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
 
COMPILER DESIGN- Syntax Directed Translation
COMPILER DESIGN- Syntax Directed TranslationCOMPILER DESIGN- Syntax Directed Translation
COMPILER DESIGN- Syntax Directed Translation
 
Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2
 
Logical equivalence, laws of logic
Logical equivalence, laws of logicLogical equivalence, laws of logic
Logical equivalence, laws of logic
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
 
2.3 stem and leaf displays
2.3 stem and leaf displays2.3 stem and leaf displays
2.3 stem and leaf displays
 
Discrete and Continuous Random Variables
Discrete and Continuous Random VariablesDiscrete and Continuous Random Variables
Discrete and Continuous Random Variables
 
Discrete random variable.
Discrete random variable.Discrete random variable.
Discrete random variable.
 
Finite automata-for-lexical-analysis
Finite automata-for-lexical-analysisFinite automata-for-lexical-analysis
Finite automata-for-lexical-analysis
 
Random variable,Discrete and Continuous
Random variable,Discrete and ContinuousRandom variable,Discrete and Continuous
Random variable,Discrete and Continuous
 
Fuzzy Logic
Fuzzy LogicFuzzy Logic
Fuzzy Logic
 
Regression (Linear Regression and Logistic Regression) by Akanksha Bali
Regression (Linear Regression and Logistic Regression) by Akanksha BaliRegression (Linear Regression and Logistic Regression) by Akanksha Bali
Regression (Linear Regression and Logistic Regression) by Akanksha Bali
 
Linear regression
Linear regressionLinear regression
Linear regression
 
Learning Methods in a Neural Network
Learning Methods in a Neural NetworkLearning Methods in a Neural Network
Learning Methods in a Neural Network
 
Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inference
 
Theory of Automata and formal languages Unit 3
Theory of Automata and formal languages Unit 3Theory of Automata and formal languages Unit 3
Theory of Automata and formal languages Unit 3
 
Number theory and cryptography
Number theory and cryptographyNumber theory and cryptography
Number theory and cryptography
 
Montgomery
Montgomery Montgomery
Montgomery
 
Markov Chain Monte Carlo Methods
Markov Chain Monte Carlo MethodsMarkov Chain Monte Carlo Methods
Markov Chain Monte Carlo Methods
 

Similar to Regression analysis

Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Neeraj Bhandari
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.
sonia gupta
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
Shivakumar B N
 
Regression
RegressionRegression
Regression
LavanyaK75
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Muhammad Fazeel
 
Regression analysis by Muthama JM
Regression analysis by Muthama JMRegression analysis by Muthama JM
Regression analysis by Muthama JM
Japheth Muthama
 
Regression Analysis by Muthama JM
Regression Analysis by Muthama JM Regression Analysis by Muthama JM
Regression Analysis by Muthama JM
Japheth Muthama
 
Regression analysis presentation
Regression analysis presentationRegression analysis presentation
Regression analysis presentation
MuhammadFaisal733
 
REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HERE
ShriramKargaonkar
 
Regression
RegressionRegression
Regression
sumanmathews
 
Regression and correlation in statistics
Regression and correlation in statisticsRegression and correlation in statistics
Regression and correlation in statistics
iphone4s4
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
RekhaChoudhary24
 
Corr-and-Regress (1).ppt
Corr-and-Regress (1).pptCorr-and-Regress (1).ppt
Corr-and-Regress (1).ppt
MuhammadAftab89
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
BAGARAGAZAROMUALD2
 
Cr-and-Regress.ppt
Cr-and-Regress.pptCr-and-Regress.ppt
Cr-and-Regress.ppt
RidaIrfan10
 
Correlation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social ScienceCorrelation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social Science
ssuser71ac73
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
HarunorRashid74
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
krunal soni
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
MoinPasha12
 

Similar to Regression analysis (20)

Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
 
Regression
RegressionRegression
Regression
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Regression analysis by Muthama JM
Regression analysis by Muthama JMRegression analysis by Muthama JM
Regression analysis by Muthama JM
 
Regression Analysis by Muthama JM
Regression Analysis by Muthama JM Regression Analysis by Muthama JM
Regression Analysis by Muthama JM
 
Regression analysis presentation
Regression analysis presentationRegression analysis presentation
Regression analysis presentation
 
REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HERE
 
Regression
RegressionRegression
Regression
 
Corr And Regress
Corr And RegressCorr And Regress
Corr And Regress
 
Regression and correlation in statistics
Regression and correlation in statisticsRegression and correlation in statistics
Regression and correlation in statistics
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Corr-and-Regress (1).ppt
Corr-and-Regress (1).pptCorr-and-Regress (1).ppt
Corr-and-Regress (1).ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Cr-and-Regress.ppt
Cr-and-Regress.pptCr-and-Regress.ppt
Cr-and-Regress.ppt
 
Correlation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social ScienceCorrelation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social Science
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 

More from Manthan Chavda

Inventory control (management)
Inventory control (management)Inventory control (management)
Inventory control (management)
Manthan Chavda
 
Forecasting of demand (management)
Forecasting of demand (management)Forecasting of demand (management)
Forecasting of demand (management)
Manthan Chavda
 
Quality management
Quality managementQuality management
Quality management
Manthan Chavda
 
Project management
Project management Project management
Project management
Manthan Chavda
 
linear transformation and rank nullity theorem
linear transformation and rank nullity theorem linear transformation and rank nullity theorem
linear transformation and rank nullity theorem
Manthan Chavda
 
Types of communication
Types of communicationTypes of communication
Types of communication
Manthan Chavda
 
Preparing for Interview
Preparing for InterviewPreparing for Interview
Preparing for Interview
Manthan Chavda
 
Normal distribution for probability
Normal distribution for probability Normal distribution for probability
Normal distribution for probability
Manthan Chavda
 
Ztable for normal distribution
Ztable for normal distribution Ztable for normal distribution
Ztable for normal distribution
Manthan Chavda
 
Theory of probability
Theory of probabilityTheory of probability
Theory of probability
Manthan Chavda
 
Boundary layer theory
Boundary layer theoryBoundary layer theory
Boundary layer theory
Manthan Chavda
 
Shear force and bending moment diagram
Shear force and bending moment diagram Shear force and bending moment diagram
Shear force and bending moment diagram
Manthan Chavda
 
Book maretial science-callister
Book maretial science-callisterBook maretial science-callister
Book maretial science-callister
Manthan Chavda
 
Application of interpolation and finite difference
Application of interpolation and finite differenceApplication of interpolation and finite difference
Application of interpolation and finite difference
Manthan Chavda
 
Ttt cct diagrams
Ttt cct diagramsTtt cct diagrams
Ttt cct diagrams
Manthan Chavda
 
Numbering Metals and Alloy (UNS)ASTM – E 527 - 83
 Numbering Metals and Alloy (UNS)ASTM – E 527 - 83 Numbering Metals and Alloy (UNS)ASTM – E 527 - 83
Numbering Metals and Alloy (UNS)ASTM – E 527 - 83
Manthan Chavda
 
ASTM E 209 compression test at elevated temprature with conventional and r...
ASTM E 209 compression test at elevated  temprature  with  conventional and r...ASTM E 209 compression test at elevated  temprature  with  conventional and r...
ASTM E 209 compression test at elevated temprature with conventional and r...
Manthan Chavda
 
ASTM E6 : MEASUREMENT & CALIBRATION
ASTM E6 : MEASUREMENT & CALIBRATIONASTM E6 : MEASUREMENT & CALIBRATION
ASTM E6 : MEASUREMENT & CALIBRATION
Manthan Chavda
 
ASTM E 190(bend test)
ASTM E 190(bend test)ASTM E 190(bend test)
ASTM E 190(bend test)
Manthan Chavda
 
ASTM E 09(COMPRESSION TEST)
ASTM E 09(COMPRESSION TEST)ASTM E 09(COMPRESSION TEST)
ASTM E 09(COMPRESSION TEST)
Manthan Chavda
 

More from Manthan Chavda (20)

Inventory control (management)
Inventory control (management)Inventory control (management)
Inventory control (management)
 
Forecasting of demand (management)
Forecasting of demand (management)Forecasting of demand (management)
Forecasting of demand (management)
 
Quality management
Quality managementQuality management
Quality management
 
Project management
Project management Project management
Project management
 
linear transformation and rank nullity theorem
linear transformation and rank nullity theorem linear transformation and rank nullity theorem
linear transformation and rank nullity theorem
 
Types of communication
Types of communicationTypes of communication
Types of communication
 
Preparing for Interview
Preparing for InterviewPreparing for Interview
Preparing for Interview
 
Normal distribution for probability
Normal distribution for probability Normal distribution for probability
Normal distribution for probability
 
Ztable for normal distribution
Ztable for normal distribution Ztable for normal distribution
Ztable for normal distribution
 
Theory of probability
Theory of probabilityTheory of probability
Theory of probability
 
Boundary layer theory
Boundary layer theoryBoundary layer theory
Boundary layer theory
 
Shear force and bending moment diagram
Shear force and bending moment diagram Shear force and bending moment diagram
Shear force and bending moment diagram
 
Book maretial science-callister
Book maretial science-callisterBook maretial science-callister
Book maretial science-callister
 
Application of interpolation and finite difference
Application of interpolation and finite differenceApplication of interpolation and finite difference
Application of interpolation and finite difference
 
Ttt cct diagrams
Ttt cct diagramsTtt cct diagrams
Ttt cct diagrams
 
Numbering Metals and Alloy (UNS)ASTM – E 527 - 83
 Numbering Metals and Alloy (UNS)ASTM – E 527 - 83 Numbering Metals and Alloy (UNS)ASTM – E 527 - 83
Numbering Metals and Alloy (UNS)ASTM – E 527 - 83
 
ASTM E 209 compression test at elevated temprature with conventional and r...
ASTM E 209 compression test at elevated  temprature  with  conventional and r...ASTM E 209 compression test at elevated  temprature  with  conventional and r...
ASTM E 209 compression test at elevated temprature with conventional and r...
 
ASTM E6 : MEASUREMENT & CALIBRATION
ASTM E6 : MEASUREMENT & CALIBRATIONASTM E6 : MEASUREMENT & CALIBRATION
ASTM E6 : MEASUREMENT & CALIBRATION
 
ASTM E 190(bend test)
ASTM E 190(bend test)ASTM E 190(bend test)
ASTM E 190(bend test)
 
ASTM E 09(COMPRESSION TEST)
ASTM E 09(COMPRESSION TEST)ASTM E 09(COMPRESSION TEST)
ASTM E 09(COMPRESSION TEST)
 

Recently uploaded

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 

Recently uploaded (20)

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 

Regression analysis

  • 1. Regression The term regression was 1st used by the british biomethician sir Francis Galton. While studying the relation between average height of their children ,Galton found that the off springs of abnormally tall or short parents tend to regress or step back to the average population height . in the course of time the meaning of the word “ Regreassion “ become wider and now it stands to measure the average relationship between different variables. If there are only 2 variable under study then one is taken as independent and another is taken as dependent variable and regression analysis explain how on the average the values of the dependent variable change with a change in the values of the independent variable.
  • 2. Lines of regression : If the 2 variables in a bivariate distribution are related then the dots in the scatter diagram will covariate in the neighbourhood of a curve called a regression curve . If the curve is a straight line we say that there is a linear regression between the variables, otherwise regression is said to be curvilinear. Let us suppose that in the bivariate distribution (x1,y1) , i= 1, 2, ... , n ; Y is dependent variable . let the line of regression of Y on X be Y=a+bX. The values of a and b are obtained by using the principal of least squares. According to the method of least square we get the following two normal equation. ∑ ௡ ௜ୀଵ Yi = na + b ∑ ܺ௡ ௜ୀଵ i ..... (a) ∑ ܺ௡ ௜ୀଵ iYi = a ∑ ܺ௡ ௜ୀଵ i + b ∑ ܺ௡ ௜ୀଵ i 2 ...... (b)
  • 3. Y - ‫ ݕ‬ഥ = b ( X - ‫ ݔ‬ഥ) = ఓଵ ଵ ఙ୶ଶ ( X - ‫ ݔ‬ഥ) ...... (g) Y - ‫ ݕ‬ഥ = r ఙ௬ ఙ௫ ( X - ‫ ݔ‬ഥ) ....... (h) ∴ r = ఓଵ ଵ ఙ୶ ఙ୷ Similarly starting with X = a + bY , we get the line of regression of X on y as follows ( X - ‫ ݔ‬ഥ) = ఓଵ ଵ ఙ୷ଶ (Y - ‫ ݕ‬ഥ) ....... (i) ( X - ‫ ݔ‬ഥ) = r ఙ௫ ఙ௬ (Y - ‫ ݕ‬ഥ) ...... (j)
  • 4. Q.1) The two regression equations of the variables x and y are x=19.13-0.87y and y=11.64-0.50x. Find: i. Mean of x’s, ii. Mean of y’s, iii. The correlation coefficient between x and y. Solution: since the mean of x’s and mean of y’s lie on two regression lines, we have ‫ ݔ‬ഥ=19.13-0.87‫ݕ‬ത ... (i) ‫ݕ‬ത=11.64-0.50‫ ݔ‬ഥ ...(ii) Multiplying (ii) by 0.87 and subtracting from (i), we have, [1-(0.87)(0.50)] ‫̅ݔ‬=19.13-(11.64)(0.87)
  • 5. Or 0.57‫̅ݔ‬=9.00 Or ‫̅ݔ‬=15.79 ∴ ‫ݕ‬ത= 11.64-(0.50)(15.79)=3.74 ∴ Regression coefficient of x on y is -0.87 and that of y on x is -0.50 Now since the coefficient of correlation is the geometric mean between two regression coefficients. ∴ r=√[(-0.50)(-0.87)] = √(0.43) = -0.66 [-ve sign is taken since both regression coefficients are –ve]
  • 6. Q.2) In a partially destroyed laboratory record, only the lines of regression of y on x and x on y are available as 4x-5y=33 and 20x-9y=107 respectively. Calculate ࢞ഥ, ࢟ഥ and the coefficient of correlation between x and y. Solution: Since the regression lines pass through (‫̅ݔ‬,‫ݕ‬ത), therefore, 4‫̅ݔ‬-5‫ݕ‬ത=33=0 20‫̅ݔ‬-9‫ݕ‬ത=107 Solving these equations, we get ‫̅ݔ‬ = 13, ‫ ݕ‬ഥ= 17 Rewriting the line of regression of y on x as y= ସ ହ x+ ଷଷ ହ , we get byx= r ఙ೤ ఙೣ = ସ ହ ...(i)
  • 7. Rewriting the line of regression of x on y as x= ଽ ଶ଴ y+ ଵ଴଻ ଽ , we get bxy= r ఙೣ ఙ೤ = ଽ ଶ଴ ...(ii) Multiplying (i) and (ii), we get r2 = ସ ହ x ଽ ଶ଴ = 0.36 ∴ r=0.6 Hence r = 0.6, the positive sign being taken as byx and bxy both are positive.
  • 8. 1) Find out the line of regression of Y on X from the data given below & also obtain the value of Y for X=71 Solution : X Y X.Y ࢄ૛ ࢅ૛ 65 67 4355 4225 4489 66 68 4488 4356 4624 67 66 4422 4489 4356 68 69 4692 4624 4761 69 72 4968 4761 5184 70 72 5040 4900 5184 71 69 4899 5041 4761 ∑ࢄ = ૝ૠ૟ ∑ࢅ = ૝ૡ૜ ∑X.Y=32864 ∑ࢄ૛=32396 ∑ࢅ૛=33359 X 65 66 67 68 69 70 71 Y 67 68 66 69 72 72 71
  • 9. ࢄ ഥ = ∑ࢄ ࢔ = ସ଻଺ ଻ = 68 ࢅ ഥ= ∑ࢅ ࢔ = ସ଼ଷ ଻ = 69 ࣌࢞ = ට ૚ ࢔ ∑ࢄ૛ − ࢄഥ૛ =ට ଵ ଻ (32396) − 4624 = 2 ࣌࢟ = ට ૚ ࢔ ∑ࢅ૛ − ࢅഥ૛ = ට ଵ ଻ 33359 − 4761 = 2.138 r = ૚ ࢔ ∑ࢄ.ࢅି ࢄഥ.ࢅഥ ටቀ ૚ ࢔ ∑ࢄ૛ିࢄഥ૛ቁ.ቀ ૚ ࢔ ∑ࢅ૛ିࢅഥ૛ቁ = ସ଺ଽସ.଼଺ି(଺଼)(଺ଽ) (ଶ)(ଶ.ଵଷ଼) = 0.6688 Now , Regression line of Y on X
  • 10. Y - ࢅ തതത= ࢈࢟࢞ (X -ࢄ ഥ ) ࢈࢟࢞=r ( ࣌࢟ ࣌࢞ ) =0.6688( ଶ.ଵଷ଼ ଶ ) =0.715 Y-69 = 0.715(X-68) y-69 = 0.715x-48.62 y = 0.715x+20.38 now for X=71, y=0.715(71)+20.38 y=71.145
  • 11. 2) A company wants to predict the annual value of its total sales based on the national income of the company where it does business. The relationship is represented in following table. X 189 190 208 227 239 252 257 274 293 308 316 Y 402 404 412 425 429 436 440 447 458 469 469 X represents the national income in millions of dollars & Y represents the company’s sales in thousands of dollars in the period from 2000 to 2010 Calculate: a.The regression line of Y on X.
  • 12. b. If in 2011, the country’s national income was 325 million dollars, what would the prediction for the company’s sales be? X Y X.Y X2 Y2 189 402 75978 35721 161604 190 404 76760 36100 163216 208 412 85696 43264 169744 227 425 96475 51529 180625 239 429 102531 57121 184041 252 436 109872 63504 190096 257 440 113080 66049 193600 274 447 122478 75076 199809 293 458 134194 85849 209764 308 469 144452 94864 219961 316 469 148204 99856 219961 2753 4791 1209720 708933 2092421
  • 13. ܺത = ଶ଻ହଷ ଵଵ = 250.27 ܻ ഥ= ସ଻ଽଵ ଵଵ = 435.55 ࣌࢞ ୀට ૚ ࢔ ∑ࢄ૛ − ࢄഥ૛ = 42.58 ࣌࢟ = ට ૚ ࢔ ∑ࢅ૛ − ࢅഥ૛ = 22.72 r = ૚ ࢔ ∑ࢄ.ࢅି ࢄഥ.ࢅഥ ටቀ ૚ ࢔ ∑ࢄ૛ିࢄഥ૛ቁ.ቀ ૚ ࢔ ∑ࢅ૛ିࢅഥ૛ቁ = 0.998 Now, Regression line of Y on X Y-ࢅഥ=r ( ࣌࢟ ࣌࢞ ) (X-ࢄഥ)
  • 14. Y -435.55 = 0.53(X-250.27) Y = 0.53X+302.91 Now, for X = 325 Y = (0.53)(325)+302.91 = 475.16