July 1, 2008Lecture 17 - Regression Testing1 Testing Relationships between Variables Statistics 111 - Lecture 17.

Slides:



Advertisements
Similar presentations
Objectives 10.1 Simple linear regression
Advertisements

Inference for Regression
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Correlation and Regression
Objectives (BPS chapter 24)
Chapter 12 Simple Linear Regression
Session 2. Applied Regression -- Prof. Juran2 Outline for Session 2 More Simple Regression –Bottom Part of the Output Hypothesis Testing –Significance.
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.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Multiple regression analysis
Chapter 10 Simple Regression.
REGRESSION Want to predict one variable (say Y) using the other variable (say X) GOAL: Set up an equation connecting X and Y. Linear regression linear.
Lecture 23: Tues., Dec. 2 Today: Thursday:
The Simple Regression Model
Stat 112 – Notes 3 Homework 1 is due at the beginning of class next Thursday.
Lecture 16 – Thurs, Oct. 30 Inference for Regression (Sections ): –Hypothesis Tests and Confidence Intervals for Intercept and Slope –Confidence.
Simple Linear Regression Analysis
Stat 217 – Day 25 Regression. Last Time - ANOVA When?  Comparing 2 or means (one categorical and one quantitative variable) Research question  Null.
Business Statistics - QBM117 Interval estimation for the slope and y-intercept Hypothesis tests for regression.
Simple Linear Regression Analysis
Linear Regression/Correlation
Lecture 5 Correlation and Regression
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Simple Linear Regression Analysis Chapter 13.
June 2, 2008Stat Lecture 18 - Review1 Final review Statistics Lecture 18.
The Chi-Square Distribution 1. The student will be able to  Perform a Goodness of Fit hypothesis test  Perform a Test of Independence hypothesis test.
Inference for regression - Simple linear regression
Chapter 13: Inference in Regression
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 10-1 Review and Preview.
BPS - 3rd Ed. Chapter 211 Inference for Regression.
June 26, 2008Stat Lecture 151 Two-Sample Inference for Proportions Statistics Lecture 15.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
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.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Introduction to Linear Regression
Multiple regression - Inference for multiple regression - A case study IPS chapters 11.1 and 11.2 © 2006 W.H. Freeman and Company.
Elementary Statistics Correlation and Regression.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
An alternative approach to testing for a linear association The Analysis of Variance (ANOVA) Table.
Multiple Regression and Model Building Chapter 15 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
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.
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Chapter 13 Multiple Regression
Business Statistics for Managerial Decision Farideh Dehkordi-Vakil.
June 30, 2008Stat Lecture 16 - Regression1 Inference for relationships between variables Statistics Lecture 16.
Lesson 14 - R Chapter 14 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Chapter 12 Simple Linear Regression n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n Testing.
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 + 
Introduction to Statistics for the Social Sciences SBS200, COMM200, GEOG200, PA200, POL200, or SOC200 Lecture Section 001, Fall 2015 Room 150 Harvill.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Multiple Regression Chapter 14.
BPS - 5th Ed. Chapter 231 Inference for Regression.
Lecture #25 Tuesday, November 15, 2016 Textbook: 14.1 and 14.3
Lecture 11: Simple Linear Regression
Inference for Regression (Chapter 14) A.P. Stats Review Topic #3
How regression works The Right Questions about Statistics:
Inference for Regression
CHAPTER 26: Inference for Regression
Multiple Regression Models
Unit 3 – Linear regression
Elementary Statistics: Looking at the Big Picture
Day 68 Agenda: 30 minute workday on Hypothesis Test --- you have 9 worksheets to use as practice Begin Ch 15 (last topic)
Inference for Regression
Presentation transcript:

July 1, 2008Lecture 17 - Regression Testing1 Testing Relationships between Variables Statistics Lecture 17

July 1, 2008Lecture 17 - Regression Testing2 Administrative Notes Homework 5 due tomorrow Lecture on Wednesday will be review of entire course

July 1, 2008Lecture 17 - Regression Testing3 Final Exam Thursday from 10:40-12:10 It’ll be right here in this room Calculators are definitely needed! Single 8.5 x 11 cheat sheet (two-sided) allowed I’ve put a sample final on the course website

