Chapter 12b Testing for significance—the t-test Developing confidence intervals for estimates of β 1. Testing for significance—the f-test Using Excel’s.

Slides:



Advertisements
Similar presentations
Chapter 12 Simple 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.
1 1 Slide © 2003 South-Western /Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Econ 3790: Business and Economic Statistics
Chapter 14, part D Statistical Significance. IV. Model Assumptions The error term is a normally distributed random variable and The variance of  is constant.
Regression Analysis Once a linear relationship is defined, the independent variable can be used to forecast the dependent variable. Y ^ = bo + bX bo is.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Chapter 10 Comparisons Involving Means Part A Estimation of the Difference between the Means of Two Populations: Independent Samples Hypothesis Tests about.
Chapter 12 Simple Linear Regression
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Classical Regression III
Chapter 13 Multiple Regression
Chapter 12 Simple Regression
Chapter 10b Hypothesis Tests About the Difference Between the Means of Two Populations: Independent Samples, Small-Sample CaseHypothesis Tests About the.
Chapter 12a Simple Linear Regression
Linear Regression Example Data
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 Pertemuan 13 Regresi Linear dan Korelasi Matakuliah: I0262 – Statistik Probabilitas Tahun: 2007 Versi: Revisi.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 13-1 Chapter 13 Introduction to Multiple Regression Statistics for Managers.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide Simple Linear Regression Part A n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n.
Econ 3790: Business and Economics Statistics
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #9 Jose M. Cruz Assistant Professor.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple Coefficient of Determination n Model Assumptions n Testing.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Econ 3790: Business and Economics Statistics Instructor: Yogesh Uppal
QMS 6351 Statistics and Research Methods Regression Analysis: Testing for Significance Chapter 14 ( ) Chapter 15 (15.5) Prof. Vera Adamchik.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
CHAPTER 14 MULTIPLE REGRESSION
1 1 Slide Simple Linear Regression Coefficient of Determination Chapter 14 BA 303 – Spring 2011.
Basic concept Measures of central tendency Measures of central tendency Measures of dispersion & variability.
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
EQT 373 Chapter 3 Simple Linear Regression. EQT 373 Learning Objectives In this chapter, you learn: How to use regression analysis to predict the value.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Chapter 13 Multiple Regression
1 1 Slide Simple Linear Regression Estimation and Residuals Chapter 14 BA 303 – Spring 2011.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
Chapter 12 Simple Linear Regression n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n Testing.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
1 1 Slide © 2011 Cengage Learning Assumptions About the Error Term  1. The error  is a random variable with mean of zero. 2. The variance of , denoted.
INTRODUCTION TO MULTIPLE REGRESSION MULTIPLE REGRESSION MODEL 11.2 MULTIPLE COEFFICIENT OF DETERMINATION 11.3 MODEL ASSUMPTIONS 11.4 TEST OF SIGNIFICANCE.
Lecture 11: Simple Linear Regression
Pertemuan 22 Analisis Varians Untuk Regresi
Pengujian Parameter Regresi dan Korelasi Pertemuan 20
Essentials of Modern Business Statistics (7e)
INFERENSIA KORELASI DAN REGRESI LINIER SEDERHANA Pertemuan 12
Statistics for Business and Economics (13e)
Quantitative Methods Simple Regression.
Slides by JOHN LOUCKS St. Edward’s University.
Business Statistics Multiple Regression This lecture flows well with
Chapter 11 Inferences About Population Variances
Essentials of Statistics for Business and Economics (8e)
St. Edward’s University
Presentation transcript:

Chapter 12b Testing for significance—the t-test Developing confidence intervals for estimates of β 1. Testing for significance—the f-test Using Excel’s regression tool.

Testing for Significance To test for a significant regression relationship, we To test for a significant regression relationship, we must conduct a hypothesis test to determine whether must conduct a hypothesis test to determine whether the value of  1 is zero. the value of  1 is zero. To test for a significant regression relationship, we To test for a significant regression relationship, we must conduct a hypothesis test to determine whether must conduct a hypothesis test to determine whether the value of  1 is zero. the value of  1 is zero. Two tests are commonly used: Two tests are commonly used: t Test and F Test Both the t test and F test require an estimate of  2, Both the t test and F test require an estimate of  2, the variance of  in the regression model. the variance of  in the regression model. Both the t test and F test require an estimate of  2, Both the t test and F test require an estimate of  2, the variance of  in the regression model. the variance of  in the regression model.

An Estimate of  Testing for Significancewhere: s 2 = MSE = SSE/( n  2) The mean square error (MSE) provides the estimate of  2, and the notation s 2 is also used.

Testing for Significance An Estimate of  To estimate  we take the square root of  2. To estimate  we take the square root of  2. The resulting s is called the standard error of The resulting s is called the standard error of the estimate. the estimate.

Hypotheses Test Statistic Testing for Significance: t Test

n Rejection Rule Testing for Significance: t Test where: t  is based on a t distribution with n - 2 degrees of freedom Reject H 0 if t t 

1. Determine the hypotheses. 2. Specify the level of significance. 3. Select the test statistic.  = State the rejection rule. Reject H 0 if | t| > Using the Test Statistic Using the Test Statistic Testing for Significance: t Test (3 degrees of freedom)

Testing for Significance: t Test 5. Compute the value of the test statistic. 6. Determine whether to reject H 0. At the.05 level of significance, the sample At the.05 level of significance, the sample evidence indicates that there is a significant relationship between the number of TV ads aired and the number of cars sold. Because t = 4.63 > 3.182, we reject H 0. Using the Test Statistic Using the Test Statistic

