Chapter 12: Correlation and Linear Regression 1.

Slides:



Advertisements
Similar presentations
Chapter 12 Inference for Linear Regression
Advertisements

Chap 12-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 12 Simple Regression Statistics for Business and Economics 6.
Regression Inferential Methods
Objectives (BPS chapter 24)
Scatter Diagrams and Linear Correlation
Class 16: Thursday, Nov. 4 Note: I will you some info on the final project this weekend and will discuss in class on Tuesday.
LECTURE 3 Introduction to Linear Regression and Correlation Analysis
Chapter 10: Inferential for Regression 1.
Chapter 2: Looking at Data - Relationships /true-fact-the-lack-of-pirates-is-causing-global-warming/
Chapter 10 Simple Regression.
Correlation and Simple Regression Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
Regression Analysis. Unscheduled Maintenance Issue: l 36 flight squadrons l Each experiences unscheduled maintenance actions (UMAs) l UMAs costs $1000.
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Lecture 19: Tues., Nov. 11th R-squared (8.6.1) Review
Chapter Eighteen MEASURES OF ASSOCIATION
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
1 Review of Correlation A correlation coefficient measures the strength of a linear relation between two measurement variables. The measure is based on.
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Simple Linear Regression Analysis
Measures of Association Deepak Khazanchi Chapter 18.
Chapter 14 Introduction to Linear Regression and Correlation Analysis
Business Statistics - QBM117 Statistical inference for regression.
Correlation and Regression Analysis
Linear Regression/Correlation
Chapter 9 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 What is a Perfect Positive Linear Correlation? –It occurs when everyone has the.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
Correlation & Regression
Introduction to Linear Regression and Correlation Analysis
Inference for regression - Simple linear regression
Chapter 11 Simple Regression
CENTRE FOR INNOVATION, RESEARCH AND COMPETENCE IN THE LEARNING ECONOMY Session 2: Basic techniques for innovation data analysis. Part I: Statistical inferences.
Chapter 14 – Correlation and Simple Regression Math 22 Introductory Statistics.
September In Chapter 14: 14.1 Data 14.2 Scatterplots 14.3 Correlation 14.4 Regression.
2.4: Cautions about Regression and Correlation. Cautions: Regression & Correlation Correlation measures only linear association. Extrapolation often produces.
BPS - 3rd Ed. Chapter 211 Inference for Regression.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
Statistics for Business and Economics 7 th Edition Chapter 11 Simple Regression Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
Regression. Height Weight How much would an adult female weigh if she were 5 feet tall? She could weigh varying amounts – in other words, there is a distribution.
Regression. Height Weight Suppose you took many samples of the same size from this population & calculated the LSRL for each. Using the slope from each.
1 Chapter 10 Correlation and Regression 10.2 Correlation 10.3 Regression.
Chap 12-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 12 Introduction to Linear.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
Regression with Inference Notes: Page 231. Height Weight Suppose you took many samples of the same size from this population & calculated the LSRL for.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Inference for Regression Chapter 14. Linear Regression We can use least squares regression to estimate the linear relationship between two quantitative.
1 Regression Analysis The contents in this chapter are from Chapters of the textbook. The cntry15.sav data will be used. The data collected 15 countries’
Lecture 10 Chapter 23. Inference for regression. Objectives (PSLS Chapter 23) Inference for regression (NHST Regression Inference Award)[B level award]
REGRESSION DIAGNOSTICS Fall 2013 Dec 12/13. WHY REGRESSION DIAGNOSTICS? The validity of a regression model is based on a set of assumptions. Violation.
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
CHAPTER 5 Regression BPS - 5TH ED.CHAPTER 5 1. PREDICTION VIA REGRESSION LINE NUMBER OF NEW BIRDS AND PERCENT RETURNING BPS - 5TH ED.CHAPTER 5 2.
Review Lecture 51 Tue, Dec 13, Chapter 1 Sections 1.1 – 1.4. Sections 1.1 – 1.4. Be familiar with the language and principles of hypothesis testing.
Chapter 14: Inference for Regression. A brief review of chapter 4... (Regression Analysis: Exploring Association BetweenVariables )  Bi-variate data.
I271B QUANTITATIVE METHODS Regression and Diagnostics.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
BPS - 5th Ed. Chapter 231 Inference for Regression.
Regression Inference. Height Weight How much would an adult male weigh if he were 5 feet tall? He could weigh varying amounts (in other words, there is.
Midterm Review IN CLASS. Chapter 1: The Art and Science of Data 1.Recognize individuals and variables in a statistical study. 2.Distinguish between categorical.
Chapter 12: Correlation and Linear Regression 1.
AP Statistics Chapter 14 Section 1.
Chapter 12: Regression Diagnostics
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Chapter 14 Inference for Regression
Algebra Review The equation of a straight line y = mx + b
Inference for Regression
Review of Chapter 3 Examining Relationships
Presentation transcript:

Chapter 12: Correlation and Linear Regression 1

12.2 (Part A) Hypothesis Tests Goals Be able to determine if there is an association between the response and explanatory variables using the F test. Be able to perform inference on the slope (Confidence interval and hypothesis test). 2

Inference Association Intercept – b 0 is an unbiased estimator for  0 slope – b 1 is an unbiased estimator for  1 3

Hypothesis Tests F test or model utility test t test for the slope 4

LR Hypothesis Test: F-test Summary 5

Standard deviation for b 1 6

Confidence Interval for  1 7

LR Hypothesis Test: t test Summary Alternative Hypothesis P-Value Upper-tailed H a :  1 >  10 P(T ≥ t) Lower-tailed H a :  1 <  10 P(T ≤ t) two-sided H a :  1 ≠  10 2P(T ≥ |t|) 8

12.2 (Part B): Correlation - Goals Be able to use (and calculate) the correlation to describe the direction and strength of a linear relationship. Be able to recognize the properties of the correlation. Be able to determine when (and when not) you can use correlation to measure the association. 9

Sample Correlation The sample correlation, r, is measure of the strength of a linear relationship between two continuous variables. This is also called the Pearson’s Correlation Coefficient 10

Comments about Correlation 11

Properties of Correlation r > 0 ==> positive association r negative association r is always a number between -1 and 1. The strength of the linear relationship increases as |r| moves to 1. – |r| = 1 only occurs if there is a perfect linear relationship – r = 0 ==> x and y are uncorrelated. 12

Variety of Correlation Values 13

Value of r 14

Cautions about Correlation Correlation requires that both variables be quantitative. Correlation measures the strength of LINEAR relationships only. The correlation is not resistant to outliers. Correlation is not a complete summary of bivariate data. 15

Questions about Correlation Does a small r indicate that x and y are NOT associated? Does a large r indicate that x and y are linearly associated? 16

12.4: Regression Diagnostics - Goals Be able to state which assumptions can be validated by which graphs. Using the graphs, be able to determine if the assumptions are valid or not. – If the assumptions are not valid, use the graphs to determine what the problem is. Using the graphs, be able to determine if there are outliers and/or influential points. Be able to determine when (and when not) you can use linear regression and what you can use it for. 17

Assumptions for Linear Regression 1.SRS with the observations independent of each other. 2.The relationship is linear in the population. 3.The standard deviation of the response is constant. 4.The response, y, is normally distribution around the population regression line. 18

Concept of Residual Plot 19

Why a residual plot is useful? 1.It is easier to look at points relative to a horizontal line vs. a slanted line. 2.The scale is larger. 20

No Violations If there are no violations in assumptions, scatterplot should look like a horizontal band around zero with randomly distributed points and no discernible pattern. 21

Non-constant variance 22

Non-linearity 23

Outliers 24

Assumptions/Diagnostics for Linear Regression 25 AssumptionPlots used for diagnostics SRSNone linearScatterplot, residual plot Constant varianceScatterplot, residual plot Normality of residualsQQ-plot, histogram of residuals

Cautions about Correlation and Regression: Both describe linear relationship. Both are affected by outliers. Always PLOT the data. Beware of extrapolation. Beware of lurking variables Correlation (association) does NOT imply causation! 26

Cautions about Correlation and Regression: Extrapolation 27

12.3: Inferences Concerning the Mean Value and an Observed Value of Y for x = x* - Goals Be able to calculate the confidence interval for the mean value of Y for x = x*. Be able to calculate the confidence interval for the observed value of Y for x = x* (prediction interval) Be able to differentiate these two confidence intervals from each other and the confidence interval of the slope. 28

SE µ̂* 29

SE ŷ 30

Intervals 31

Example: Confidence/Prediction Band 32