S ECTION 9.1 Correlation Larson/Farber 4th ed. 1.

Slides:



Advertisements
Similar presentations
Hypothesis Testing Steps in Hypothesis Testing:
Advertisements

Describing Relationships Using Correlation and Regression
Chapter 10 Chi-Square Tests and the F- Distribution 1 Larson/Farber 4th ed.
Elementary Statistics Larson Farber 9 Correlation and Regression.
SIMPLE LINEAR REGRESSION
Correlation and Regression. Correlation What type of relationship exists between the two variables and is the correlation significant? x y Cigarettes.
Chapter 9: Correlation and Regression
10-2 Correlation A correlation exists between two variables when the values of one are somehow associated with the values of the other in some way. A.
Hypothesis Testing for Variance and Standard Deviation
Linear Regression Larson/Farber 4th ed. 1 Section 9.2.
Correlation and Regression
Section 7.3 Hypothesis Testing for the Mean (Small Samples) 2 Larson/Farber 4th ed.
Testing the Difference Between Means (Small Independent Samples)
Measures of Regression and Prediction Intervals
Correlation and Regression
Introduction to Linear Regression and Correlation Analysis
Chapter 11 Nonparametric Tests Larson/Farber 4th ed.
11 Chapter Nonparametric Tests © 2012 Pearson Education, Inc.
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Section 7.3 Hypothesis Testing for the Mean (  Unknown).
Correlation and Regression
Chapter Correlation and Regression 1 of 84 9 © 2012 Pearson Education, Inc. All rights reserved.
Correlation and Regression
Hypothesis Testing for the Mean (Small Samples)
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Correlation and Regression
Sections 9-1 and 9-2 Overview Correlation. PAIRED DATA Is there a relationship? If so, what is the equation? Use that equation for prediction. In this.
1 Chapter 9. Section 9-1 and 9-2. Triola, Elementary Statistics, Eighth Edition. Copyright Addison Wesley Longman M ARIO F. T RIOLA E IGHTH E DITION.
9.1 Correlation Key Concepts: –Scatter Plots –Correlation –Sample Correlation Coefficient, r –Hypothesis Testing for the Population Correlation Coefficient,
Hypothesis Testing for Proportions 1 Section 7.4.
Section 7.2 Hypothesis Testing for the Mean (Large Samples) Larson/Farber 4th ed.
Section 10.3 Comparing Two Variances Larson/Farber 4th ed1.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 12 Statistics.
Production Planning and Control. A correlation is a relationship between two variables. The data can be represented by the ordered pairs (x, y) where.
Section 7.4 Hypothesis Testing for Proportions Larson/Farber 4th ed.
Elementary Statistics Correlation and Regression.
Comparing Two Variances
Section 8.3 Testing the Difference Between Means (Dependent Samples)
Hypothesis Testing for the Mean (Small Samples)
GOODNESS OF FIT Larson/Farber 4th ed 1 Section 10.1.
SECTION 7.2 Hypothesis Testing for the Mean (Large Samples) 1 Larson/Farber 4th ed.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
1 Chapter 10 Correlation. Positive and Negative Correlation 2.
Chapter 9 Correlation and Regression.
Correlation and Regression. fourth lecture We will learn in this lecture: Correlation and Regression 1- Linear Correlation Coefficient of Pearson 2- Simple.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
381 Correlation and Regression-I QSCI 381 – Lecture 36 (Larson and Farber, Sect 9.1)
Measures of Association: Pairwise Correlation
Linear Regression 1 Section 9.2. Section 9.2 Objectives 2 Find the equation of a regression line Predict y-values using a regression equation.
Chapter 7 Calculation of Pearson Coefficient of Correlation, r and testing its significance.
1 Chapter 10 Correlation. 2  Finding that a relationship exists does not indicate much about the degree of association, or correlation, between two variables.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
Go to Table of Content Correlation Go to Table of Content Mr.V.K Malhotra, the marketing manager of SP pickles pvt ltd was wondering about the reasons.
Chapter Correlation and Regression 1 of 84 9 © 2012 Pearson Education, Inc. All rights reserved.
Section 9-1 – Correlation A correlation is a relationship between two variables. The data can be represented by ordered pairs (x,y) where x is the independent.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Rejection Regions and Critical Values Rejection region (or critical region) The range of values for which the null hypothesis is not probable. If a test.
Correlation and Regression
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chapter 7 Hypothesis Testing with One Sample.
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Correlation and Simple Linear Regression
Chapter 8 Hypothesis Testing with Two Samples.
Correlation and Simple Linear Regression
Correlation and Simple Linear Regression
Correlation and Regression
Simple Linear Regression and Correlation
Section 10-1 Correlation © 2012 Pearson Education, Inc. All rights reserved.
Correlation and Regression
Presentation transcript:

