SlideShare a Scribd company logo
1 of 7
Confidence Interval for the
slope of a least-squares
Regression Line
Equation for simple linear
regression
What is linear Regression?
The least squares linear regression is a method for predicting
the value of a dependent variable y, based on a value of the
independent variably x.
Equation: y*= a + bx
Where: y*= predicted value of the dependent variable
a= constant
b= slope (regression coefficient)
x= value of independent variable
Estimation Requirements
• Dependent variable y has a linear
relationship to the independent variable x.
• For each value of x, the probability
distribution of y has the same standard
deviation
• For any given value of x,
– y values are independent
– y values are approximately normally distributed
Properties of a Regression Line
• With the regression parameters defined
before for bo and b1
• The line minimizes the sum of the squared differences between the observed
values )y-values) and the predicted values(y* values computed by the regression
equation)
• The regression line passes through the mean of the x-values (x) and through the
mean of the y values (y)
• Regression constant (b0) is equal to y-intercept of regression line
• Regression coefficient (b1) is the average change in the dependent variable (y) for
a 1-unit change in the independent variable (x). It is the slope of the regression
line
• The least squares regression line is the only straight line that has all of these
properties
Standard Error
The measure of the average amount that the
regression equation over or under predicts. The
higher the coefficient of determination, the
lower the standard error and the more accurate
predictions are likely to be.
(this will always be given to you)
Variability of Slope Estimate:
Calculator provides standard error of slope as
regression analysis output
How to find the Confidence Interval
for the slope of a regression line
Same approach as previous confidence intervals,
BUT the critical value is based on a t-score
with the degree of freedom as n-2.
1- sample statistic regression slope b,
calculated from sample data
2- confidence level
3- Margin of Error
4- Confidence Interval: sample statistic + ME
written as: (Sample Stat – ME, Sample Stat + ME)
How to find the Confidence Interval
for the slope of a regression line
Same approach as previous confidence intervals,
BUT the critical value is based on a t-score
with the degree of freedom as n-2.
1- sample statistic regression slope b,
calculated from sample data
2- confidence level
3- Margin of Error
4- Confidence Interval: sample statistic + ME
written as: (Sample Stat – ME, Sample Stat + ME)

More Related Content

What's hot

5.1 part 2
5.1 part 25.1 part 2
5.1 part 2
leblance
 
Correspondence analysis final
Correspondence analysis finalCorrespondence analysis final
Correspondence analysis final
saba khan
 
Basics of statistical notation
Basics of statistical notationBasics of statistical notation
Basics of statistical notation
mocia76
 
Pc8 6 parametric equations
Pc8 6 parametric equationsPc8 6 parametric equations
Pc8 6 parametric equations
vhiggins1
 

What's hot (20)

Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Lecture 2 ba 2 statistics for business analytics
Lecture 2 ba 2 statistics for business analyticsLecture 2 ba 2 statistics for business analytics
Lecture 2 ba 2 statistics for business analytics
 
Linear regreesion ppt
Linear regreesion pptLinear regreesion ppt
Linear regreesion ppt
 
Linear regression
Linear regressionLinear regression
Linear regression
 
Correspondence Analysis
Correspondence AnalysisCorrespondence Analysis
Correspondence Analysis
 
Use of Linear Regression in Machine Learning for Ranking
Use of Linear Regression in Machine Learning for RankingUse of Linear Regression in Machine Learning for Ranking
Use of Linear Regression in Machine Learning for Ranking
 
5.1 part 2
5.1 part 25.1 part 2
5.1 part 2
 
10685 6.1 multivar_mr_srm bm i
10685 6.1 multivar_mr_srm bm i10685 6.1 multivar_mr_srm bm i
10685 6.1 multivar_mr_srm bm i
 
Linear Regression
Linear RegressionLinear Regression
Linear Regression
 
Correspondence analysis(step by step)
Correspondence analysis(step by step)Correspondence analysis(step by step)
Correspondence analysis(step by step)
 
Correspondence analysis final
Correspondence analysis finalCorrespondence analysis final
Correspondence analysis final
 
What is Simple Linear Regression and How Can an Enterprise Use this Technique...
What is Simple Linear Regression and How Can an Enterprise Use this Technique...What is Simple Linear Regression and How Can an Enterprise Use this Technique...
What is Simple Linear Regression and How Can an Enterprise Use this Technique...
 
Oed chapter 1
Oed chapter 1Oed chapter 1
Oed chapter 1
 
