SlideShare a Scribd company logo
1 of 9
Download to read offline
Regression Analysis 
 Explain the impact of one variable on another 
Independent variable: 
the variable used to explain 
the dependent variable 
Dependent 
variable 
the variable you 
wish to explain 
is used to 
x-axis 
y-axis 
Simple Linear 
independent 
Annual Salary vs. Education 
$0 
$20,000 
$40,000 
$60,000 
$80,000 
$100,000 
$120,000 
0 2 4 6 8 10 
Annual salary 
Years of Education (past high school) 
?
Regression Analysis 
Independent variable 
Dependent variable 
is also used to 
x-axis 
y-axis 
Simple Linear 
Quantify linear relationships 
…develop an equation for the… 
Y = mX + b 
value of Y when X = 0 
change in Y relative to a change in X 
Y = b1X + b0 
slope 
intercept 
The purpose of regression analysis is calculate estimates of the slope and intercept.
Regression Analysis 
Independent variable 
Dependent variable 
is also used to 
x-axis 
y-axis 
Simple Linear 
Quantify linear relationships 
…develop an equation for the… 
Y = mX + b 
value of Y when X = 0 
change in Y relative to a change in X 
Y = b1X + b0 
slope 
intercept 
The purpose of regression analysis is calculate estimates of the slope and intercept. 
=INTERCEPT(y-range, x-range) 
=SLOPE(y-range, x-range) 
using LEAST SQUARES ESTIMATION
Linear Regression Example 
Scatterplot 
 House price model: scatter plot 
0 
50 
100 
150 
200 
250 
300 
350 
400 
450 
0 500 1000 1500 2000 2500 3000 
Square Feet 
House Price ($1000s) 
(1) Describe 
the 
relationship… 
r = 0.762
House price model: scatter plot and regression line 
y = 0.1098x + 98.248 
0 
50 
100 
150 
200 
250 
300 
350 
400 
450 
0 
500 
1000 
1500 
2000 
2500 
3000 
Price in $1000s 
sqft 
Selling Price vs. Square Feet 
trendline 
(2) Model the Data… 
Calculate the regression coefficients 
and interpret 
b0 is the estimated mean value of Y when the value of X is 0 
(if X = 0 is in the range of observed X values) 
Because the square footage of the house cannot be 0, the Y intercept has no practical application. 
slope 
intercept
House price model: scatter plot and regression line 
y = 0.1098x + 98.248 
0 
50 
100 
150 
200 
250 
300 
350 
400 
450 
0 
500 
1000 
1500 
2000 
2500 
3000 
Price in $1000s 
sqft 
Selling Price vs. Square Feet 
trendline 
(2) Model the Data… 
Calculate the regression coefficients 
and interpret 
b1 measures the mean change in the average value of Y as a result of a one-unit change in X The mean value of a house increases by 0.1098($1000) = $109.80, on average, for each additional one square foot of size 
slope 
intercept
y = 0.1098x + 98.248 R² = 0.5808 
0 
50 
100 
150 
200 
250 
300 
350 
400 
450 
0 
500 
1000 
1500 
2000 
2500 
3000 
Price in $1000s 
sqft 
Selling Price vs. Square Feet 
(3) Evaluate the Model… 
Calculate R2 
58% of the variability in the PRICE of a home is exaplined by using the SIZE of the home.
Standard Error of Estimate 
 The standard deviation of the 
observations around the 
regression line. 
When predicting, this is the stdev 
of the predictions 
(3) Evaluate 
the Model… 
Calculate R2 and std error
y = 0.1098x + 98.248 R² = 0.5808 
0 
50 
100 
150 
200 
250 
300 
350 
400 
450 
0 
500 
1000 
1500 
2000 
2500 
3000 
Price in $1000s 
sqft 
Selling Price vs. Square Feet 
(3) Evaluate the Model… 
Calculate R2 and std error 
SYX=41.33

More Related Content

What's hot

Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regression
dessybudiyanti
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Ravi shankar
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regression
nszakir
 

What's hot (20)

Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regression
 
Linear regression theory
Linear regression theoryLinear regression theory
Linear regression theory
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression
RegressionRegression
Regression
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Simple linear regressionn and Correlation
Simple linear regressionn and CorrelationSimple linear regressionn and Correlation
Simple linear regressionn and Correlation
 
Chap11 simple regression
Chap11 simple regressionChap11 simple regression
Chap11 simple regression
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Regression
RegressionRegression
Regression
 
Generalized linear model
Generalized linear modelGeneralized linear model
Generalized linear model
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regression
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Regression
RegressionRegression
Regression
 
