SlideShare a Scribd company logo
ROLE OF REGRESSION IN STATISTICS
BY
ASSOCIATE PROFESSOR
NADEEM UDDIN
Regression
The term regression used firstly by “Sir Frances Galton” is used for all such
problems where we have to estimate or predict one variable on the basis of another
variable.
Definition
A process by which we predict or estimate values of one dependent variable from
known values of other independent variables is called regression.
Regressand and Regressor
In regression process the dependent variable is called a random variable or
regressand and the independent variable is called fixed variable or regressor.
Dependent Variable
The variable which is to be estimated or predicted is called dependent variable.
Independent Variable
The variable on the basis of which the dependent variable is to be estimated is
called independent variable.
For Example
If we want to estimate the heights of children on the basis of their ages, then the
heights of children would be dependent variable and the ages of children would be
independent variable.
Students are some time confused with independent variable and dependent variable
here are some examples of independent and dependent variables:
Independent Variable (𝒙) Dependent Variable (𝒚)
• Age of child Weight of child
• Temperature of a plant Height of a plant
• Amount of drug Reaction time
• Number of registered vehicles Number of road accidents
• Advertising Income
Scatter Diagram
Scatter diagram is obtained by plotting the paired values of 𝑥 and 𝑦 on a graph
paper and the points so obtained are kept disjoined.
In scatter diagram we take independent variable along the 𝑥 − 𝑎𝑥𝑖𝑠 and the
dependent variable on the 𝑦 − 𝑎𝑥𝑖𝑠.
This is the simplest method of investigating the relationship between the two
variables.
Here below is given heights of children in inches and weights in pounds.
Heights(𝑖𝑛𝑐ℎ𝑒𝑠)𝑥 58 70 74 68 61 66 70 63
Weights(𝑝𝑜𝑢𝑛𝑑𝑠)𝑦 160 180 176 165 150 155 169 160
Now we plot this data taking the independent variable (heights) on 𝑥 − 𝑎𝑥𝑖𝑠 and
the dependent variable (weights) on 𝑦 − 𝑎𝑥𝑖𝑠 to get scatter.
Scatter diagram indicates a relationship between the variables. There dots
shows upward trend and we say that a linear relationship exists between height
and weight.
The resulting curve in scatter diagram is called curve of regression or linear
regression.
145
150
155
160
165
170
175
180
185
0 10 20 30 40 50 60 70 80
Heights (inches)
Weights(pounds)
The Least Square Line
After drawing scatter diagram, a free hand line can be drawn through the plotted
points, which shows trend of the variables. This free hand drawing is a “Subjective
Method” as it depends upon the personal judgment of the person drawing the line.
We need some objective method. An “Objective Method is the method of least
square”. The line obtained by this method is called “Least Square Line”.
Least Square Lines of Regression
The equation for a straight line or linear trend will be
𝑦 = 𝑎 + 𝑏𝑥
Where 𝑦 dependent variable and 𝑥 is independent variable. “𝑎” and “𝑏” are
unknown parameters determined by solving simultaneously the following normal
equation.
∑𝑦 = 𝑛𝑎 + 𝑏∑𝑥
∑𝑥𝑦 = 𝑎∑𝑥 + 𝑏∑𝑥2
The Values of “𝑎” and “𝑏” can be calculated by the following formulae which are
obtained by solving the above equations.
𝑏 =
𝑛∑𝑥𝑦 − ∑𝑥∑𝑦
𝑛∑𝑥2 − (∑𝑥)2
𝑎 =
∑𝑦
𝑛
− 𝑏 (
∑𝑥
𝑛
)
or
𝑎 = 𝑦̅ − 𝑏𝑥̅
If the variable “𝑥” is taken as dependent variable and “𝑦” is taken as independent
variable then the least square line is
𝑥 = 𝑐 + 𝑑𝑦
The normal equations are
∑𝑥 = 𝑛𝑐 + 𝑑∑𝑦
∑𝑥𝑦 = 𝑐∑𝑦 + 𝑑∑𝑦2
By solving the above equations, the value of “𝑐” and “𝑑” can be calculated as
𝑑 =
𝑛∑𝑥𝑦 − ∑𝑥∑𝑦
𝑛∑𝑦2 − (∑𝑦)2
𝑐 =
∑𝑥
𝑛
− 𝑑(
∑𝑦
𝑛
)
Or
𝑐 = 𝑥̅ − 𝑑𝑦̅
Example-1:
Determine
(i) the regression equation of 𝑦 on 𝑥, and estimate 𝑦 at 𝑥 = 2.
(ii) the regression equation of 𝑥 on 𝑦, and estimate 𝑥 at y = 4.
𝒙 1 3 3 4 5 5
𝒚 5 3 2 2 0 1
Solution:
𝒙 𝒚 𝒙𝒚 𝒙 𝟐
𝒚 𝟐
1 5 5 1 25
3 3 9 9 9
3 2 6 9 4
4 2 8 16 4
5 0 0 25 0
5 1 5 25 1
∑x=21 ∑y=13 ∑xy=33 ∑x2
=85 ∑y2
=43
Regression equation 𝑦 on 𝑥.
y a bx= +
𝑏 =
𝑛∑𝑥𝑦−∑𝑥∑𝑦
𝑛∑𝑥2−(∑𝑥)2
𝑏 =
6(33)−(21)(13)
6(85)−(21)2
𝑏 =
198−273
510−441
𝑏 = −
75
69
𝒃 = −𝟏. 𝟎𝟗
𝑎 =
∑𝑦
𝑛
− 𝑏 (
∑𝑥
𝑛
)
𝑎 =
13
6
− (−1.09)(
21
6
)
𝑎 = 2.17 + 3.815
𝑎 = 5.98
Line of Regression
𝑦 = 𝑎 + 𝑏𝑥
𝑦 = 5.98 + (−1.09)𝑥
𝒚 = 𝟓. 𝟗𝟖 − 𝟏. 𝟎𝟗𝒙
When 𝑥 = 2
𝑦̂ = 5.98 − 1.09(2)
𝑦̂ = 5.98 − 2.18
𝒚̂ = 𝟑. 𝟖
(ii) Regression equation 𝑥 on 𝑦
𝑥 = 𝑐 + 𝑑𝑦
𝑑 =
𝑛∑𝑥𝑦−∑𝑥∑𝑦
𝑛∑𝑦2−(∑𝑦)2
𝑑 =
(6)(33)−(21)(13)
(6)(43)−(13)2
𝑑 =
198−273
258−169
𝑑 = −
75
89
𝒅 = −𝟎. 𝟖𝟒
𝑐 =
∑𝑥
𝑛
− 𝑑(
∑𝑦
𝑛
)
𝑐 =
21
6
− (−0.84)(
13
6
)
𝑐 = 3.5 + 0.84(2.17)
𝑐 = 3.5 + 1.82
𝒄 = 𝟓. 𝟑𝟐
𝑥 = 𝑐 + 𝑑𝑦
𝑥 = 5.32 + (−0.84)𝑦
𝒙 = 𝟓. 𝟑𝟐 − 𝟎. 𝟖𝟒𝒚
When 𝑦 = 4
𝑥̂ = 5.32 − 0.84(4)
𝑥̂ = 5.32 − 3.36
𝒙̂ = 𝟏. 𝟗𝟔
Example-2:
The heights and weights of six men are given below.
Height(𝑚𝑒𝑡𝑒𝑟𝑠) 2.00 1.80 1.85 1.72 1.75 1.79
Weight(𝑘𝑔𝑠) 85.0 78.0 80.0 74.0 75.0 76.0
i) Determine both the lines of regression.
ii) Estimate weight when height is1.70 𝑚𝑒𝑡𝑒𝑟𝑠.
iii) Estimate height when weight is70.0 𝑘𝑔.
Solution:
Height
(𝒎𝒆𝒕𝒆𝒓𝒔) 𝒙
Weight (𝒌𝒈𝒔)
𝒚
𝒙𝒚 𝒙 𝟐
𝒚 𝟐
2.00 85.0 170.00 4.0000 7225
1.80 78.0 140.40 3.2400 6084
1.85 80.0 148.00 3.4225 6400
1.72 74.0 127.28 2.9584 5476
1.75 75.0 131.25 3.0625 5625
1.79 76.0 136.04 3.2041 5776
∑x=10.91 ∑y=468 ∑xy=852.97 ∑x2
=19.8875 ∑y2
=36586
i) Regression line 𝑦 on 𝑥
𝑦 = 𝑎 + 𝑏𝑥
𝑏 =
𝑛∑𝑥𝑦−∑𝑥∑𝑦
𝑛∑𝑥2−(∑𝑥)2
𝑏 =
6(852.97)−(10.91)(468)
6(19.8875)−(10.91)2
𝑏 =
5117.82−5105.88
119.325−119.0281
𝑏 =
11.94
0.2969
𝒃 = 𝟒𝟎. 𝟐𝟐
𝑎 =
∑𝑦
𝑛
− 𝑏(
∑𝑥
𝑛
)
𝑎 =
468
6
− (40.22) (
10.91
6
)
𝑎 = 78 − (40.22)(1.82)
𝑎 = 78 − 73.20
𝒂 = 𝟒. 𝟖
𝑦 = 𝑎 + 𝑏𝑥
𝑦 = 4.8 + 40.22𝑥
Regression line 𝑥 on 𝑦
𝑥 = 𝑐 + 𝑑𝑦
𝑑 =
𝑛∑𝑥𝑦−∑𝑥∑𝑦
𝑛∑𝑦2−(∑𝑦)2
𝑑 =
6(852.97)−(10.9)(468)
6(36586)−(468)2
𝑑 =
11.94
492
𝒅 = 𝟎. 𝟎𝟐𝟒
𝑐 =
∑𝑥
𝑛
− 𝑑 (
∑𝑦
𝑛
)
𝑐 =
10.91
6
− (0.024) (
468
6
)
𝑐 = 1.82 − (0.024)(78)
𝑐 = 1.82 − 1.872
𝒄 = −𝟎. 𝟎𝟓𝟐
𝑥 = 𝑐 + 𝑑𝑦
𝒙 = −𝟎. 𝟎𝟓𝟐 + 𝟎. 𝟎𝟐𝟒𝒚
ii) Estimate weight when height is 𝑥 = 1.70 meters
𝑦̂ = 4.8 + 40.22(1.70)
𝑦̂ = 4.8 + 68.374
𝒚̂ = 𝟕𝟑 𝒌𝒈
The estimated value of weight is 73𝑘𝑔 when height is1.7 𝑚𝑒𝑡𝑒𝑟𝑠.
Now estimate height when weight is 𝑦 = 70.0 𝑘𝑔
𝑥̂ = −0.052 + 0.024(7.00)
𝑥̂ = −0.052 + 1.68
𝒙̂ = 𝟏. 𝟔𝟑 𝒎𝒆𝒕𝒆𝒓𝒔
The estimated value of height is 1.63 𝑚𝑒𝑡𝑒𝑟𝑠 when weight is70 𝑘𝑔.