Simple Correspondence Analysis
Simple Correspondence AnalysisSimple Correspondence Analysis
Simple Correspondence Analysis
 
Basics of statistical notation
Basics of statistical notationBasics of statistical notation
Basics of statistical notation
 
Regression: A skin-deep dive
Regression: A skin-deep diveRegression: A skin-deep dive
Regression: A skin-deep dive
 
Overview of Advance Marketing Research
Overview of Advance Marketing ResearchOverview of Advance Marketing Research
Overview of Advance Marketing Research
 
Pc8 6 parametric equations
Pc8 6 parametric equationsPc8 6 parametric equations
Pc8 6 parametric equations
 
Ahmed
AhmedAhmed
Ahmed
 
Method Validation - Linearity
Method Validation - LinearityMethod Validation - Linearity
Method Validation - Linearity
 

Similar to A.12 ci for regression

Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inference
Kemal İnciroğlu
 

Similar to A.12 ci for regression (20)

Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
 
REGRESSION METasdfghjklmjhgftrHODS1.pptx
REGRESSION METasdfghjklmjhgftrHODS1.pptxREGRESSION METasdfghjklmjhgftrHODS1.pptx
REGRESSION METasdfghjklmjhgftrHODS1.pptx
 
rugs koco.pptx
rugs koco.pptxrugs koco.pptx
rugs koco.pptx
 
Unit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptxUnit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptx
 
Statr session 23 and 24
Statr session 23 and 24Statr session 23 and 24
Statr session 23 and 24
 
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
 
Simple egression.pptx
Simple egression.pptxSimple egression.pptx
Simple egression.pptx
 
Simple Linear Regression.pptx
Simple Linear Regression.pptxSimple Linear Regression.pptx
Simple Linear Regression.pptx
 
604_multiplee.ppt
604_multiplee.ppt604_multiplee.ppt
604_multiplee.ppt
 
regression
regressionregression
regression
 
Graphical presentation
Graphical presentationGraphical presentation
Graphical presentation
 
Regression
Regression Regression
Regression
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inference
 
Linear regression analysis
Linear regression analysisLinear regression analysis
Linear regression analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
 
Regression Analysis Techniques.pptx
Regression Analysis Techniques.pptxRegression Analysis Techniques.pptx
Regression Analysis Techniques.pptx
 
Regression analysis in R
Regression analysis in RRegression analysis in R
Regression analysis in R
 
Regression ppt
Regression pptRegression ppt
Regression ppt
 
Lecture 5 - Gradient Descent, a lecture in subject module Statistical & Machi...
Lecture 5 - Gradient Descent, a lecture in subject module Statistical & Machi...Lecture 5 - Gradient Descent, a lecture in subject module Statistical & Machi...
Lecture 5 - Gradient Descent, a lecture in subject module Statistical & Machi...
 

More from Ulster BOCES

Sampling distributions
Sampling distributionsSampling distributions
Sampling distributions
Ulster BOCES
 
Geometric distributions
Geometric distributionsGeometric distributions
Geometric distributions
Ulster BOCES
 
Binomial distributions
Binomial distributionsBinomial distributions
Binomial distributions
Ulster BOCES
 
Means and variances of random variables
Means and variances of random variablesMeans and variances of random variables
Means and variances of random variables
Ulster BOCES
 
General probability rules
General probability rulesGeneral probability rules
General probability rules
Ulster BOCES
 
Planning and conducting surveys
Planning and conducting surveysPlanning and conducting surveys
Planning and conducting surveys
Ulster BOCES
 
Overview of data collection methods
Overview of data collection methodsOverview of data collection methods
Overview of data collection methods
Ulster BOCES
 
Exploring bivariate data
Exploring bivariate dataExploring bivariate data
Exploring bivariate data
Ulster BOCES
 
Normal probability plot
Normal probability plotNormal probability plot
Normal probability plot
Ulster BOCES
 
Exploring data stemplot
Exploring data   stemplotExploring data   stemplot
Exploring data stemplot
Ulster BOCES
 
Exploring data other plots
Exploring data   other plotsExploring data   other plots
Exploring data other plots
Ulster BOCES
 
Exploring data histograms
Exploring data   histogramsExploring data   histograms
Exploring data histograms
Ulster BOCES
 
Calculating percentages from z scores
Calculating percentages from z scoresCalculating percentages from z scores
Calculating percentages from z scores
Ulster BOCES
 
Standardizing scores
Standardizing scoresStandardizing scores
Standardizing scores
Ulster BOCES
 