Presentation On Regression
Presentation On RegressionPresentation On Regression
Presentation On Regression
 
Linear regression analysis
Linear regression analysisLinear regression analysis
Linear regression analysis
 
Regression analysis in R
Regression analysis in RRegression analysis in R
Regression analysis in R
 
Regression
RegressionRegression
Regression
 

Similar to An Overview of Simple Linear Regression

Lesson07_new
Lesson07_newLesson07_new
Lesson07_new
shengvn
 
multiple.ppt
multiple.pptmultiple.ppt
multiple.ppt
jldee1
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inference
Kemal İnciroğlu
 
Algebra graphs and functions 4 4 4-5
Algebra graphs and functions 4 4 4-5Algebra graphs and functions 4 4 4-5
Algebra graphs and functions 4 4 4-5
ola_school
 

Similar to An Overview of Simple Linear Regression (20)

regressionanalysis-110723130213-phpapp02.pdf
regressionanalysis-110723130213-phpapp02.pdfregressionanalysis-110723130213-phpapp02.pdf
regressionanalysis-110723130213-phpapp02.pdf
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec doms
 
R For Data Science - Linear Regression
R For Data Science - Linear RegressionR For Data Science - Linear Regression
R For Data Science - Linear Regression
 
Lesson07_new
Lesson07_newLesson07_new
Lesson07_new
 
Regression Presentation.pptx
Regression Presentation.pptxRegression Presentation.pptx
Regression Presentation.pptx
 
Reg
RegReg
Reg
 
lecture No. 3a.ppt
lecture No. 3a.pptlecture No. 3a.ppt
lecture No. 3a.ppt
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
 
linear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annovalinear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annova
 
multiple.ppt
multiple.pptmultiple.ppt
multiple.ppt
 
multiple.ppt
multiple.pptmultiple.ppt
multiple.ppt
 
multiple.ppt
multiple.pptmultiple.ppt
multiple.ppt
 
Regression Analysis - Linear & Multiple Models
Regression Analysis - Linear & Multiple ModelsRegression Analysis - Linear & Multiple Models
Regression Analysis - Linear & Multiple Models
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inference
 
Regression
RegressionRegression
Regression
 
Matrices ppt
Matrices pptMatrices ppt
Matrices ppt
 
Mathematics TAKS Exit Level Review
Mathematics TAKS Exit Level ReviewMathematics TAKS Exit Level Review
Mathematics TAKS Exit Level Review
 
metod linearne regresije
 metod linearne  regresije metod linearne  regresije
metod linearne regresije
 
Chapter07
Chapter07Chapter07
Chapter07
 
Algebra graphs and functions 4 4 4-5
Algebra graphs and functions 4 4 4-5Algebra graphs and functions 4 4 4-5
Algebra graphs and functions 4 4 4-5
 

More from Georgian Court University

The influence of US presidential elections on exchange rates
The influence of US presidential elections on exchange ratesThe influence of US presidential elections on exchange rates
The influence of US presidential elections on exchange rates
Georgian Court University
 

More from Georgian Court University (20)

A Framework for Employee Motivation
A Framework for Employee MotivationA Framework for Employee Motivation
A Framework for Employee Motivation
 
The BUZZ on Tablets in Higher Ed
The BUZZ on Tablets in Higher EdThe BUZZ on Tablets in Higher Ed
The BUZZ on Tablets in Higher Ed
 
Multimedia options for Classroom Participation & Engagement
Multimedia options for Classroom Participation & EngagementMultimedia options for Classroom Participation & Engagement
Multimedia options for Classroom Participation & Engagement
 
Process Technology
Process TechnologyProcess Technology
Process Technology
 
Undergrad Learning Style Preferences
Undergrad Learning Style Preferences Undergrad Learning Style Preferences
Undergrad Learning Style Preferences
 
Lean & Green at Local Restaurants
Lean & Green at Local RestaurantsLean & Green at Local Restaurants
Lean & Green at Local Restaurants
 
Process Oriented Layout
Process Oriented LayoutProcess Oriented Layout
Process Oriented Layout
 
Product Oriented Layouts
Product Oriented LayoutsProduct Oriented Layouts
Product Oriented Layouts
 
Work Cell Layouts
Work Cell LayoutsWork Cell Layouts
Work Cell Layouts
 
Concentrate on your concentration
Concentrate on your concentrationConcentrate on your concentration
Concentrate on your concentration
 
Experiental & Problem-Based Teaching
Experiental & Problem-Based TeachingExperiental & Problem-Based Teaching
Experiental & Problem-Based Teaching
 
