Session 2. Applied Regression -- Prof. Juran2 Outline for Session 2 More Simple Regression –Bottom Part of the Output Hypothesis Testing –Significance.

Slides:



Advertisements
Similar presentations
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Advertisements

Objectives 10.1 Simple linear regression
Stat 112: Lecture 7 Notes Homework 2: Due next Thursday The Multiple Linear Regression model (Chapter 4.1) Inferences from multiple regression analysis.
Session 8b Decision Models -- Prof. Juran.
Inference for Regression
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
11 Simple Linear Regression and Correlation CHAPTER OUTLINE
Objectives (BPS chapter 24)
Simple Linear Regression
July 1, 2008Lecture 17 - Regression Testing1 Testing Relationships between Variables Statistics Lecture 17.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
The Multiple Regression Model Prepared by Vera Tabakova, East Carolina University.
Chapter 13 Additional Topics in Regression Analysis
Chapter 10 Simple Regression.
Chapter 13 Introduction to Linear Regression and Correlation Analysis
The Simple Regression Model
Stat 112 – Notes 3 Homework 1 is due at the beginning of class next Thursday.
T-test.
Chapter 11 Multiple Regression.
Simple Linear Regression Analysis
Business Statistics - QBM117 Interval estimation for the slope and y-intercept Hypothesis tests for regression.
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Chapter 12 Section 1 Inference for Linear Regression.
Simple Linear Regression Analysis
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
Lecture 5 Correlation and Regression
Introduction to Linear Regression and Correlation Analysis
Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one.
Inference for regression - Simple linear regression
Chapter 13: Inference in Regression
Chapter 11 Simple Regression
Hypothesis Testing in Linear Regression Analysis
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
CPE 619 Simple Linear Regression Models Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of Alabama.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Inferences for Regression
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Introduction to Linear Regression
Random Regressors and Moment Based Estimation Prepared by Vera Tabakova, East Carolina University.
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Chap 14-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 14 Additional Topics in Regression Analysis Statistics for Business.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
1 Lecture 4 Main Tasks Today 1. Review of Lecture 3 2. Accuracy of the LS estimators 3. Significance Tests of the Parameters 4. Confidence Interval 5.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Lesson Multiple Regression Models. Objectives Obtain the correlation matrix Use technology to find a multiple regression equation Interpret the.
+ Chapter 12: More About Regression Section 12.1 Inference for Linear Regression.
1 11 Simple Linear Regression and Correlation 11-1 Empirical Models 11-2 Simple Linear Regression 11-3 Properties of the Least Squares Estimators 11-4.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 13-1 Introduction to Regression Analysis Regression analysis is used.
Applied Quantitative Analysis and Practices LECTURE#25 By Dr. Osman Sadiq Paracha.
Correlation & Regression Analysis
June 30, 2008Stat Lecture 16 - Regression1 Inference for relationships between variables Statistics Lecture 16.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Inference for Regression (Chapter 14) A.P. Stats Review Topic #3
Virtual COMSATS Inferential Statistics Lecture-26
Inference for Regression
6-1 Introduction To Empirical Models
Statistical Inference about Regression
Simple Linear Regression
Simple Linear Regression
CHAPTER 12 More About Regression
Product moment correlation
Correlation and Simple Linear Regression
Presentation transcript:

Session 2

Applied Regression -- Prof. Juran2 Outline for Session 2 More Simple Regression –Bottom Part of the Output Hypothesis Testing –Significance of the slope and intercept parameters Interval Estimation –Confidence intervals for the slope and intercept parameters

Applied Regression -- Prof. Juran3 Computer Repair Example

Applied Regression -- Prof. Juran4 Interpreting the Coefficients

Applied Regression -- Prof. Juran5 Things to remember: The Y value we might calculate by plugging an X into this equation is only an estimate (we will discuss this more later). These coefficients are only estimates; they are probably wrong (and we would therefore like to be able to think about how wrong they might be).

Applied Regression -- Prof. Juran6 Significance of the Coefficients Are the slope and intercept significantly different from zero? Can we construct a confidence interval around these coefficients? We need measures of dispersion for the estimated parameters.

Applied Regression -- Prof. Juran7 Statistics of the Regression Estimates If the true model is linear, the regression estimates are unbiased (correct expected value). If the true model is linear, the errors are uncorrelated, and the residual variance is constant in X, the regression estimates are also efficient (low variance relative to other estimators).

Applied Regression -- Prof. Juran8 The Statistics of the Regression Estimates If, in addition, the residuals are normally distributed, the estimates are random variables with distributions related to the t and  2 distributions. This permits a variety of hypothesis tests and confidence and prediction intervals to be computed. If the sample size is reasonably large and the residuals are not bizarrely non-normal, the hypothesis tests and confidence intervals are good approximations.