More Related Content

What's hot

4.3 basic concepts of correlation
4.3 basic concepts of correlation4.3 basic concepts of correlation
4.3 basic concepts of correlation
Rajeev Kumar
 
Hypothesis testing for nonparametric data
Hypothesis testing for nonparametric data Hypothesis testing for nonparametric data
Hypothesis testing for nonparametric data
KwambokaLeonidah
 
Motion speed velocity_ ppt.
Motion speed velocity_ ppt.Motion speed velocity_ ppt.
Motion speed velocity_ ppt.ratnumchai
 
Motion
MotionMotion
speed and velocity
speed and velocityspeed and velocity
speed and velocity
francisnoelelardo
 
Motion speed and velocity
Motion  speed and velocityMotion  speed and velocity
Motion speed and velocityNikki Ting
 
Physics (displacement, distance, speed, velocity) 1 d
Physics (displacement, distance, speed, velocity)  1 dPhysics (displacement, distance, speed, velocity)  1 d
Physics (displacement, distance, speed, velocity) 1 drebelman10
 
Motion in One Dimension: Distance, Displacement, speed or velocity and accele...
Motion in One Dimension: Distance, Displacement, speed or velocity and accele...Motion in One Dimension: Distance, Displacement, speed or velocity and accele...
Motion in One Dimension: Distance, Displacement, speed or velocity and accele...
WilmaBendoy
 