July 1, 2008Lecture 17 - Regression Testing4 Outline Review of Regression coefficients Hypothesis Tests Confidence Intervals Examples

July 1, 2008Lecture 17 - Regression Testing5 Two Continuous Variables Visually summarize the relationship between two continuous variables with a scatterplot Numerically, we focus on best fit line (regression) Education and MortalityDraft Order and Birthday Mortality = · EducationDraft Order = · Birthday

June 30, 2008Stat Lecture 16 - Regression6 Best values for Regression Parameters The best fit line has these values for the regression coefficients: Also can estimate the average squared residual: Best estimate of slope  Best estimate of intercept 

July 1, 2008Lecture 17 - Regression Testing7 Significance of Regression Line Does the regression line show a significant linear relationship between the two variables? If there is not a linear relationship, then we would expect zero correlation (r = 0) So the slope b should also be zero Therefore, our test for a significant relationship will focus on testing whether our slope  is significantly different from zero H 0 :  = 0 versus H a :   0

June 30, 2008Stat Lecture 16 - Regression8 Linear Regression Best fit line is called Simple Linear Regression Model: Coefficients:  is the intercept and  is the slope Other common notation:  0 for intercept,  1 for slope Our Y variable is a linear function of the X variable but we allow for error (ε i ) in each prediction We approximate the error by using the residual Observed Y i Predicted Y i =  +  X i

June 30, 2008Stat Lecture 16 - Regression9 Test Statistic for Slope Our test statistic for the slope is similar in form to all the test statistics we have seen so far: The standard error of the slope SE(b) has a complicated formula that requires some matrix algebra to calculate We will not be doing this calculation manually because the JMP software does this calculation for us!

June 30, 2008Stat Lecture 16 - Regression10 Example: Education and Mortality

July 1, 2008Lecture 17 - Regression Testing11 Confidence Intervals for Coefficients JMP output also gives the information needed to make confidence intervals for slope and intercept 100·C % confidence interval for slope  : b +/- t n-2 * SE(b) The multiple t * comes from a t distribution with n-2 degrees of freedom 100·C % confidence interval for intercept  : a +/- t n-2 * SE(a) Usually, we are less interested in intercept  but it might be needed in some situations

July 1, 2008Lecture 17 - Regression Testing12 Confidence Intervals for Example We have n = 60, so our multiple t * comes from a t distribution with d.f. = 58. For a 95% C.I., t * = % confidence interval for slope  : ± 2.0*8.307 = (-54.2,-21.0) Note that this interval does not contain zero! 95 % confidence interval for intercept  : 1353± 2.0*91.42 = (1170,1536)

July 1, 2008Lecture 17 - Regression Testing13 Another Example: Draft Lottery Is the negative linear association we see between birthday and draft order statistically significant? p-value

July 1, 2008Lecture 17 - Regression Testing14 Another Example: Draft Lottery p-value < so we reject null hypothesis and conclude that there is a statistically significant linear relationship between birthday and draft order Statistical evidence that the randomization was not done properly! 95 % confidence interval for slope  : -.23±1.98*.05 = (-.33,-.13) Multiple t * = 1.98 from t distribution with n-2 = 363 d.f. Confidence interval does not contain zero, which we expected from our hypothesis test

July 1, 2008Lecture 17 - Regression Testing15 Dataset of 78 seventh-graders: relationship between IQ and GPA Clear positive association between IQ and grade point average Education Example

July 1, 2008Lecture 17 - Regression Testing16 Education Example Is the positive linear association we see between GPA and IQ statistically significant? p-value

July 1, 2008Lecture 17 - Regression Testing17 Education Example p-value < so we reject null hypothesis and conclude that there is a statistically significant positive relationship between IQ and GPA 95 % confidence interval for slope  :.101±1.99*.014 = (.073,.129) Multiple t * = 1.99 from t distribution with n-2 = 76 d.f. Confidence interval does not contain zero, which we expected from our hypothesis test

July 1, 2008Lecture 17 - Regression Testing18 Next Class - Lecture 18 Review of course material