S ECTION 9.1 Correlation Larson/Farber 4th ed. 1

S ECTION 9.1 O BJECTIVES Introduce linear correlation, independent and dependent variables, and the types of correlation Find a correlation coefficient Test a population correlation coefficient ρ using a table Perform a hypothesis test for a population correlation coefficient ρ Distinguish between correlation and causation 2 Larson/Farber 4th ed.

C ORRELATION Correlation A relationship between two variables. The data can be represented by ordered pairs ( x, y ) x is the independent (or explanatory ) variable y is the dependent (or response ) variable 3 Larson/Farber 4th ed.

C ORRELATION 4 Larson/Farber 4th ed. x12345 y– 4– 2– 102 A scatter plot can be used to determine whether a linear (straight line) correlation exists between two variables. x 24 –2–2 – 4 y 2 6 Example:

T YPES OF C ORRELATION 5 Larson/Farber 4th ed. x y Negative Linear Correlation x y No Correlation x y Positive Linear Correlation x y Nonlinear Correlation As x increases, y tends to decrease. As x increases, y tends to increase.

E XAMPLE : C ONSTRUCTING A S CATTER P LOT A marketing manager conducted a study to determine whether there is a linear relationship between money spent on advertising and company sales. The data are shown in the table. Display the data in a scatter plot and determine whether there appears to be a positive or negative linear correlation or no linear correlation. 6 Larson/Farber 4th ed. Advertising expenses, ($1000), x Company sales ($1000), y

S OLUTION : C ONSTRUCTING A S CATTER P LOT 7 Larson/Farber 4th ed. x y Advertising expenses (in thousands of dollars) Company sales (in thousands of dollars) Appears to be a positive linear correlation. As the advertising expenses increase, the sales tend to increase.

C ORRELATION C OEFFICIENT Correlation coefficient A measure of the strength and the direction of a linear relationship between two variables. The symbol r represents the sample correlation coefficient. A formula for r is The population correlation coefficient is represented by ρ (rho). 8 Larson/Farber 4th ed. n is the number of data pairs

C ORRELATION C OEFFICIENT The range of the correlation coefficient is -1 to 1. 9 Larson/Farber 4th ed. 0 1 If r = -1 there is a perfect negative correlation If r = 1 there is a perfect positive correlation If r is close to 0 there is no linear correlation

L INEAR C ORRELATION 10 Larson/Farber 4th ed. Strong negative correlation Weak positive correlation Strong positive correlation Nonlinear Correlation x y x y x y x y r =  0.91 r = 0.88 r = 0.42r = 0.07

C ALCULATING A C ORRELATION C OEFFICIENT 11 Larson/Farber 4th ed. 1.Find the sum of the x- values. 2.Find the sum of the y- values. 3.Multiply each x-value by its corresponding y-value and find the sum. In WordsIn Symbols

C ALCULATING A C ORRELATION C OEFFICIENT 12 Larson/Farber 4th ed. 4.Square each x-value and find the sum. 5.Square each y-value and find the sum. 6.Use these five sums to calculate the correlation coefficient. In WordsIn Symbols

E XAMPLE : F INDING THE C ORRELATION C OEFFICIENT Calculate the correlation coefficient for the advertising expenditures and company sales data. What can you conclude? 13 Larson/Farber 4th ed. Advertising expenses, ($1000), x Company sales ($1000), y

S OLUTION : F INDING THE C ORRELATION C OEFFICIENT 14 Larson/Farber 4th ed. xyxyx2x2 y2y ,625 33,856 48,400 57,600 32,400 33,856 34,596 46,225 Σx = 15.8Σy = 1634Σxy = Σx 2 = 32.44Σy 2 = 337,558

S OLUTION : F INDING THE C ORRELATION C OEFFICIENT 15 Larson/Farber 4th ed. Σx = 15.8Σy = 1634Σxy = Σx 2 = 32.44Σy 2 = 337,558 r ≈ suggests a strong positive linear correlation. As the amount spent on advertising increases, the company sales also increase.

U SING A T ABLE TO T EST A P OPULATION C ORRELATION C OEFFICIENT Ρ Once the sample correlation coefficient r has been calculated, we need to determine whether there is enough evidence to decide that the population correlation coefficient ρ is significant at a specified level of significance. Use Table 11 in Appendix B. If | r | is greater than the critical value, there is enough evidence to decide that the correlation coefficient ρ is significant. 16 Larson/Farber 4th ed.

U SING A T ABLE TO T EST A P OPULATION C ORRELATION C OEFFICIENT Ρ Determine whether ρ is significant for five pairs of data ( n = 5) at a level of significance of α = If | r | > 0.959, the correlation is significant. Otherwise, there is not enough evidence to conclude that the correlation is significant. 17 Larson/Farber 4th ed. Number of pairs of data in sample level of significance