Errors and uncertainities net
Errors and uncertainities netErrors and uncertainities net
Errors and uncertainities net
Amer Ghazi Attari
 
Ch 2 Linear Motion
Ch 2 Linear MotionCh 2 Linear Motion
Ch 2 Linear Motionhursmi
 
Vector and scalar
Vector and scalarVector and scalar
Vector and scalar
Nirmal Rizal
 
Physics - Chapter 2 - One Dimensional Motion
Physics - Chapter 2 - One Dimensional MotionPhysics - Chapter 2 - One Dimensional Motion
Physics - Chapter 2 - One Dimensional Motion
JPoilek
 

What's hot (20)

4.3 basic concepts of correlation
4.3 basic concepts of correlation4.3 basic concepts of correlation
4.3 basic concepts of correlation
 
motion
motionmotion
motion
 
Hypothesis testing for nonparametric data
Hypothesis testing for nonparametric data Hypothesis testing for nonparametric data
Hypothesis testing for nonparametric data
 
Motion
MotionMotion
Motion
 
Motion speed velocity_ ppt.
Motion speed velocity_ ppt.Motion speed velocity_ ppt.
Motion speed velocity_ ppt.
 
Motion
MotionMotion
Motion
 
speed and velocity
speed and velocityspeed and velocity
speed and velocity
 
Motion 1
Motion 1Motion 1
Motion 1
 
Motion speed and velocity
Motion  speed and velocityMotion  speed and velocity
Motion speed and velocity
 
