SlideShare uma empresa Scribd logo
1 de 9
Baixar para ler 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

Mais conteúdo relacionado

Mais procurados

Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear RegressionSharlaine Ruth
 
Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regressiondessybudiyanti
 
Non Linear Equation
Non Linear EquationNon Linear Equation
Non Linear EquationMdAlAmin187
 
Regression analysis
Regression analysisRegression analysis
Regression analysissaba khan
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inferenceKemal İnciroğlu
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regressionpankaj8108
 
Presentation On Regression
Presentation On RegressionPresentation On Regression
Presentation On Regressionalok tiwari
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis pptElkana Rorio
 
Simple linear regression and correlation
Simple linear regression and correlationSimple linear regression and correlation
Simple linear regression and correlationShakeel Nouman
 
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
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression AnalysisSalim Azad
 
Linear regression without tears
Linear regression without tearsLinear regression without tears
Linear regression without tearsAnkit Sharma
 
multiple linear regression
multiple linear regressionmultiple linear regression
multiple linear regressionAkhilesh Joshi
 
Chapter 6 simple regression and correlation
Chapter 6 simple regression and correlationChapter 6 simple regression and correlation
Chapter 6 simple regression and correlationRione Drevale
 

Mais procurados (20)

Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear Regression
 
Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regression
 
Non Linear Equation
Non Linear EquationNon Linear Equation
Non Linear Equation
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inference
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Presentation On Regression
Presentation On RegressionPresentation On Regression
Presentation On Regression
 
Linear regression
Linear regressionLinear regression
Linear regression
 
Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear Regression
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
 
Simple linear regression and correlation
Simple linear regression and correlationSimple linear regression and correlation
Simple linear regression and correlation
 
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
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Ridge regression
Ridge regressionRidge regression
Ridge regression
 
Linear regression without tears
Linear regression without tearsLinear regression without tears
Linear regression without tears
 
multiple linear regression
multiple linear regressionmultiple linear regression
multiple linear regression
 
Chapter 6 simple regression and correlation
Chapter 6 simple regression and correlationChapter 6 simple regression and correlation
Chapter 6 simple regression and correlation
 

Semelhante a 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
 
Mathematics TAKS Exit Level Review
Mathematics TAKS Exit Level ReviewMathematics TAKS Exit Level Review
Mathematics TAKS Exit Level Reviewguest3f17823
 

Semelhante a 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
 
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
 
Regression
RegressionRegression
Regression
 

Mais 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
 

Mais 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)
 

Último

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
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 ConsultingTechSoup
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 

Último (20)

Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 

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