Applied Regression -- Prof. Juran9 Statistics of (estimated slope of the regression line) The true slope of the regression line,  1, is the most critical parameter. Under our full set of assumptions its estimate,, has the following properties: –It is unbiased: –It has variance: RABE 2.21

Applied Regression -- Prof. Juran10 –It has standard error –The “ t ” statistic below has a t -distribution with n -2 degrees of freedom. –A 2-sided confidence interval on  1 is RABE 2.24 RABE 2.28 RABE 2.33

Applied Regression -- Prof. Juran11 Statistics of (estimated intercept of the regression line) The true intercept of the regression line,  0, is sometimes of interest. Under our full set of assumptions its estimate,, has the following properties: –It is unbiased: –It has variance

Applied Regression -- Prof. Juran12 –It has standard error –The “ t ” statistic below has a t - distribution with n -2 degrees of freedom

Applied Regression -- Prof. Juran13 4-Step Hypothesis Testing Procedure 1.Formulate Two Hypotheses 2.Select a Test Statistic 3.Derive a Decision Rule 4.Calculate the Value of the Test Statistic; Invoke the Decision Rule in light of the Test Statistic

Applied Regression -- Prof. Juran14

Applied Regression -- Prof. Juran15

Applied Regression -- Prof. Juran16 Testing the significance of a simple linear regression (  1 = 0? ) If the slope is zero (or, equivalently, if the correlation is zero) we do not have a relationship. Thus, a fundamental test is: H 0 :  1 = 0 versus H A :  1  0

Applied Regression -- Prof. Juran17 This can be carried out by a 2-sided t -test as follows: Reject H 0 if Equivalently, we can examine whether the confidence interval on  1 contains 0. Note : Parallel tests and confidence intervals exist for  0.

Applied Regression -- Prof. Juran18 Is the effect of “number of units repaired” on “minutes” different from zero? In other words, based on our sample data, which of these hypotheses is true? Hypothesis Testing Approach

Applied Regression -- Prof. Juran19

Applied Regression -- Prof. Juran20

Applied Regression -- Prof. Juran21

Applied Regression -- Prof. Juran22

Applied Regression -- Prof. Juran23

Applied Regression -- Prof. Juran24 The p -value

Applied Regression -- Prof. Juran25 What about the intercept? It would appear that our estimated intercept here is not significantly different from zero (see the p -value of ). It is not uncommon in practical situations to ignore a lack of significance in the intercept — the intercept is held to a lower standard of significance than the slope (or slopes).

Applied Regression -- Prof. Juran26

Applied Regression -- Prof. Juran27 Note that: the zero-intercept line is not much different from the best-fit line The best- fit line fits our data best (duh!) We seem to be able to make better predictions in our practical range of data using the best-fit model

Applied Regression -- Prof. Juran28 Confidence Interval Approach

Applied Regression -- Prof. Juran29 Excel Formulas

Applied Regression -- Prof. Juran30 Excel Formulas

Applied Regression -- Prof. Juran31 Note that both approaches (hypothesis testing and confidence intervals) use the same basic “picture” of sampling error: In the hypothesis testing approach, we center the picture on a hypothesized parameter value and see whether the data are consistent with the hypothesis. In the confidence interval approach, we center the picture on the data, and speculate that the true population parameter is probably nearby.

Applied Regression -- Prof. Juran32 The Regression Output

Applied Regression -- Prof. Juran33 Hypothesis Testing: Gardening Analogy Rocks Dirt

Applied Regression -- Prof. Juran34 Hypothesis Testing: Gardening Analogy

Applied Regression -- Prof. Juran35 Hypothesis Testing: Gardening Analogy

Applied Regression -- Prof. Juran36 Hypothesis Testing: Gardening Analogy

Applied Regression -- Prof. Juran37 Hypothesis Testing: Gardening Analogy Screened out stuff: Correct decision or Type I Error? Stuff that fell through: Correct decision or Type II Error?

Applied Regression -- Prof. Juran38 Stock Betas

Applied Regression -- Prof. Juran39

Applied Regression -- Prof. Juran40

Applied Regression -- Prof. Juran41

Applied Regression -- Prof. Juran42

Applied Regression -- Prof. Juran43

Applied Regression -- Prof. Juran44

Applied Regression -- Prof. Juran45

Applied Regression -- Prof. Juran46 More Simple Regression –Bottom Part of the Output Hypothesis Testing –Significance of the slope and intercept parameters Interval Estimation –Confidence intervals for the slope and intercept parameters Summary

Applied Regression -- Prof. Juran47 For Sessions 3 & 4 Organize a Project Team Review your regression notes from core stats Two cases: –All-Around Movers –Manley’s Insurance