Physics (displacement, distance, speed, velocity) 1 d
Physics (displacement, distance, speed, velocity)  1 dPhysics (displacement, distance, speed, velocity)  1 d
Physics (displacement, distance, speed, velocity) 1 d
 
Movement
MovementMovement
Movement
 
Linear motion present
Linear motion presentLinear motion present
Linear motion present
 
Motion in One Dimension: Distance, Displacement, speed or velocity and accele...
Motion in One Dimension: Distance, Displacement, speed or velocity and accele...Motion in One Dimension: Distance, Displacement, speed or velocity and accele...
Motion in One Dimension: Distance, Displacement, speed or velocity and accele...
 
Errors and uncertainities net
Errors and uncertainities netErrors and uncertainities net
Errors and uncertainities net
 
Theory of Errors
Theory of ErrorsTheory of Errors
Theory of Errors
 
Ch 2 Linear Motion
Ch 2 Linear MotionCh 2 Linear Motion
Ch 2 Linear Motion
 
Speed and velocity
Speed and velocitySpeed and velocity
Speed and velocity
 
Vector and scalar
Vector and scalarVector and scalar
Vector and scalar
 
Physics - Chapter 2 - One Dimensional Motion
Physics - Chapter 2 - One Dimensional MotionPhysics - Chapter 2 - One Dimensional Motion
Physics - Chapter 2 - One Dimensional Motion
 
Speed,velocity,acceleration
Speed,velocity,accelerationSpeed,velocity,acceleration
Speed,velocity,acceleration
 

Similar to Role of regression in statistics (2)

Regression Analysis , A statistical approch to analysis data.pptx
Regression Analysis , A statistical  approch to analysis data.pptxRegression Analysis , A statistical  approch to analysis data.pptx
Regression Analysis , A statistical approch to analysis data.pptx
TifahInternational
 
REGRESSION ANALYSIS
REGRESSION ANALYSISREGRESSION ANALYSIS
REGRESSION ANALYSIS
ONE Virtual Services
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
MdRokonMia1
 
Lesson 27 using statistical techniques in analyzing data
Lesson 27 using statistical techniques in analyzing dataLesson 27 using statistical techniques in analyzing data
Lesson 27 using statistical techniques in analyzing data
mjlobetos
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
Shivakumar B N
 
Lecture 4
Lecture 4Lecture 4
Course pack unit 5
Course pack unit 5Course pack unit 5
Course pack unit 5
Rai University
 
33851.ppt
33851.ppt33851.ppt
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
RekhaChoudhary24
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Srikant001p
 
Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help
HelpWithAssignment.com
 
Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)
Muhammadasif909
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Shiela Vinarao
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Shiela Vinarao
 
Unit 5 Correlation
Unit 5 CorrelationUnit 5 Correlation
Unit 5 Correlation
Rai University
 
Simple Linear Regression.pptx
Simple Linear Regression.pptxSimple Linear Regression.pptx
Simple Linear Regression.pptx
AbdalrahmanTahaJaya
 
Simple egression.pptx
Simple egression.pptxSimple egression.pptx
Simple egression.pptx
AbdalrahmanTahaJaya
 
Standard deviation
Standard deviationStandard deviation
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
Abdelaziz Tayoun
 

Similar to Role of regression in statistics (2) (20)

Regression Analysis , A statistical approch to analysis data.pptx
Regression Analysis , A statistical  approch to analysis data.pptxRegression Analysis , A statistical  approch to analysis data.pptx
Regression Analysis , A statistical approch to analysis data.pptx
 
REGRESSION ANALYSIS
REGRESSION ANALYSISREGRESSION ANALYSIS
REGRESSION ANALYSIS
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
 
Lesson 27 using statistical techniques in analyzing data
Lesson 27 using statistical techniques in analyzing dataLesson 27 using statistical techniques in analyzing data
Lesson 27 using statistical techniques in analyzing data
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Course pack unit 5
Course pack unit 5Course pack unit 5
Course pack unit 5
 
Statistics for entrepreneurs
Statistics for entrepreneurs Statistics for entrepreneurs
Statistics for entrepreneurs
 
33851.ppt
33851.ppt33851.ppt
33851.ppt
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help
 
Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Unit 5 Correlation
Unit 5 CorrelationUnit 5 Correlation
Unit 5 Correlation
 
Simple Linear Regression.pptx
Simple Linear Regression.pptxSimple Linear Regression.pptx
Simple Linear Regression.pptx
 
Simple egression.pptx
Simple egression.pptxSimple egression.pptx
Simple egression.pptx
 
Standard deviation
Standard deviationStandard deviation
Standard deviation
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 

More from Nadeem Uddin