Bullying in Academia
Bullying in AcademiaBullying in Academia
Bullying in Academia
 
Global Climate Change
Global Climate ChangeGlobal Climate Change
Global Climate Change
 
Just how civil are your rights
Just how civil are your rightsJust how civil are your rights
Just how civil are your rights
 
Leading sustainability
Leading sustainabilityLeading sustainability
Leading sustainability
 
The influence of US presidential elections on exchange rates
The influence of US presidential elections on exchange ratesThe influence of US presidential elections on exchange rates
The influence of US presidential elections on exchange rates
 
LEAN & GREEN Restaurants (F10-1)
LEAN & GREEN Restaurants (F10-1)LEAN & GREEN Restaurants (F10-1)
LEAN & GREEN Restaurants (F10-1)
 
LEAN & GREEN Fitness Centers
LEAN & GREEN Fitness CentersLEAN & GREEN Fitness Centers
LEAN & GREEN Fitness Centers
 
LEAN & GREEN Restaurants (S11)
LEAN & GREEN Restaurants (S11)LEAN & GREEN Restaurants (S11)
LEAN & GREEN Restaurants (S11)
 
LEAN & GREEN Restaurants (F10)
LEAN & GREEN Restaurants (F10)LEAN & GREEN Restaurants (F10)
LEAN & GREEN Restaurants (F10)
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 

An Overview of Simple Linear Regression

  • 1. Regression Analysis  Explain the impact of one variable on another Independent variable: the variable used to explain the dependent variable Dependent variable the variable you wish to explain is used to x-axis y-axis Simple Linear independent Annual Salary vs. Education $0 $20,000 $40,000 $60,000 $80,000 $100,000 $120,000 0 2 4 6 8 10 Annual salary Years of Education (past high school) ?
  • 2. Regression Analysis Independent variable Dependent variable is also used to x-axis y-axis Simple Linear Quantify linear relationships …develop an equation for the… Y = mX + b value of Y when X = 0 change in Y relative to a change in X Y = b1X + b0 slope intercept The purpose of regression analysis is calculate estimates of the slope and intercept.
  • 3. Regression Analysis Independent variable Dependent variable is also used to x-axis y-axis Simple Linear Quantify linear relationships …develop an equation for the… Y = mX + b value of Y when X = 0 change in Y relative to a change in X Y = b1X + b0 slope intercept The purpose of regression analysis is calculate estimates of the slope and intercept. =INTERCEPT(y-range, x-range) =SLOPE(y-range, x-range) using LEAST SQUARES ESTIMATION
  • 4. Linear Regression Example Scatterplot  House price model: scatter plot 0 50 100 150 200 250 300 350 400 450 0 500 1000 1500 2000 2500 3000 Square Feet House Price ($1000s) (1) Describe the relationship… r = 0.762
  • 5. House price model: scatter plot and regression line y = 0.1098x + 98.248 0 50 100 150 200 250 300 350 400 450 0 500 1000 1500 2000 2500 3000 Price in $1000s sqft Selling Price vs. Square Feet trendline (2) Model the Data… Calculate the regression coefficients and interpret b0 is the estimated mean value of Y when the value of X is 0 (if X = 0 is in the range of observed X values) Because the square footage of the house cannot be 0, the Y intercept has no practical application. slope intercept
  • 6. House price model: scatter plot and regression line y = 0.1098x + 98.248 0 50 100 150 200 250 300 350 400 450 0 500 1000 1500 2000 2500 3000 Price in $1000s sqft Selling Price vs. Square Feet trendline (2) Model the Data… Calculate the regression coefficients and interpret b1 measures the mean change in the average value of Y as a result of a one-unit change in X The mean value of a house increases by 0.1098($1000) = $109.80, on average, for each additional one square foot of size slope intercept
  • 7. y = 0.1098x + 98.248 R² = 0.5808 0 50 100 150 200 250 300 350 400 450 0 500 1000 1500 2000 2500 3000 Price in $1000s sqft Selling Price vs. Square Feet (3) Evaluate the Model… Calculate R2 58% of the variability in the PRICE of a home is exaplined by using the SIZE of the home.
  • 8. Standard Error of Estimate  The standard deviation of the observations around the regression line. When predicting, this is the stdev of the predictions (3) Evaluate the Model… Calculate R2 and std error
  • 9. y = 0.1098x + 98.248 R² = 0.5808 0 50 100 150 200 250 300 350 400 450 0 500 1000 1500 2000 2500 3000 Price in $1000s sqft Selling Price vs. Square Feet (3) Evaluate the Model… Calculate R2 and std error SYX=41.33