U SING A T ABLE TO T EST A P OPULATION C ORRELATION C OEFFICIENT Ρ 18 Larson/Farber 4th ed. 1.Determine the number of pairs of data in the sample. 2.Specify the level of significance. 3.Find the critical value. Determine n. Identify . Use Table 11 in Appendix B. In WordsIn Symbols

U SING A T ABLE TO T EST A P OPULATION C ORRELATION C OEFFICIENT Ρ 19 Larson/Farber 4th ed. In WordsIn Symbols 4.Decide if the correlation is significant. 5.Interpret the decision in the context of the original claim. If |r| > critical value, the correlation is significant. Otherwise, there is not enough evidence to support that the correlation is significant.

E XAMPLE : U SING A T ABLE TO T EST A P OPULATION C ORRELATION C OEFFICIENT Ρ Using the Old Faithful data, you used 25 pairs of data to find r ≈ Is the correlation coefficient significant? Use α = Larson/Farber 4th ed. Duration x Time, y Duration x Time, y

S OLUTION : U SING A T ABLE TO T EST A P OPULATION C ORRELATION C OEFFICIENT Ρ n = 25, α = 0.05 |r| ≈ > There is enough evidence at the 5% level of significance to conclude that there is a significant linear correlation between the duration of Old Faithful’s eruptions and the time between eruptions. 21 Larson/Farber 4th ed.

H YPOTHESIS T ESTING FOR A P OPULATION C ORRELATION C OEFFICIENT Ρ A hypothesis test can also be used to determine whether the sample correlation coefficient r provides enough evidence to conclude that the population correlation coefficient ρ is significant at a specified level of significance. A hypothesis test can be one-tailed or two-tailed. 22 Larson/Farber 4th ed.

H YPOTHESIS T ESTING FOR A P OPULATION C ORRELATION C OEFFICIENT Ρ Left-tailed test Right-tailed test Two-tailed test 23 Larson/Farber 4th ed. H 0 : ρ  0 (no significant negative correlation) H a : ρ < 0 (significant negative correlation) H 0 : ρ  0 (no significant positive correlation) H a : ρ > 0 (significant positive correlation) H 0 : ρ = 0 (no significant correlation) H a : ρ  0 (significant correlation)

T HE T -T EST FOR THE C ORRELATION C OEFFICIENT Can be used to test whether the correlation between two variables is significant. The test statistic is r The standardized test statistic follows a t -distribution with d.f. = n – 2. In this text, only two-tailed hypothesis tests for ρ are considered. 24 Larson/Farber 4th ed.

U SING THE T -T EST FOR Ρ 25 Larson/Farber 4th ed. 1.State the null and alternative hypothesis. 2.Specify the level of significance. 3.Identify the degrees of freedom. 4.Determine the critical value(s) and rejection region(s). State H 0 and H a. Identify . d.f. = n – 2. Use Table 5 in Appendix B. In WordsIn Symbols

U SING THE T -T EST FOR Ρ 26 Larson/Farber 4th ed. 5.Find the standardized test statistic. 6.Make a decision to reject or fail to reject the null hypothesis. 7.Interpret the decision in the context of the original claim. In WordsIn Symbols If t is in the rejection region, reject H 0. Otherwise fail to reject H 0.

E XAMPLE : T -T EST FOR A C ORRELATION C OEFFICIENT Previously you calculated r ≈ Test the significance of this correlation coefficient. Use α = Larson/Farber 4th ed. Advertising expenses, ($1000), x Company sales ($1000), y

t S OLUTION : T -T EST FOR A C ORRELATION C OEFFICIENT 28 Larson/Farber 4th ed. H 0 : H a :   d.f. = Rejection Region: Test Statistic: – 2 = 6 ρ = 0 ρ ≠ Decision: At the 5% level of significance, there is enough evidence to conclude that there is a significant linear correlation between advertising expenses and company sales. Reject H 0

C ORRELATION AND C AUSATION The fact that two variables are strongly correlated does not in itself imply a cause-and- effect relationship between the variables. If there is a significant correlation between two variables, you should consider the following possibilities. 1. Is there a direct cause-and-effect relationship between the variables? Does x cause y ? 29 Larson/Farber 4th ed.

C ORRELATION AND C AUSATION 2. Is there a reverse cause-and-effect relationship between the variables? Does y cause x ? 3. Is it possible that the relationship between the variables can be caused by a third variable or by a combination of several other variables? 4. Is it possible that the relationship between two variables may be a coincidence? 30 Larson/Farber 4th ed.

S ECTION 9.1 S UMMARY Introduced linear correlation, independent and dependent variables and the types of correlation Found a correlation coefficient Tested a population correlation coefficient ρ using a table Performed a hypothesis test for a population correlation coefficient ρ Distinguished between correlation and causation 31 Larson/Farber 4th ed.