A corporation has 15 salesmen.pdf
A corporation has 15 salesmen.pdfA corporation has 15 salesmen.pdf
A corporation has 15 salesmen.pdf
Nadeem Uddin
 
A question paper is divided into three groups A.docx
A question paper is divided into three groups A.docxA question paper is divided into three groups A.docx
A question paper is divided into three groups A.docx
Nadeem Uddin
 
If on the average the rain falls on twelve days in every thirty day.docx
If on the average  the rain falls on twelve days in every thirty day.docxIf on the average  the rain falls on twelve days in every thirty day.docx
If on the average the rain falls on twelve days in every thirty day.docx
Nadeem Uddin
 
If on the average the rain falls on twelve days in every thirty days.docx
If on the average  the rain falls on twelve days in every thirty days.docxIf on the average  the rain falls on twelve days in every thirty days.docx
If on the average the rain falls on twelve days in every thirty days.docx
Nadeem Uddin
 
If A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is (2).docxIf A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is (2).docx
Nadeem Uddin
 
If A and B play a game in which the probability that A wins is.docx
If A and B play a game in which the probability that A wins is.docxIf A and B play a game in which the probability that A wins is.docx
If A and B play a game in which the probability that A wins is.docx
Nadeem Uddin
 
Suppose you are eating at cafeteria with two friends.docx
Suppose you are eating at cafeteria with two friends.docxSuppose you are eating at cafeteria with two friends.docx
Suppose you are eating at cafeteria with two friends.docx
Nadeem Uddin
 
Three men toss in succession for a prize to be given to the one.docx
Three men toss in succession for a prize to be given to the one.docxThree men toss in succession for a prize to be given to the one.docx
Three men toss in succession for a prize to be given to the one.docx
Nadeem Uddin
 
Two men A and B toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docxTwo men A and B toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docx
Nadeem Uddin
 
For the following venn diagram.docx
For the following venn diagram.docxFor the following venn diagram.docx
For the following venn diagram.docx
Nadeem Uddin
 
A group of 50 people was asked of three newspapers.docx
A group of 50 people was asked of three newspapers.docxA group of 50 people was asked of three newspapers.docx
A group of 50 people was asked of three newspapers.docx
Nadeem Uddin
 
In a survey of 100 participants.docx
In a survey of 100 participants.docxIn a survey of 100 participants.docx
In a survey of 100 participants.docx
Nadeem Uddin
 
Probability by venn diagram.docx
Probability by venn diagram.docxProbability by venn diagram.docx
Probability by venn diagram.docx
Nadeem Uddin
 
A bag contains 6 red and 4 black balls.docx
A bag contains 6 red and 4 black balls.docxA bag contains 6 red and 4 black balls.docx
A bag contains 6 red and 4 black balls.docx
Nadeem Uddin
 
Suppose that the probability is 0.8 that any given person will believe a tale...
Suppose that the probability is 0.8 that any given person will believe a tale...Suppose that the probability is 0.8 that any given person will believe a tale...
Suppose that the probability is 0.8 that any given person will believe a tale...
Nadeem Uddin
 
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docxA man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
Nadeem Uddin
 
The probability that a candidate passes a certain professional examination is...
The probability that a candidate passes a certain professional examination is...The probability that a candidate passes a certain professional examination is...
The probability that a candidate passes a certain professional examination is...
Nadeem Uddin
 
The probability that three men hit a target are respectively 1.docx
The probability that  three men hit a target are respectively 1.docxThe probability that  three men hit a target are respectively 1.docx
The probability that three men hit a target are respectively 1.docx
Nadeem Uddin
 
In a survey of a group of people the following results are obtained.docx
In a survey of a group of people the following results are obtained.docxIn a survey of a group of people the following results are obtained.docx
In a survey of a group of people the following results are obtained.docx
Nadeem Uddin
 
The probability that a student passes mathematics is 2.docx
The probability that a student passes mathematics is 2.docxThe probability that a student passes mathematics is 2.docx
The probability that a student passes mathematics is 2.docx
Nadeem Uddin
 

More from Nadeem Uddin (20)

A corporation has 15 salesmen.pdf
A corporation has 15 salesmen.pdfA corporation has 15 salesmen.pdf
A corporation has 15 salesmen.pdf
 
A question paper is divided into three groups A.docx
A question paper is divided into three groups A.docxA question paper is divided into three groups A.docx
A question paper is divided into three groups A.docx
 
If on the average the rain falls on twelve days in every thirty day.docx
If on the average  the rain falls on twelve days in every thirty day.docxIf on the average  the rain falls on twelve days in every thirty day.docx
If on the average the rain falls on twelve days in every thirty day.docx
 
