HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.1.

Slides:



Advertisements
Similar presentations
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.2.
Advertisements

Significance Testing Chapter 13 Victor Katch Kinesiology.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
The Simple Regression Model
SIMPLE LINEAR REGRESSION
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.
SIMPLE LINEAR REGRESSION
STATISTICS ELEMENTARY C.M. Pascual
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Simple Linear Regression Analysis Chapter 13.
SIMPLE LINEAR REGRESSION
Correlation and Regression
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 14 Analysis.
Correlation and Regression
Chapter Correlation and Regression 1 of 84 9 © 2012 Pearson Education, Inc. All rights reserved.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.1.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.4.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.2.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.1.
Correlation.
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.
Is there a relationship between the lengths of body parts ?
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.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 10-1 Review and Preview.
14 Elements of Nonparametric Statistics
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.7.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.3.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.2.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.6.
Section 12.1 Scatter Plots and Correlation HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems,
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.4.
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.
Production Planning and Control. A correlation is a relationship between two variables. The data can be represented by the ordered pairs (x, y) where.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 8.2.
Section 12.2 Linear Regression HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Section 10.2 Hypothesis Testing for Means (Small Samples) HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 13 Multiple Regression Section 13.3 Using Multiple Regression to Make Inferences.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 10.17:
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.3.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.1.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.3.
Chapter 9 Correlation and Regression.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.2.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Chapter 10 Correlation and Regression 10-2 Correlation 10-3 Regression.
Chapter 7 Calculation of Pearson Coefficient of Correlation, r and testing its significance.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 8.3.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.5.
Chapter Correlation and Regression 1 of 84 9 © 2012 Pearson Education, Inc. All rights reserved.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
Slide 1 Copyright © 2004 Pearson Education, Inc. Chapter 10 Correlation and Regression 10-1 Overview Overview 10-2 Correlation 10-3 Regression-3 Regression.
Correlation and Regression
Hypothesis Testing – Two Population Variances
Scatter Plots and Correlation
Review and Preview and Correlation
Hypothesis Testing for Population Means (s Unknown)
Elementary Statistics
Elementary Statistics
Chapter 10 Correlation and Regression
SIMPLE LINEAR REGRESSION
Presentation transcript:

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.1 Scatter Plots and Correlation

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Objectives o Construct and interpret scatter plots. o Calculate and interpret the correlation between two variables.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Table Table 12.2: Sample of NFL Quarterbacks (2011–2012 Season) Number of Passing Touchdowns 2012 Base Salary (in Millions of Dollars) Quarterback Rating Drew Brees Michael Vick Philip Rivers Tony Romo Aaron Rodgers Jay Cutler Alex Smith

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Table (cont.) Table 12.2: Sample of NFL Quarterbacks (2011–2012 Season) Eli Manning Tim Tebow Tom Brady Source: Yahoo! Sports. “NFL - Statistics by Position.” =season_20 11&sort=49&timeframe=All (20 May 2012). Source: Spotrac.com. “NFL Player Contracts, Salaries, and Transactions.” (2 Oct. 2012).

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.1: Creating a Scatter Plot to Identify Trends in Data Use the data from Table 12.2 to produce a scatter plot that shows the relationship between the base salary of an NFL quarterback and the number of touchdowns the quarterback has thrown in one season. Solution We might expect for the number of touchdowns a quarterback throws in one season to influence his salary. Taking this into consideration, we will place the number of touchdowns on the x-axis and the base salary on the y-axis.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.1: Creating a Scatter Plot to Identify Trends in Data (cont.)

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.1: Creating a Scatter Plot to Identify Trends in Data (cont.) Looking at this scatter plot, we do not see a linear pattern. Actually, no pattern is evident. This probably indicates that these two variables do not have a relationship after all.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.2: Creating a Scatter Plot to Identify Trends in Data Use the data in Table 12.2 to produce a scatter plot that shows the relationship between the number of touchdowns thrown in one season and the corresponding quarterback rating for the given sample of NFL quarterbacks. Solution In this case, we would expect that the number of touchdowns thrown by a quarterback does influence that quarterback’s rating, since number of touchdowns is one of many factors used to determine the quarterback rating.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.2: Creating a Scatter Plot to Identify Trends in Data (cont.) Hence, the logical way to label the axes is to place the number of passing touchdowns on the x-axis and the quarterback rating on the y-axis.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.2: Creating a Scatter Plot to Identify Trends in Data (cont.) Notice that the points tend to go up from left to right, and fall close to a straight line. This pattern can be described as a linear pattern with a positive slope.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.3: Determining Whether a Scatter Plot Would Have a Positive Slope, Negative Slope, or Not Follow a Straight-Line Pattern Determine whether the points in a scatter plot for the two variables are likely to have a positive slope, negative slope, or not follow a straight-line pattern. a. The number of hours you study for an exam and the score you make on that exam b. The price of a used car and the number of miles on the odometer c. The pressure on a gas pedal and the speed of the car d. Shoe size and IQ for adults

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.3: Determining Whether a Scatter Plot Would Have a Positive Slope, Negative Slope, or Not Follow a Straight-Line Pattern (cont.) Solution a. As the number of hours you study for an exam increases, the score you receive on that exam is usually higher. Thus, the scatter plot would have a positive slope. b. As the number of miles on the odometer of a used car increases, the price usually decreases. Thus, the scatter plot would have a negative slope.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.3: Determining Whether a Scatter Plot Would Have a Positive Slope, Negative Slope, or Not Follow a Straight-Line Pattern (cont.) c. The more you push on the gas pedal, the faster the car will go. Thus, the scatter plot would have a positive slope. d. Common sense suggests that there is not a relationship, linear or otherwise, between a person’s IQ and his or her shoe size.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Scatter Plots and Correlation The Pearson correlation coefficient, , is the parameter that measures the strength of a linear relationship between two quantitative variables in a population. The correlation coefficient for a sample is denoted by r. It always takes a value between −1 and 1, inclusive.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Scatter Plots and Correlation Pearson Correlation Coefficient The Pearson correlation coefficient for paired data from a sample is given by where n is the number of data pairs in the sample, x i is the i th value of the explanatory variable, and y i is the i th value of the response variable.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.4: Calculating the Correlation Coefficient Using a TI-83/84 Plus Calculator Calculate the correlation coefficient, r, for the data from Table 12.2 relating touchdowns thrown and base salaries. Solution The data we need from Table 12.2 are reproduced in the following table.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.4: Calculating the Correlation Coefficient Using a TI-83/84 Plus Calculator (cont.) NFL Quarterbacks Number of Passing Touchdowns Base Salary (in Millions of Dollars)

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.4: Calculating the Correlation Coefficient Using a TI-83/84 Plus Calculator (cont.) Let’s enter these data into our calculator. Press. Select option 1:Edit. Enter the values for number of touchdowns (x) in L1 and the values for base salary (y) in L2. Press. Choose CALC. Choose option 4:LinReg(ax+b). Press twice.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.4: Calculating the Correlation Coefficient Using a TI-83/84 Plus Calculator (cont.) From the scatter plot, we would expect  r  to be close to 0. The calculator confirms that the correlation coefficient for these two variables is r ≈  0.251, indicating a weak negative relationship, if any relationship exists at all.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.5: Calculating the Correlation Coefficient Using a TI-83/84 Plus Calculator Calculate the correlation coefficient, r, for the data from Table 12.2 relating touchdowns thrown and quarterback ratings. Solution The data we need from Table 12.2 are reproduced in the following table.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.5: Calculating the Correlation Coefficient Using a TI-83/84 Plus Calculator (cont.) NFL Quarterbacks Number of Passing Touchdowns Quarterback Rating

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.5: Calculating the Correlation Coefficient Using a TI-83/84 Plus Calculator (cont.) Let’s enter these data into our calculator. Press. Select option 1:Edit. Enter the values for number of touchdowns (x) in L1 and the values for base salary (y) in L2. Press. Choose CALC. Choose option 4:LinReg(ax+b). Press twice.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.5: Calculating the Correlation Coefficient Using a TI-83/84 Plus Calculator (cont.) From the scatter plot, we would expect  r  to be close to 1. The calculator confirms that the correlation coefficient for these two variables is r ≈ Since the value is close to 1, this indicates a very strong positive correlation between the variables.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Testing the Correlation Coefficient for Significance Using Critical Values of the Pearson Correlation Coefficient to Determine the Significance of a Linear Relationship A sample correlation coefficient, r, is statistically significant if

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.6: Using a Table of Critical Values to Determine Significance of a Linear Relationship Use the critical values in Table I to determine if the correlation between the number of passing touchdowns and base salary from Example 12.4 is statistically significant. Use a 0.05 level of significance. Solution Begin by finding the critical value for  = 0.05 with n = 10 in Table I. Find the value in the table where the row for n = 10 intersects the column for  = 0.05.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.6: Using a Table of Critical Values to Determine Significance of a Linear Relationship (cont.) n  = 0.05  =

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.6: Using a Table of Critical Values to Determine Significance of a Linear Relationship (cont.) Thus, r  = Comparing this critical value to the absolute value of the correlation coefficient we found for the data in Example 12.4, we have < 0.632, and thus  r  < r . Therefore, the linear relationship between the variables is not statistically significant at the 0.05 level of significance. Thus, we do not have sufficient evidence, at the 0.05 level of significance, to conclude that a linear relationship exists between the number of passing touchdowns during the 2011–2012 season and the 2012 base salary of an NFL quarterback.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Testing the Correlation Coefficient for Significance Using Hypothesis Testing Testing Linear Relationships for Significance Significant Linear Relationship (Two-Tailed Test) H 0 :  = 0 (Implies that there is no significant linear relationship) H a :  ≠ 0 (Implies that there is a significant linear relationship)

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Testing the Correlation Coefficient for Significance Using Hypothesis Testing Testing Linear Relationships for Significance (cont.) Significant Negative Linear Relationship (Left-Tailed Test) H 0 :  ≥ 0 (Implies that there is no significant negative linear relationship) H a :  < 0 (Implies that there is a significant negative linear relationship)

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Testing the Correlation Coefficient for Significance Using Hypothesis Testing Testing Linear Relationships for Significance (cont.) Significant Positive Linear Relationship (Right-Tailed Test) H 0 :  ≤ 0 (Implies that there is no significant positive linear relationship) H a :  > 0 (Implies that there is a significant positive linear relationship)

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Testing the Correlation Coefficient for Significance Using Hypothesis Testing Test Statistic for a Hypothesis Test for a Correlation Coefficient The test statistic for testing the significance of the correlation coefficient is given by

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Testing the Correlation Coefficient for Significance Using Hypothesis Testing Test Statistic for a Hypothesis Test for a Correlation Coefficient (cont.) where r is the sample correlation coefficient and n is the number of data pairs in the sample. The number of degrees of freedom for the t-distribution of the test statistic is given by n  2.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Testing the Correlation Coefficient for Significance Using Hypothesis Testing Rejection Regions for Testing Linear Relationships Significant Linear Relationship (Two-Tailed Test) Reject the null hypothesis, H 0, if Significant Negative Linear Relationship (Left-Tailed Test) Reject the null hypothesis, H 0, if Significant Positive Linear Relationship (Right-Tailed Test) Reject the null hypothesis, H 0, if

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.7: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant Use a hypothesis test to determine if the linear relationship between the number of parking tickets a student receives during a semester and his or her GPA during the same semester is statistically significant at the 0.05 level of significance. Refer to the data presented in the following table. GPA and Number of Parking Tickets Number of Tickets GPA

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.7: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.) Solution Step 1: State the null and alternative hypotheses. We wish to test the claim that a significant linear relationship exists between the number of parking tickets a student receives during a semester and his or her GPA during the same semester. Thus, the hypotheses are stated as follows.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.7: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.) Step 2: Determine which distribution to use for the test statistic, and state the level of significance. We will use the t-test statistic presented previously in this section along with a significance level of  = 0.05 to perform this hypothesis test. Step 3: Gather data and calculate the necessary sample statistics. We need to begin by calculating the correlation coefficient, r.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.7: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.) Since it is possible to argue for either of these two variables affecting the other, let’s assign the number of tickets to be our explanatory variable (x), and thus the GPA as the response variable (y). Using a TI-83/84 Plus calculator, enter the values for the numbers of tickets (x) in L1 and the values for the GPAs (y) in L2. Then press and choose CALC and option 4:LinReg(ax+b). Press twice. We get r ≈  from the calculator and we know that n = 15.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.7: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.) Note that we rounded r to six decimal places, rather than three decimal places, to avoid additional rounding error in the following calculation of the test statistic. Substituting these values into the formula for the t-test statistic yields the following.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.7: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.) Step 4: Draw a conclusion and interpret the decision. We will use rejection regions in this example to draw the conclusion. Since the sample size for this example is 15, the number of degrees of freedom is n  2 = 15  2 = 13. Using the t ‑ distribution table or appropriate technology, we find the critical value for this test, So we will reject the null hypothesis, H 0, if  t  ≥

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.7: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.) Since  t  ≈ and ≥ 2.160, the test statistic falls in the rejection region. Thus, we reject the null hypothesis. Therefore, there is sufficient evidence at the 0.05 level of significance to support the claim that there is a significant linear relationship between the number of parking tickets a student receives during a semester and his or her GPA during the same semester.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.8: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant An online retailer wants to research the effectiveness of its mail-out catalogs. The company collects data from its eight largest markets with respect to the number of catalogs (in thousands) that were mailed out one fiscal year versus sales (in thousands of dollars) for that year. The results are as follows. Number of Catalogs Mailed and Sales Number of Catalogs (in Thousands) Sales (in Thousands) $126$98$255$394$107$122$334$403

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.8: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.) Use a hypothesis test to determine if the linear relationship between the number of catalogs mailed out and sales is statistically significant at the 0.01 level of significance. Solution Step 1: State the null and alternative hypotheses. We wish to test the claim that a significant linear relationship exists between the number of catalogs mailed out and the corresponding sales for that area.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.8: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.) Step 2: Determine which distribution to use for the test statistic and state the level of significance. We will use the t-test statistic with the given level of significance,  = 0.01.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.8: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.) Step 3: Gather data and calculate the necessary sample statistics. We first need to calculate the correlation coefficient, r. It is possible to infer that mailing a larger number of catalogs to a region will influence the number of sales in that region. Thus, the explanatory variable (x) will be the number of catalogs and the response variable (y) will be the sales. Using a TI-83/84 Plus calculator, enter the values for the numbers of catalogs mailed (x) in L1 and the sales values (y) in L2.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.8: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.) Then press and choose CALC and option 4:LinReg(ax+b). Press twice. From the calculator we see that r ≈ , and we know that n = 8. Note that we rounded r to six decimal places, rather than three decimal places, to avoid additional rounding error in the following calculation of the test statistic. Substituting these values into the equation for the test statistic, we have the following.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.8: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.)

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.8: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.) Step 4: Draw a conclusion and interpret the decision. We will use rejection regions to draw the conclusion. Since the sample size for this example is 8, the number of degrees of freedom is n  2 = 8  2 = 6. Using the t-distribution table or appropriate technology, we find the critical value for this test, So, we will reject the null hypothesis, H 0, if  t  ≥

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.8: Performing a Hypothesis Test to Determine if the Linear Relationship between Two Variables Is Significant (cont.) Since the value of the test statistic, t ≈ 1.431, is less than the critical value, we fail to reject the null hypothesis. Hence, there is not enough evidence at the 0.01 level of significance to support the claim that there is a significant linear relationship between the number of catalogs distributed in a particular area and the corresponding sales in that area.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Coefficient of Determination The coefficient of determination, r 2, is a measure of the proportion of the variation in the response variable (y) that can be associated with the variation in the explanatory variable (x).

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.9: Calculating and Interpreting the Coefficient of Determination If the correlation coefficient for the relationship between the numbers of rooms in houses and their prices is r = 0.65, how much of the variation in house prices can be associated with the variation in the numbers of rooms in the houses? Solution Recall that the coefficient of determination tells us the amount of variation in the response variable (house price) that is associated with the variation in the explanatory variable (number of rooms).

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.9: Calculating and Interpreting the Coefficient of Determination (cont.) Thus, the coefficient of determination for the relationship between the numbers of rooms in houses and their prices will tell us the proportion or percentage of the variation in house prices that can be associated with the variation in the numbers of rooms in the houses. Also, recall that the coefficient of determination is equal to the square of the correlation coefficient.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 12.9: Calculating and Interpreting the Coefficient of Determination (cont.) Since we know that the correlation coefficient for these data is r = 0.65, we can calculate the coefficient of determination as Thus, approximately 42.3% of the variation in house prices can be associated with the variation in the numbers of rooms in the houses.