SlideShare a Scribd company logo
3
Most read
4
Most read
6
Most read
Simple Linear Regression
Regression Analysis Is a statistical method
which makes use of the relationships between
two or more quantitative variables so that on
variable, called the dependent or response
variable can be predicted with the knowledge
of the values of the other variable, called
independent variable. A regression equation is
a mathematical equation that allow us to
predict values of one dependent variable from
known values of one or more independent
variables.
The regression equation is usually expressed
mathematically by a straight line equation
called linear regression line or simple linear
regression. This line will give the best fit to the
relationship of the variables X and Y. The lie
which “best fit” is that line such that when the
differences between the actual values of Y and
the predicted values of Y for each X are
squared and summed, it will result a
minimum.
The simple linear regression line is given by the
equation Y = a + bX where Y is the predicted
dependent variable, X is the independent variable, a
and b are the estimates of the parameters of regression
which are calculated from the available sample values
as follows:
N ( XY) – ( X) ( Y)
b=
N( X2 ) – ( X)2

and
a = y – bx where y and x the means of
the sample values of X and Y.
Example: Consider the following data:

X 2 4 6 8 10 12
Y 6 7 8 9 10 11
a. Find the equation of regression line
b. Sketch the graph on a scatter diagram
c. Find the point estimate of Y when X = 15
Solution (a):

X

Y

X2

Y2

XY

2
4

6
7

4
16

36
49

12
28

6
10

8
9
10

36
64
100

64
81
100

48
72
100

12

11

144

121

132

X2 =
364

Y2 =

XY =
392

8

X = 42

X=7

Y = 51

Y=
8.5

451
Then:
6(392) – 42(51)
b=

210
=

6(364) – 422

= 0.5.

420

Thus, a = 8.5 – 0.5(7) = 5. Therefore, the equation
of the regression line is Y = 5 + 0.5X.
Solution (b):
Y-Values
14
12

12

10

10

8

8

6

Y-Values

6

4

4

2

2

0
2

4

6

8

10

12

Solution (c) : Substitute x = 15 to the equation Y
= 5 + 0.5X. Thus, Y = 5 + 0.5(15) = 12.5
Problem: A study was made by a businessman to
determine the relation between advertising cost
and sales. The following data on 12
commodities were recorded:
Advertisin 30
g cost
(thousand)

15

400
Sales
(thousand)

320 350 490 500 500 530

24

37

42

45

48

40

20

25

20

385

450

390

365 470

Find the estimated regression line and estimate
the sales when X = 43.

35

More Related Content

PDF
Introduction to Generalized Linear Models
PDF
Linear regression theory
PPTX
Logistical Regression.pptx
PPT
Linear regression
PPTX
Regression analysis
PPT
Simple lin regress_inference
PPTX
Regression
PDF
Multiple linear regression
Introduction to Generalized Linear Models
Linear regression theory
Logistical Regression.pptx
Linear regression
Regression analysis
Simple lin regress_inference
Regression
Multiple linear regression

What's hot (20)

PPTX
Simple linear regression
PPTX
hypothesis testing
PPTX
Introduction to Maximum Likelihood Estimator
PDF
Generalized Nonlinear Models in R
PDF
Introduction to Computational Statistics
PPTX
Basics of Regression analysis
PPTX
Lesson 2 stationary_time_series
PPTX
Logistic regression
PPTX
Logistic regression
PPTX
Statistics for data science
PPTX
Presentation On Regression
PPT
F Distribution
PPTX
Linear regression
PPTX
Logistic regression with SPSS
PPSX
Linear regression
DOCX
Estimation in statistics
PDF
Statistical Distributions
PPTX
Curve Fitting
PPTX
Introduction to Structural Equation Modeling
PPSX
Simple linear regression
Simple linear regression
hypothesis testing
Introduction to Maximum Likelihood Estimator
Generalized Nonlinear Models in R
Introduction to Computational Statistics
Basics of Regression analysis
Lesson 2 stationary_time_series
Logistic regression
Logistic regression
Statistics for data science
Presentation On Regression
F Distribution
Linear regression
Logistic regression with SPSS
Linear regression
Estimation in statistics
Statistical Distributions
Curve Fitting
Introduction to Structural Equation Modeling
Simple linear regression
Ad

Viewers also liked (20)

PPT
Simple Linier Regression
PPT
Simple linear regression (final)
ODP
Simple Linear Regression (simplified)
PPT
Linear regression
PDF
Simple linear regression
PDF
C2.1 intro
PPT
Lesson 8 Linear Correlation And Regression
PDF
An Overview of Simple Linear Regression
PDF
Regression: A skin-deep dive
PPT
Chapter13
PDF
Ch14
PPT
Chapter13
PPTX
Simple linear regression analysis
PDF
NG BB 36 Simple Linear Regression
PPTX
How to run Simple Linear Regression on SPSS
PDF
Pearson Correlation, Spearman Correlation &Linear Regression
PPT
Regression analysis
PDF
Correlation and Simple Regression
PPT
Regression analysis ppt
PDF
Directing intelligence in_automotive_industry
Simple Linier Regression
Simple linear regression (final)
Simple Linear Regression (simplified)
Linear regression
Simple linear regression
C2.1 intro
Lesson 8 Linear Correlation And Regression
An Overview of Simple Linear Regression
Regression: A skin-deep dive
Chapter13
Ch14
Chapter13
Simple linear regression analysis
NG BB 36 Simple Linear Regression
How to run Simple Linear Regression on SPSS
Pearson Correlation, Spearman Correlation &Linear Regression
Regression analysis
Correlation and Simple Regression
Regression analysis ppt
Directing intelligence in_automotive_industry
Ad