If on the average the rain falls on twelve days in every thirty days.docx
If on the average  the rain falls on twelve days in every thirty days.docxIf on the average  the rain falls on twelve days in every thirty days.docx
If on the average the rain falls on twelve days in every thirty days.docx
 
If A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is (2).docxIf A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is (2).docx
 
If A and B play a game in which the probability that A wins is.docx
If A and B play a game in which the probability that A wins is.docxIf A and B play a game in which the probability that A wins is.docx
If A and B play a game in which the probability that A wins is.docx
 
Suppose you are eating at cafeteria with two friends.docx
Suppose you are eating at cafeteria with two friends.docxSuppose you are eating at cafeteria with two friends.docx
Suppose you are eating at cafeteria with two friends.docx
 
Three men toss in succession for a prize to be given to the one.docx
Three men toss in succession for a prize to be given to the one.docxThree men toss in succession for a prize to be given to the one.docx
Three men toss in succession for a prize to be given to the one.docx
 
Two men A and B toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docxTwo men A and B toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docx
 
For the following venn diagram.docx
For the following venn diagram.docxFor the following venn diagram.docx
For the following venn diagram.docx
 
A group of 50 people was asked of three newspapers.docx
A group of 50 people was asked of three newspapers.docxA group of 50 people was asked of three newspapers.docx
A group of 50 people was asked of three newspapers.docx
 
In a survey of 100 participants.docx
In a survey of 100 participants.docxIn a survey of 100 participants.docx
In a survey of 100 participants.docx
 
Probability by venn diagram.docx
Probability by venn diagram.docxProbability by venn diagram.docx
Probability by venn diagram.docx
 
A bag contains 6 red and 4 black balls.docx
A bag contains 6 red and 4 black balls.docxA bag contains 6 red and 4 black balls.docx
A bag contains 6 red and 4 black balls.docx
 
Suppose that the probability is 0.8 that any given person will believe a tale...
Suppose that the probability is 0.8 that any given person will believe a tale...Suppose that the probability is 0.8 that any given person will believe a tale...
Suppose that the probability is 0.8 that any given person will believe a tale...
 
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docxA man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
 
The probability that a candidate passes a certain professional examination is...
The probability that a candidate passes a certain professional examination is...The probability that a candidate passes a certain professional examination is...
The probability that a candidate passes a certain professional examination is...
 
The probability that three men hit a target are respectively 1.docx
The probability that  three men hit a target are respectively 1.docxThe probability that  three men hit a target are respectively 1.docx
The probability that three men hit a target are respectively 1.docx
 
In a survey of a group of people the following results are obtained.docx
In a survey of a group of people the following results are obtained.docxIn a survey of a group of people the following results are obtained.docx
In a survey of a group of people the following results are obtained.docx
 
The probability that a student passes mathematics is 2.docx
The probability that a student passes mathematics is 2.docxThe probability that a student passes mathematics is 2.docx
The probability that a student passes mathematics is 2.docx
 

Recently uploaded

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 

Recently uploaded (20)

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 