Confidence Interval for  1 H 0 is rejected if the hypothesized value of  1 is not H 0 is rejected if the hypothesized value of  1 is not included in the confidence interval for  1. included in the confidence interval for  1. We can use a 95% confidence interval for  1 to test We can use a 95% confidence interval for  1 to test the hypotheses just used in the t test. the hypotheses just used in the t test.

The form of a confidence interval for  1 is: Confidence Interval for  1 where is the t value providing an area of  /2 in the upper tail of a t distribution with n - 2 degrees of freedom b 1 is the pointestimator is the margin of error

Rejection Rule 95% Confidence Interval for  1 Conclusion Confidence Interval for  1 Reject H 0 if 0 is not included in the confidence interval for  1. 0 is not included in the confidence interval. Reject H 0 = 5 +/ (1.08) = 5 +/ or 1.56 to 8.44

n Hypotheses n Test Statistic Testing for Significance: F Test F = MSR/MSE

n Rejection Rule Testing for Significance: F Test where: F  is based on an F distribution with 1 degree of freedom in the numerator and n - 2 degrees of freedom in the denominator Reject H 0 if F > F 

1. Determine the hypotheses. 2. Specify the level of significance. 3. Select the test statistic.  = State the rejection rule. Reject H 0 if F > Using the Test Statistic Using the Test Statistic Testing for Significance: F Test F = MSR/MSE (1 d.f. in numerator, 3 d.f. in denominator) 3 d.f. in denominator)

Testing for Significance: F Test 5. Compute the value of the test statistic. 6. Determine whether to reject H 0. Because F = > 10.13, we reject H 0. Using the Test Statistic Using the Test Statistic F = MSR/MSE = 100/4.667 = At the.05 level of significance, the statistical At the.05 level of significance, the statistical evidence is sufficient to conclude that we have a significant relationship between the number of TV ads aired and the number of cars sold.

Some Cautions about the Interpretation of Significance Tests Just because we are able to reject H 0 :  1 = 0 and Just because we are able to reject H 0 :  1 = 0 and demonstrate statistical significance does not enable demonstrate statistical significance does not enable us to conclude that there is a linear relationship between x and y. Rejecting H 0 :  1 = 0 and concluding that the Rejecting H 0 :  1 = 0 and concluding that the relationship between x and y is significant does not enable us to conclude that a cause-and-effect relationship is present between x and y.

Using Excel’s Regression Tool The Regression tool can be used to perform a The Regression tool can be used to perform a complete regression analysis. complete regression analysis. Excel also has a comprehensive tool in its Data Excel also has a comprehensive tool in its Data Analysis package called Regression. Analysis package called Regression. Up to this point, you have seen how Excel can be Up to this point, you have seen how Excel can be used for various parts of a regression analysis. used for various parts of a regression analysis.

Using Excel’s Regression Tool n Formula Worksheet (showing data)

Using Excel’s Regression Tool n Performing the Regression Analysis Step 3 Choose Regression from the list of Analysis Tools Analysis Tools Step 2 Choose the Data Analysis option Step 1 Select the Tools pull-down menu

Using Excel’s Regression Tool n Performing the Regression Analysis Step 4 When the Regression dialog box appears: Enter C1:C6 in the Input Y Range box Enter C1:C6 in the Input Y Range box Enter B1:B6 in the Input X Range box Enter B1:B6 in the Input X Range box Select Labels Select Labels Select Confidence Level Select Confidence Level Enter 95 in the Confidence Level box Enter 95 in the Confidence Level box Select Output Range Select Output Range Enter A9 (any cell) in the Ouput Range box Enter A9 (any cell) in the Ouput Range box Click OK to begin the regression analysis Click OK to begin the regression analysis

Using Excel’s Regression Tool n Regression Dialog Box

Using Excel’s Regression Tool n Value Worksheet ANOVA Output Regression Statistics Output Data Estimated Regression Equation Output

Using Excel’s Regression Tool Note: Columns F-I are not shown. n Estimated Regression Equation Output (left portion)

Using Excel’s Regression Tool Note: Columns C-E are hidden. n Estimated Regression Equation Output (right portion)

Using Excel’s Regression Tool n ANOVA Output

Using Excel’s Regression Tool n Regression Statistics Output

n Confidence Interval Estimate of E ( y p ) n Prediction Interval Estimate of y p Using the Estimated Regression Equation for Estimation and Prediction where: confidence coefficient is 1 -  and t  /2 is based on a t distribution with n - 2 degrees of freedom

If 3 TV ads are run prior to a sale, we expect the mean number of cars sold to be: Point Estimation^ y = (3) = 25 cars

Using Excel to Develop Confidence and Prediction Interval Estimates n Formula Worksheet (confidence interval portion)

Using Excel to Develop Confidence and Prediction Interval Estimates n Value Worksheet (confidence interval portion)

The 95% confidence interval estimate of the mean number of cars sold when 3 TV ads are run is: Confidence Interval for E ( y p ) = to cars

Using Excel to Develop Confidence and Prediction Interval Estimates n Formula Worksheet (prediction interval portion)

Using Excel to Develop Confidence and Prediction Interval Estimates n Value Worksheet (prediction interval portion)

The 95% prediction interval estimate of the number of cars sold in one particular week when 3 TV ads are run is: Prediction Interval for y p = to cars