Chapter 7 Summary Scatterplots, Association, and Correlation

Similar documents
Chapter 7. Scatterplots, Association, and Correlation. Copyright 2010 Pearson Education, Inc.

AP Statistics. Chapter 6 Scatterplots, Association, and Correlation

Chapter 6. September 17, Please pick up a calculator and take out paper and something to write with. Association and Correlation.

STA Module 5 Regression and Correlation. Learning Objectives. Learning Objectives (Cont.) Upon completing this module, you should be able to:

Announcement. Student Opinion of Courses and Teaching (SOCT) forms will be available for you during the dates indicated:

Chapter 8. Linear Regression. The Linear Model. Fat Versus Protein: An Example. The Linear Model (cont.) Residuals

Chapter 8. Linear Regression. Copyright 2010 Pearson Education, Inc.

appstats8.notebook October 11, 2016

AP Statistics S C A T T E R P L O T S, A S S O C I A T I O N, A N D C O R R E L A T I O N C H A P 6

Linear Regression. Linear Regression. Linear Regression. Did You Mean Association Or Correlation?

If the roles of the variable are not clear, then which variable is placed on which axis is not important.

3.1 Scatterplots and Correlation

1. Create a scatterplot of this data. 2. Find the correlation coefficient.

Chapter 7. Scatterplots, Association, and Correlation. Scatterplots & Correlation. Scatterplots & Correlation. Stat correlation

Chapter 27 Summary Inferences for Regression

Chapter 6 The Standard Deviation as a Ruler and the Normal Model

Looking at Data Relationships. 2.1 Scatterplots W. H. Freeman and Company

appstats27.notebook April 06, 2017

Chapter 18. Sampling Distribution Models. Copyright 2010, 2007, 2004 Pearson Education, Inc.

STA Why Sampling? Module 6 The Sampling Distributions. Module Objectives

Chapter 8. Linear Regression /71

Stat 20 Midterm 1 Review

Friday, September 21, 2018

STAB22 Statistics I. Lecture 7

Sampling Distribution Models. Central Limit Theorem

Chapter 1 Review of Equations and Inequalities

Sampling Distribution Models. Chapter 17

Warm-up Using the given data Create a scatterplot Find the regression line

Correlation and regression

Unit 6 - Introduction to linear regression

Chapter 3: Examining Relationships

LECTURE 15: SIMPLE LINEAR REGRESSION I

Chapter 5 Least Squares Regression

AP STATISTICS Name: Period: Review Unit IV Scatterplots & Regressions

Probability Distributions

Chapter 6 Scatterplots, Association and Correlation

HOLLOMAN S AP STATISTICS BVD CHAPTER 08, PAGE 1 OF 11. Figure 1 - Variation in the Response Variable

Regression, part II. I. What does it all mean? A) Notice that so far all we ve done is math.

Big Data Analysis with Apache Spark UC#BERKELEY

CHAPTER 3 Describing Relationships

Important note: Transcripts are not substitutes for textbook assignments. 1

Objectives. 2.3 Least-squares regression. Regression lines. Prediction and Extrapolation. Correlation and r 2. Transforming relationships

- a value calculated or derived from the data.

AP Statistics L I N E A R R E G R E S S I O N C H A P 7