Role of regression in statistics (2)

  • 1. ROLE OF REGRESSION IN STATISTICS BY ASSOCIATE PROFESSOR NADEEM UDDIN Regression The term regression used firstly by “Sir Frances Galton” is used for all such problems where we have to estimate or predict one variable on the basis of another variable. Definition A process by which we predict or estimate values of one dependent variable from known values of other independent variables is called regression. Regressand and Regressor In regression process the dependent variable is called a random variable or regressand and the independent variable is called fixed variable or regressor. Dependent Variable The variable which is to be estimated or predicted is called dependent variable. Independent Variable The variable on the basis of which the dependent variable is to be estimated is called independent variable. For Example If we want to estimate the heights of children on the basis of their ages, then the heights of children would be dependent variable and the ages of children would be independent variable. Students are some time confused with independent variable and dependent variable here are some examples of independent and dependent variables:
  • 2. Independent Variable (𝒙) Dependent Variable (𝒚) • Age of child Weight of child • Temperature of a plant Height of a plant • Amount of drug Reaction time • Number of registered vehicles Number of road accidents • Advertising Income Scatter Diagram Scatter diagram is obtained by plotting the paired values of 𝑥 and 𝑦 on a graph paper and the points so obtained are kept disjoined. In scatter diagram we take independent variable along the 𝑥 − 𝑎𝑥𝑖𝑠 and the dependent variable on the 𝑦 − 𝑎𝑥𝑖𝑠. This is the simplest method of investigating the relationship between the two variables. Here below is given heights of children in inches and weights in pounds. Heights(𝑖𝑛𝑐ℎ𝑒𝑠)𝑥 58 70 74 68 61 66 70 63 Weights(𝑝𝑜𝑢𝑛𝑑𝑠)𝑦 160 180 176 165 150 155 169 160 Now we plot this data taking the independent variable (heights) on 𝑥 − 𝑎𝑥𝑖𝑠 and the dependent variable (weights) on 𝑦 − 𝑎𝑥𝑖𝑠 to get scatter. Scatter diagram indicates a relationship between the variables. There dots shows upward trend and we say that a linear relationship exists between height and weight. The resulting curve in scatter diagram is called curve of regression or linear regression. 145 150 155 160 165 170 175 180 185 0 10 20 30 40 50 60 70 80 Heights (inches) Weights(pounds)
  • 3. The Least Square Line After drawing scatter diagram, a free hand line can be drawn through the plotted points, which shows trend of the variables. This free hand drawing is a “Subjective Method” as it depends upon the personal judgment of the person drawing the line. We need some objective method. An “Objective Method is the method of least square”. The line obtained by this method is called “Least Square Line”. Least Square Lines of Regression The equation for a straight line or linear trend will be 𝑦 = 𝑎 + 𝑏𝑥 Where 𝑦 dependent variable and 𝑥 is independent variable. “𝑎” and “𝑏” are unknown parameters determined by solving simultaneously the following normal equation. ∑𝑦 = 𝑛𝑎 + 𝑏∑𝑥 ∑𝑥𝑦 = 𝑎∑𝑥 + 𝑏∑𝑥2 The Values of “𝑎” and “𝑏” can be calculated by the following formulae which are obtained by solving the above equations. 𝑏 = 𝑛∑𝑥𝑦 − ∑𝑥∑𝑦 𝑛∑𝑥2 − (∑𝑥)2 𝑎 = ∑𝑦 𝑛 − 𝑏 ( ∑𝑥 𝑛 ) or 𝑎 = 𝑦̅ − 𝑏𝑥̅ If the variable “𝑥” is taken as dependent variable and “𝑦” is taken as independent variable then the least square line is 𝑥 = 𝑐 + 𝑑𝑦 The normal equations are ∑𝑥 = 𝑛𝑐 + 𝑑∑𝑦 ∑𝑥𝑦 = 𝑐∑𝑦 + 𝑑∑𝑦2 By solving the above equations, the value of “𝑐” and “𝑑” can be calculated as 𝑑 = 𝑛∑𝑥𝑦 − ∑𝑥∑𝑦 𝑛∑𝑦2 − (∑𝑦)2 𝑐 = ∑𝑥 𝑛 − 𝑑( ∑𝑦 𝑛 ) Or 𝑐 = 𝑥̅ − 𝑑𝑦̅
  • 4. Example-1: Determine (i) the regression equation of 𝑦 on 𝑥, and estimate 𝑦 at 𝑥 = 2. (ii) the regression equation of 𝑥 on 𝑦, and estimate 𝑥 at y = 4. 𝒙 1 3 3 4 5 5 𝒚 5 3 2 2 0 1 Solution: 𝒙 𝒚 𝒙𝒚 𝒙 𝟐 𝒚 𝟐 1 5 5 1 25 3 3 9 9 9 3 2 6 9 4 4 2 8 16 4 5 0 0 25 0 5 1 5 25 1 ∑x=21 ∑y=13 ∑xy=33 ∑x2 =85 ∑y2 =43 Regression equation 𝑦 on 𝑥. y a bx= + 𝑏 = 𝑛∑𝑥𝑦−∑𝑥∑𝑦 𝑛∑𝑥2−(∑𝑥)2 𝑏 = 6(33)−(21)(13) 6(85)−(21)2 𝑏 = 198−273 510−441 𝑏 = − 75 69 𝒃 = −𝟏. 𝟎𝟗
  • 5. 𝑎 = ∑𝑦 𝑛 − 𝑏 ( ∑𝑥 𝑛 ) 𝑎 = 13 6 − (−1.09)( 21 6 ) 𝑎 = 2.17 + 3.815 𝑎 = 5.98 Line of Regression 𝑦 = 𝑎 + 𝑏𝑥 𝑦 = 5.98 + (−1.09)𝑥 𝒚 = 𝟓. 𝟗𝟖 − 𝟏. 𝟎𝟗𝒙 When 𝑥 = 2 𝑦̂ = 5.98 − 1.09(2) 𝑦̂ = 5.98 − 2.18 𝒚̂ = 𝟑. 𝟖 (ii) Regression equation 𝑥 on 𝑦 𝑥 = 𝑐 + 𝑑𝑦 𝑑 = 𝑛∑𝑥𝑦−∑𝑥∑𝑦 𝑛∑𝑦2−(∑𝑦)2 𝑑 = (6)(33)−(21)(13) (6)(43)−(13)2 𝑑 = 198−273 258−169 𝑑 = − 75 89
  • 6. 𝒅 = −𝟎. 𝟖𝟒 𝑐 = ∑𝑥 𝑛 − 𝑑( ∑𝑦 𝑛 ) 𝑐 = 21 6 − (−0.84)( 13 6 ) 𝑐 = 3.5 + 0.84(2.17) 𝑐 = 3.5 + 1.82 𝒄 = 𝟓. 𝟑𝟐 𝑥 = 𝑐 + 𝑑𝑦 𝑥 = 5.32 + (−0.84)𝑦 𝒙 = 𝟓. 𝟑𝟐 − 𝟎. 𝟖𝟒𝒚 When 𝑦 = 4 𝑥̂ = 5.32 − 0.84(4) 𝑥̂ = 5.32 − 3.36 𝒙̂ = 𝟏. 𝟗𝟔
  • 7. Example-2: The heights and weights of six men are given below. Height(𝑚𝑒𝑡𝑒𝑟𝑠) 2.00 1.80 1.85 1.72 1.75 1.79 Weight(𝑘𝑔𝑠) 85.0 78.0 80.0 74.0 75.0 76.0 i) Determine both the lines of regression. ii) Estimate weight when height is1.70 𝑚𝑒𝑡𝑒𝑟𝑠. iii) Estimate height when weight is70.0 𝑘𝑔. Solution: Height (𝒎𝒆𝒕𝒆𝒓𝒔) 𝒙 Weight (𝒌𝒈𝒔) 𝒚 𝒙𝒚 𝒙 𝟐 𝒚 𝟐 2.00 85.0 170.00 4.0000 7225 1.80 78.0 140.40 3.2400 6084 1.85 80.0 148.00 3.4225 6400 1.72 74.0 127.28 2.9584 5476 1.75 75.0 131.25 3.0625 5625 1.79 76.0 136.04 3.2041 5776 ∑x=10.91 ∑y=468 ∑xy=852.97 ∑x2 =19.8875 ∑y2 =36586 i) Regression line 𝑦 on 𝑥 𝑦 = 𝑎 + 𝑏𝑥 𝑏 = 𝑛∑𝑥𝑦−∑𝑥∑𝑦 𝑛∑𝑥2−(∑𝑥)2 𝑏 = 6(852.97)−(10.91)(468) 6(19.8875)−(10.91)2 𝑏 = 5117.82−5105.88 119.325−119.0281 𝑏 = 11.94 0.2969 𝒃 = 𝟒𝟎. 𝟐𝟐 𝑎 = ∑𝑦 𝑛 − 𝑏( ∑𝑥 𝑛 )
  • 8. 𝑎 = 468 6 − (40.22) ( 10.91 6 ) 𝑎 = 78 − (40.22)(1.82) 𝑎 = 78 − 73.20 𝒂 = 𝟒. 𝟖 𝑦 = 𝑎 + 𝑏𝑥 𝑦 = 4.8 + 40.22𝑥 Regression line 𝑥 on 𝑦 𝑥 = 𝑐 + 𝑑𝑦 𝑑 = 𝑛∑𝑥𝑦−∑𝑥∑𝑦 𝑛∑𝑦2−(∑𝑦)2 𝑑 = 6(852.97)−(10.9)(468) 6(36586)−(468)2 𝑑 = 11.94 492 𝒅 = 𝟎. 𝟎𝟐𝟒 𝑐 = ∑𝑥 𝑛 − 𝑑 ( ∑𝑦 𝑛 ) 𝑐 = 10.91 6 − (0.024) ( 468 6 ) 𝑐 = 1.82 − (0.024)(78) 𝑐 = 1.82 − 1.872 𝒄 = −𝟎. 𝟎𝟓𝟐
  • 9. 𝑥 = 𝑐 + 𝑑𝑦 𝒙 = −𝟎. 𝟎𝟓𝟐 + 𝟎. 𝟎𝟐𝟒𝒚 ii) Estimate weight when height is 𝑥 = 1.70 meters 𝑦̂ = 4.8 + 40.22(1.70) 𝑦̂ = 4.8 + 68.374 𝒚̂ = 𝟕𝟑 𝒌𝒈 The estimated value of weight is 73𝑘𝑔 when height is1.7 𝑚𝑒𝑡𝑒𝑟𝑠. Now estimate height when weight is 𝑦 = 70.0 𝑘𝑔 𝑥̂ = −0.052 + 0.024(7.00) 𝑥̂ = −0.052 + 1.68 𝒙̂ = 𝟏. 𝟔𝟑 𝒎𝒆𝒕𝒆𝒓𝒔 The estimated value of height is 1.63 𝑚𝑒𝑡𝑒𝑟𝑠 when weight is70 𝑘𝑔.