Intro to statistics
Intro to statisticsIntro to statistics
Intro to statistics
Ulster BOCES
 
Describing quantitative data with numbers
Describing quantitative data with numbersDescribing quantitative data with numbers
Describing quantitative data with numbers
Ulster BOCES
 
Displaying quantitative data
Displaying quantitative dataDisplaying quantitative data
Displaying quantitative data
Ulster BOCES
 

More from Ulster BOCES (20)

Sampling means
Sampling meansSampling means
Sampling means
 
Sampling distributions
Sampling distributionsSampling distributions
Sampling distributions
 
Geometric distributions
Geometric distributionsGeometric distributions
Geometric distributions
 
Binomial distributions
Binomial distributionsBinomial distributions
Binomial distributions
 
Means and variances of random variables
Means and variances of random variablesMeans and variances of random variables
Means and variances of random variables
 
Simulation
SimulationSimulation
Simulation
 
General probability rules
General probability rulesGeneral probability rules
General probability rules
 
Planning and conducting surveys
Planning and conducting surveysPlanning and conducting surveys
Planning and conducting surveys
 
Overview of data collection methods
Overview of data collection methodsOverview of data collection methods
Overview of data collection methods
 
Exploring bivariate data
Exploring bivariate dataExploring bivariate data
Exploring bivariate data
 
Normal probability plot
Normal probability plotNormal probability plot
Normal probability plot
 
Exploring data stemplot
Exploring data   stemplotExploring data   stemplot
Exploring data stemplot
 
Exploring data other plots
Exploring data   other plotsExploring data   other plots
Exploring data other plots
 
Exploring data histograms
Exploring data   histogramsExploring data   histograms
Exploring data histograms
 
Calculating percentages from z scores
Calculating percentages from z scoresCalculating percentages from z scores
Calculating percentages from z scores
 
Density curve
Density curveDensity curve
Density curve
 
Standardizing scores
Standardizing scoresStandardizing scores
Standardizing scores
 
Intro to statistics
Intro to statisticsIntro to statistics
Intro to statistics
 
Describing quantitative data with numbers
Describing quantitative data with numbersDescribing quantitative data with numbers
Describing quantitative data with numbers
 
Displaying quantitative data
Displaying quantitative dataDisplaying quantitative data
Displaying quantitative data
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

A.12 ci for regression

  • 1. Confidence Interval for the slope of a least-squares Regression Line
  • 2. Equation for simple linear regression What is linear Regression? The least squares linear regression is a method for predicting the value of a dependent variable y, based on a value of the independent variably x. Equation: y*= a + bx Where: y*= predicted value of the dependent variable a= constant b= slope (regression coefficient) x= value of independent variable
  • 3. Estimation Requirements • Dependent variable y has a linear relationship to the independent variable x. • For each value of x, the probability distribution of y has the same standard deviation • For any given value of x, – y values are independent – y values are approximately normally distributed
  • 4. Properties of a Regression Line • With the regression parameters defined before for bo and b1 • The line minimizes the sum of the squared differences between the observed values )y-values) and the predicted values(y* values computed by the regression equation) • The regression line passes through the mean of the x-values (x) and through the mean of the y values (y) • Regression constant (b0) is equal to y-intercept of regression line • Regression coefficient (b1) is the average change in the dependent variable (y) for a 1-unit change in the independent variable (x). It is the slope of the regression line • The least squares regression line is the only straight line that has all of these properties
  • 5. Standard Error The measure of the average amount that the regression equation over or under predicts. The higher the coefficient of determination, the lower the standard error and the more accurate predictions are likely to be. (this will always be given to you) Variability of Slope Estimate: Calculator provides standard error of slope as regression analysis output
  • 6. How to find the Confidence Interval for the slope of a regression line Same approach as previous confidence intervals, BUT the critical value is based on a t-score with the degree of freedom as n-2. 1- sample statistic regression slope b, calculated from sample data 2- confidence level 3- Margin of Error 4- Confidence Interval: sample statistic + ME written as: (Sample Stat – ME, Sample Stat + ME)
  • 7. How to find the Confidence Interval for the slope of a regression line Same approach as previous confidence intervals, BUT the critical value is based on a t-score with the degree of freedom as n-2. 1- sample statistic regression slope b, calculated from sample data 2- confidence level 3- Margin of Error 4- Confidence Interval: sample statistic + ME written as: (Sample Stat – ME, Sample Stat + ME)