The following are generally referred to as the laws or rules of exponents. x a x b = x a+b (5.1) 1 x b a (5.2) (x a ) b = x ab (5.

SCATTERPLOTS. We can talk about the correlation or relationship or association between two variables and mean the same thing.

AP Statistics. Chapter 9 Re-Expressing data: Get it Straight

PS2: Two Variable Statistics

Relationships between variables. Association Examples: Smoking is associated with heart disease. Weight is associated with height.

Information Sources. Class webpage (also linked to my.ucdavis page for the class):

Chapter 14. From Randomness to Probability. Copyright 2012, 2008, 2005 Pearson Education, Inc.

Describing Bivariate Relationships

Unit 6 - Simple linear regression

Scatterplots. 3.1: Scatterplots & Correlation. Scatterplots. Explanatory & Response Variables. Section 3.1 Scatterplots and Correlation

AP Stats ~ 3A: Scatterplots and Correlation OBJECTIVES:

Relationships Regression

Analyzing Bivariate Data: Interval/Ratio. Today s Content

5.1 Bivariate Relationships

Lecture 4 Scatterplots, Association, and Correlation

Section 5.4. Ken Ueda

Lecture 4 Scatterplots, Association, and Correlation

The following formulas related to this topic are provided on the formula sheet:

MAC Module 2 Modeling Linear Functions. Rev.S08

BIVARIATE DATA data for two variables

Regression and correlation. Correlation & Regression, I. Regression & correlation. Regression vs. correlation. Involve bivariate, paired data, X & Y

Example: Can an increase in non-exercise activity (e.g. fidgeting) help people gain less weight?

Chapter 3: Describing Relationships

- measures the center of our distribution. In the case of a sample, it s given by: y i. y = where n = sample size.

1-1. Chapter 1. Sampling and Descriptive Statistics by The McGraw-Hill Companies, Inc. All rights reserved.

Test 3A AP Statistics Name:

Probability and Independence Terri Bittner, Ph.D.

PHY 101L - Experiments in Mechanics

1 Least Squares Estimation - multiple regression.

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

Analysing data: regression and correlation S6 and S7

Chapter 7. Scatterplots, Association, and Correlation

MA 1125 Lecture 15 - The Standard Normal Distribution. Friday, October 6, Objectives: Introduce the standard normal distribution and table.

Module 03 Lecture 14 Inferential Statistics ANOVA and TOI

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1

Recall, Positive/Negative Association:

Conditions for Regression Inference:

Chapter 7 Linear Regression

Scatterplots and Correlations

Bivariate Data Summary

HOMEWORK (due Wed, Jan 23): Chapter 3: #42, 48, 74

Scatterplots. STAT22000 Autumn 2013 Lecture 4. What to Look in a Scatter Plot? Form of an Association

One sided tests. An example of a two sided alternative is what we ve been using for our two sample tests:

9. Linear Regression and Correlation

Täby friskola log. We re eagerly waiting for the results. Will we advance in Sigma? It s silent. WE RE IN THE SEMIFINAL! she yells.

Chapter 15. Probability Rules! Copyright 2012, 2008, 2005 Pearson Education, Inc.

Business Statistics. Lecture 9: Simple Regression

Performance of fourth-grade students on an agility test

AP Statistics Two-Variable Data Analysis

Nov 13 AP STAT. 1. Check/rev HW 2. Review/recap of notes 3. HW: pg #5,7,8,9,11 and read/notes pg smartboad notes ch 3.

Objectives. 2.1 Scatterplots. Scatterplots Explanatory and response variables. Interpreting scatterplots Outliers

Take the Anxiety Out of Word Problems

Essential Statistics. Gould Ryan Wong

Position and Displacement

Review of the Normal Distribution

WSMA Algebra - Expressions Lesson 14

Transcription:

Chapter 7 Summary Scatterplots, Association, and Correlation What have we learned? We examine scatterplots for direction, form, strength, and unusual features. Although not every relationship is linear, when the scatterplot is straight enough, the correlation coefficient is a useful numerical summary. The sign of the correlation tells us the direction of the association. The magnitude of the correlation tells us the strength of a linear association. Correlation has no units, so shifting or scaling the data, standardizing, or swapping the variables has no effect on the numerical value. Doing Statistics right means that we have to Think about whether our choice of methods is appropriate. Before finding or talking about a correlation, check the Straight Enough Condition. Watch out for outliers! Don t assume that a high correlation or strong association is evidence of a cause-and-effect relationship beware of lurking variables! Looking at Scatterplots Scatterplots may be the most common and most effective display for data. In a scatterplot, you can see patterns, trends, relationships, and even the occasional extraordinary value sitting apart from the others. Scatterplots are the best way to start observing the relationship and the ideal way to picture associations between two quantitative variables. When looking at scatterplots, we will look for direction, form, strength, and unusual features. Direction: A pattern that runs from the upper left to the lower right is said to have a negative direction. A trend running the other way has a positive direction. Figure 7.1 from the text shows a positive association between the year since 1900 and the % of people who say they would vote for a woman president. As the years have passed, the percentage who would vote for a woman has increased. Figure 7.2 from the text shows a negative association between peak period freeway speed and cost per person of traffic delays. As the peak period freeway speed increases, the cost per person of traffic delays decreases. AP Statistics Page 1 2007

Looking at Scatterplots Form: If there is a straight line (linear) relationship, it will appear as a cloud or swarm of points stretched out in a generally consistent, straight form. If the relationship isn t straight, but curves gently, while still increasing or decreasing steadily, we can often find ways to make it more nearly straight. If the relationship curves sharply, the methods of this book cannot really help us. Strength: At one extreme, the points appear to follow a single stream (whether straight, curved, or bending all over the place). At the other extreme, the points appear as a vague cloud with no discernable trend or pattern: Note: we will quantify the amount of scatter soon. Unusual features: Look for the unexpected. Often the most interesting thing to see in a scatterplot is the thing you never thought to look for. One example of such a surprise is an outlier standing away from the overall pattern of the scatterplot. Clusters or subgroups should also raise questions. Roles for Variables It is important to determine which of the two quantitative variables goes on the x-axis and which on the y-axis. This determination is made based on the roles played by the variables. When the roles are clear, the explanatory or predictor variable goes on the x-axis, and the response variable goes on the y-axis. The roles that we choose for variables are more about how we think about them rather than about the variables themselves. Just placing a variable on the x-axis doesn t necessarily mean that it explains or predicts anything. And the variable on the y-axis may not respond to it in any way. AP Statistics Page 2 2007

Correlation Data collected from students in Statistics classes included their heights (in inches) and weights (in pounds) Here we see a positive association and a fairly straight form, although there seems to be a high outlier. How strong is the association between weight and height of Statistics students? If we had to put a number on the strength, we would not want it to depend on the units we used. A scatterplot of heights (in centimeters) and weights (in kilograms) doesn t change the shape of the pattern Since the units don t matter, why not remove them altogether? We could standardize both variables and write the coordinates of a point as (z x, z y ). Here is a scatterplot of the standardized weights and heights: Note that the underlying linear pattern seems steeper in the standardized plot than in the original scatterplot. That s because we made the scales of the axes the same. Equal scaling gives a neutral way of drawing the scatterplot and a fairer impression of the strength of the association. Some points (those in green) strengthen the impression of a positive association between height and weight. Other points (those in red) tend to weaken the positive association. Points with z-scores of zero (those in blue) don t vote either way. The correlation coefficient (r) gives us a numerical measurement of the strength of the linear relationship between the explanatory and response variables. zz x y r n 1 For the students heights and weights, the correlation is 0.644. What does this mean in terms of strength? We ll address this shortly. Correlation Conditions Correlation measures the strength of the linear association between two quantitative variables. Before you use correlation, you must check several conditions: Quantitative Variables Condition Straight Enough Condition Outlier Condition Quantitative Variables Condition: Correlation applies only to quantitative variables. Don t apply correlation to categorical data masquerading as quantitative. Check that you know the variables units and what they measure. AP Statistics Page 3 2007

Correlation Conditions (cont.) Straight Enough Condition: You can calculate a correlation coefficient for any pair of variables. But correlation measures the strength only of the linear association, and will be misleading if the relationship is not linear. Outlier Condition: Outliers can distort the correlation dramatically. An outlier can make an otherwise small correlation look big or hide a large correlation. It can even give an otherwise positive association a negative correlation coefficient (and vice versa). When you see an outlier, it s often a good idea to report the correlations with and without the point. Correlation Properties The sign of a correlation coefficient gives the direction of the association. Correlation is always between -1 and +1. Correlation can be exactly equal to -1 or +1, but these values are unusual in real data because they mean that all the data points fall exactly on a single straight line. A correlation near zero corresponds to a weak linear association. Correlation treats x and y symmetrically: The correlation of x with y is the same as the correlation of y with x. Correlation has no units. Correlation is not affected by changes in the center or scale of either variable. Correlation depends only on the z-scores, and they are unaffected by changes in center or scale. Correlation measures the strength of the linear association between the two variables. Variables can have a strong association but still have a small correlation if the association isn t linear. Correlation is sensitive to outliers. A single outlying value can make a small correlation large or make a large one small. Correlation Tables It is common in some fields to compute the correlations between each pair of variables in a collection of variables and arrange these correlations in a table. AP Statistics Page 4 2007

*Straightening Scatterplots Straight line relationships are the ones that we can measure with correlation. When a scatterplot shows a bent from that consistently increases or decreases, we can often straighten the form of the plot by re-expressing one or both variables. A scatterplot of f/stop vs. shutter speed shows a bent relationship: Re-expressing f/stop speed by squaring straightens the relationship: What Can Go Wrong? Don t say correlation when you mean association. o More often than not, people say correlation when they mean association. o The word correlation should be reserved for measuring the strength and direction of the linear relationship between two quantitative variables. Don t correlate categorical variables. o Be sure to check the Quantitative Variables Condition. Be sure the association is linear. o There may be a strong association between two variables that have a nonlinear association. Beware of outliers. o Even a single outlier can dominate the correlation value. o Make sure to check the Outlier Condition. Don t confuse correlation with causation. o Not every relationship is one of cause and effect. Watch out for lurking variables. o A hidden variable that stands behind a relationship and determines it by simultaneously affecting the other two variables is called a lurking variable. AP Statistics Page 5 2007