SlideShare une entreprise Scribd logo
1  sur  9
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Regression Analysis presentation by Al Arizmendez and Cathryn Lottier
Regression Analysis presentation by Al Arizmendez and Cathryn LottierRegression Analysis presentation by Al Arizmendez and Cathryn Lottier
Regression Analysis presentation by Al Arizmendez and Cathryn LottierAl Arizmendez
 
Simple linear regression (final)
Simple linear regression (final)Simple linear regression (final)
Simple linear regression (final)Harsh Upadhyay
 
Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regressiondessybudiyanti
 
Linear regression
Linear regressionLinear regression
Linear regressionTech_MX
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionAjendra7846
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regressionpankaj8108
 
Statistics-Regression analysis
Statistics-Regression analysisStatistics-Regression analysis
Statistics-Regression analysisRabin BK
 
Basics of Regression analysis
 Basics of Regression analysis Basics of Regression analysis
Basics of Regression analysisMahak Vijayvargiya
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.sonia gupta
 
Regression
Regression Regression
Regression Ali Raza
 
Chapter 4 - multiple regression
Chapter 4  - multiple regressionChapter 4  - multiple regression
Chapter 4 - multiple regressionTauseef khan
 
Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear RegressionSharlaine Ruth
 
Regression analysis
Regression analysisRegression analysis
Regression analysisSohag Babu
 
Simple regression model
Simple regression modelSimple regression model
Simple regression modelMidoTami
 

Tendances (20)

Regression Analysis presentation by Al Arizmendez and Cathryn Lottier
Regression Analysis presentation by Al Arizmendez and Cathryn LottierRegression Analysis presentation by Al Arizmendez and Cathryn Lottier
Regression Analysis presentation by Al Arizmendez and Cathryn Lottier
 
Simple linear regression (final)
Simple linear regression (final)Simple linear regression (final)
Simple linear regression (final)
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regression
 
Linear regression
Linear regressionLinear regression
Linear regression
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Linear regression
Linear regressionLinear regression
Linear regression
 
Statistics-Regression analysis
Statistics-Regression analysisStatistics-Regression analysis
Statistics-Regression analysis
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Basics of Regression analysis
 Basics of Regression analysis Basics of Regression analysis
Basics of Regression analysis
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.
 
Regression
Regression Regression
Regression
 
Chapter 4 - multiple regression
Chapter 4  - multiple regressionChapter 4  - multiple regression
Chapter 4 - multiple regression
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear Regression
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Simple regression model
Simple regression modelSimple regression model
Simple regression model
 
Covariance
CovarianceCovariance
Covariance
 

Similaire à An Overview of Simple Linear Regression

regressionanalysis-110723130213-phpapp02.pdf
regressionanalysis-110723130213-phpapp02.pdfregressionanalysis-110723130213-phpapp02.pdf
regressionanalysis-110723130213-phpapp02.pdfAdikesavaperumal
 
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 domsBabasab Patil
 
R For Data Science - Linear Regression
R For Data Science - Linear RegressionR For Data Science - Linear Regression
R For Data Science - Linear RegressionIvo Bernardo
 
Lesson07_new
Lesson07_newLesson07_new
Lesson07_newshengvn
 
Regression Presentation.pptx
Regression Presentation.pptxRegression Presentation.pptx
Regression Presentation.pptxMuhammadMuslim25
 
lecture No. 3a.ppt
lecture No. 3a.pptlecture No. 3a.ppt
lecture No. 3a.pptHamidUllah50
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptxShivankAggatwal
 
linear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annovalinear Regression, multiple Regression and Annova
linear Regression, multiple Regression and AnnovaMansi Rastogi
 
multiple.ppt
multiple.pptmultiple.ppt
multiple.pptjldee1
 
Regression Analysis - Linear & Multiple Models
Regression Analysis - Linear & Multiple ModelsRegression Analysis - Linear & Multiple Models
Regression Analysis - Linear & Multiple ModelsRajnishSingh367990
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inferenceKemal İnciroğlu
 
Mathematics TAKS Exit Level Review
Mathematics TAKS Exit Level ReviewMathematics TAKS Exit Level Review
Mathematics TAKS Exit Level Reviewguest3f17823
 

Similaire à 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
 
Chap11 simple regression
Chap11 simple regressionChap11 simple regression
Chap11 simple regression
 
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
 

Plus de Georgian Court University

Multimedia options for Classroom Participation & Engagement
Multimedia options for Classroom Participation & EngagementMultimedia options for Classroom Participation & Engagement
Multimedia options for Classroom Participation & EngagementGeorgian 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 ratesGeorgian Court University
 

Plus de 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)
 

Dernier

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
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...pradhanghanshyam7136
 
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.pptxMaritesTamaniVerdade
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 

Dernier (20)

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
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...
 
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
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

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