Similar to Simple Linear Regression (20)

PPT
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
PPTX
Regression
PPTX
Unit 7b Regression Analyss.pptxbhjjjjjjk
PPT
Corr-and-Regress (1).ppt
PPT
Corr-and-Regress.ppt
PPT
Cr-and-Regress.ppt
PPT
Correlation & Regression for Statistics Social Science
PPT
Corr-and-Regress.ppt
PPT
Corr-and-Regress.ppt
PPT
Corr-and-Regress.ppt
PPSX
Math4 presentation.ppsx
PPT
Corr And Regress
PPTX
Linear Regression Analysis method of Forecasting ,:- Management principle and...
PDF
Regression analysis
PDF
Econometrics assignment help
PPTX
Presentation on Regression Analysis
PPTX
Regression
PPTX
Regression and correlation in statistics
PPTX
REGRESSION ANALYSIS THEORY EXPLAINED HERE
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Regression
Unit 7b Regression Analyss.pptxbhjjjjjjk
Corr-and-Regress (1).ppt
Corr-and-Regress.ppt
Cr-and-Regress.ppt
Correlation & Regression for Statistics Social Science
Corr-and-Regress.ppt
Corr-and-Regress.ppt
Corr-and-Regress.ppt
Math4 presentation.ppsx
Corr And Regress
Linear Regression Analysis method of Forecasting ,:- Management principle and...
Regression analysis
Econometrics assignment help
Presentation on Regression Analysis
Regression
Regression and correlation in statistics
REGRESSION ANALYSIS THEORY EXPLAINED HERE

More from Sharlaine Ruth (13)

PPTX
Wilcoxon Signed Rank Test
PPT
Kruskal-Wallis H test
PPTX
Tetrachoric Correlation Coefficient
PPT
Spearman’s Rank Correlation Coefficient
PPT
Point Bicerial Correlation Coefficient
PPTX
Phi (φ) Correlation
PPTX
Pearson product moment correlation
PPTX
Goodness of fit (ppt)
PPTX
ANOVA-One Way Classification
PPTX
ANOVA 2-WAY Classification
PPTX
The Sign Test
PPTX
Portfolio Assessment Methods
PPTX
Probability Deck of Cards
Wilcoxon Signed Rank Test
Kruskal-Wallis H test
Tetrachoric Correlation Coefficient
Spearman’s Rank Correlation Coefficient
Point Bicerial Correlation Coefficient
Phi (φ) Correlation
Pearson product moment correlation
Goodness of fit (ppt)
ANOVA-One Way Classification
ANOVA 2-WAY Classification
The Sign Test
Portfolio Assessment Methods
Probability Deck of Cards

Recently uploaded (20)

PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Insiders guide to clinical Medicine.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Institutional Correction lecture only . . .
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Pharma ospi slides which help in ospi learning
102 student loan defaulters named and shamed – Is someone you know on the list?
Supply Chain Operations Speaking Notes -ICLT Program
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
RMMM.pdf make it easy to upload and study
Insiders guide to clinical Medicine.pdf
Anesthesia in Laparoscopic Surgery in India
Basic Mud Logging Guide for educational purpose
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Institutional Correction lecture only . . .
TR - Agricultural Crops Production NC III.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Pharma ospi slides which help in ospi learning

Simple Linear Regression

  • 2. Regression Analysis Is a statistical method which makes use of the relationships between two or more quantitative variables so that on variable, called the dependent or response variable can be predicted with the knowledge of the values of the other variable, called independent variable. A regression equation is a mathematical equation that allow us to predict values of one dependent variable from known values of one or more independent variables.
  • 3. The regression equation is usually expressed mathematically by a straight line equation called linear regression line or simple linear regression. This line will give the best fit to the relationship of the variables X and Y. The lie which “best fit” is that line such that when the differences between the actual values of Y and the predicted values of Y for each X are squared and summed, it will result a minimum.
  • 4. The simple linear regression line is given by the equation Y = a + bX where Y is the predicted dependent variable, X is the independent variable, a and b are the estimates of the parameters of regression which are calculated from the available sample values as follows: N ( XY) – ( X) ( Y) b= N( X2 ) – ( X)2 and a = y – bx where y and x the means of the sample values of X and Y.
  • 5. Example: Consider the following data: X 2 4 6 8 10 12 Y 6 7 8 9 10 11 a. Find the equation of regression line b. Sketch the graph on a scatter diagram c. Find the point estimate of Y when X = 15
  • 7. Then: 6(392) – 42(51) b= 210 = 6(364) – 422 = 0.5. 420 Thus, a = 8.5 – 0.5(7) = 5. Therefore, the equation of the regression line is Y = 5 + 0.5X.
  • 8. Solution (b): Y-Values 14 12 12 10 10 8 8 6 Y-Values 6 4 4 2 2 0 2 4 6 8 10 12 Solution (c) : Substitute x = 15 to the equation Y = 5 + 0.5X. Thus, Y = 5 + 0.5(15) = 12.5
  • 9. Problem: A study was made by a businessman to determine the relation between advertising cost and sales. The following data on 12 commodities were recorded: Advertisin 30 g cost (thousand) 15 400 Sales (thousand) 320 350 490 500 500 530 24 37 42 45 48 40 20 25 20 385 450 390 365 470 Find the estimated regression line and estimate the sales when X = 43. 35