The correlation coefficient, r, tells us about strength (scatter) and direction of the linear relationship between two quantitative variables. In addition,

Slides:



Advertisements
Similar presentations
Chapter 3 Examining Relationships Lindsey Van Cleave AP Statistics September 24, 2006.
Advertisements

AP Statistics Section 3.2 C Coefficient of Determination
AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Chapter 6: Exploring Data: Relationships Lesson Plan
Describing the Relation Between Two Variables
CHAPTER 3 Describing Relationships
Correlation and Regression. Relationships between variables Example: Suppose that you notice that the more you study for an exam, the better your score.
Introduction to Linear Regression.  You have seen how to find the equation of a line that connects two points.
Haroon Alam, Mitchell Sanders, Chuck McAllister- Ashley, and Arjun Patel.
Regression, Residuals, and Coefficient of Determination Section 3.2.
Linear Regression Analysis
1.5 Scatter Plots and Least-Squares Lines
Objectives (BPS chapter 5)
Linear Regression.
Relationship of two variables
Chapter 3: Examining relationships between Data
Relationships Regression BPS chapter 5 © 2006 W.H. Freeman and Company.
Relationships Regression BPS chapter 5 © 2006 W.H. Freeman and Company.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Correlation tells us about strength (scatter) and direction of the linear relationship between two quantitative variables. In addition, we would like to.
Scatterplot and trendline. Scatterplot Scatterplot explores the relationship between two quantitative variables. Example:
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 4 Section 2 – Slide 1 of 20 Chapter 4 Section 2 Least-Squares Regression.
The correlation coefficient, r, tells us about strength (scatter) and direction of the linear relationship between two quantitative variables. In addition,
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.2 Least-Squares.
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.
Chapter 5 Regression. u Objective: To quantify the linear relationship between an explanatory variable (x) and response variable (y). u We can then predict.
Association between 2 variables We've described the distribution of 1 variable - but what if 2 variables are measured on the same individual? Examples?
Correlation tells us about strength (scatter) and direction of the linear relationship between two quantitative variables. In addition, we would like to.
The correlation coefficient, r, tells us about strength (scatter) and direction of the linear relationship between two quantitative variables. In addition,
Lecture 5 Chapter 4. Relationships: Regression Student version.
Chapter 2 Examining Relationships.  Response variable measures outcome of a study (dependent variable)  Explanatory variable explains or influences.
Correlation/Regression - part 2 Consider Example 2.12 in section 2.3. Look at the scatterplot… Example 2.13 shows that the prediction line is given by.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 3: Describing Relationships Section 3.2 Least-Squares Regression.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 3 Association: Contingency, Correlation, and Regression Section 3.3 Predicting the Outcome.
Residuals Recall that the vertical distances from the points to the least-squares regression line are as small as possible.  Because those vertical distances.
CHAPTER 3 Describing Relationships
Chapter 8 Linear Regression. Fat Versus Protein: An Example 30 items on the Burger King menu:
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
AP STATISTICS LESSON 3 – 3 (DAY 2) The role of r 2 in regression.
CHAPTER 5: Regression ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Describing Relationships. Least-Squares Regression  A method for finding a line that summarizes the relationship between two variables Only in a specific.
Lecture 9 Sections 3.3 Objectives:
4. Relationships: Regression
4. Relationships: Regression
Statistics 101 Chapter 3 Section 3.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Regression and Residual Plots
Coefficient of Determination
AP Stats: 3.3 Least-Squares Regression Line
Least-Squares Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Objectives (IPS Chapter 2.3)
Least-Squares Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Algebra Review The equation of a straight line y = mx + b
9/27/ A Least-Squares Regression.
Association between 2 variables
Correlation/Regression - part 2
CHAPTER 3 Describing Relationships
Presentation transcript:

The correlation coefficient, r, tells us about strength (scatter) and direction of the linear relationship between two quantitative variables. In addition, we would like to have a numerical description ( model ) of how both variables vary together. For instance, is one variable increasing faster than the other one? And we would like to make predictions based on that numerical description. The relationship above looks linear... But which line best describes our data?

The regression line The least-squares regression line is the unique line such that the sum of the squares of the vertical distances of the data points to the line is the smallest possible. ˆ y  0.125x  41.4

Definition, pg 114 Introduction to the Practice of Statistics, Sixth Edition © 2009 W.H. Freeman and Company This means that we don't have to calculate the squared distances to find the least-squares regression line for a data set -we can instead rely on the equations above. But typically, we use the TI-83 or JMP ("Fit Y by X") to do the tedious computations.

The equation completely describes the regression line. To plot the regression line you only need to choose two x values, put them into the prediction equation, calculate y, and draw the line that goes through those two points... or let JMP do it for you! Hint: The regression line always passes through the mean of x and y. The points you use for drawing the regression line are computed from the equation..125* = * = 46.1 So plot the points (450,14.85) & (700,46.1)  ˆ y  0.125x  41.4 X X

The distinction between explanatory and response variables is crucial in regression. If you exchange y for x in calculating the regression line, you will get a different line. Regression examines the distance of all points from the line in the y direction only. Hubble telescope data about galaxies moving away from earth: These two lines are the two regression lines calculated either correctly (x = distance, y = velocity, solid line) or incorrectly (x = velocity, y = distance, dotted line).

There is a positive linear relationship between the number of powerboats registered and the number of manatee deaths. (in 1000’s) The least squares regression line has the equation: Roughly 21 manatees. Thus if we were to limit the number of powerboat registrations to 500,000, what could we expect for the number of manatee deaths?  ˆ y  0.125x  41.4  ˆ y  0.125x  41.4

The least-squares regression line of y on x is the line that minimizes the sum of the squares of the vertical distances of the data points to the line. The equation of the l-s line is usually represented as = b 0 + b 1 x where = the predicted value of y b 0 = the intercept (predicted value of y when x=0) b 1 = the slope of the prediction line The correlation coefficient, r, is related to the l-s regression line as follows: the square of r (r 2 ) is equal to the fraction of the variation in the values of the response variable y that is explained by the least squares regression of y on x. (See next slide)

r=0.994, r-square=0.988r=0.921, r-square=0.848 Here are two plots of height (response) against age (explanatory) of some children. Notice how r 2 relates to the variation in heights...

Homework: –You should have read through section 2.3, carefully reviewing what you know about lines from your algebra course... –Do # , 2.62, 2.64, 2.66, 2.68, 2.73, Use JMP to make the scatterplots, describe the association you see between the two variables, and then let JMP calculate the intercept and slope and r- square for the regression line. Also, practice doing the above computations with the TI-83...