Statistical Inference about Regression

Slides:



Advertisements
Similar presentations
Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Advertisements

Inference for Regression
Econ 140 Lecture 81 Classical Regression II Lecture 8.
© The McGraw-Hill Companies, Inc., 2000 CorrelationandRegression Further Mathematics - CORE.
Classical Regression III
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
PSY 307 – Statistics for the Behavioral Sciences
SIMPLE LINEAR REGRESSION
8-4 Testing a Claim About a Mean
SIMPLE LINEAR REGRESSION
Chapter 9 Hypothesis Testing.
Hypothesis Testing Using The One-Sample t-Test
Chapter 12 Section 1 Inference for Linear Regression.
SIMPLE LINEAR REGRESSION
AM Recitation 2/10/11.
1 © Lecture note 3 Hypothesis Testing MAKE HYPOTHESIS ©
Hypothesis Testing.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Correlation and Regression
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
CHAPTER 14 MULTIPLE REGRESSION
© The McGraw-Hill Companies, Inc., Chapter 11 Correlation and Regression.
Production Planning and Control. A correlation is a relationship between two variables. The data can be represented by the ordered pairs (x, y) where.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Reasoning in Psychology Using Statistics
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Inferences from sample data Confidence Intervals Hypothesis Testing Regression Model.
Aim: How do we use a t-test?
© Copyright McGraw-Hill 2004
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
Significance Tests for Regression Analysis. A. Testing the Significance of Regression Models The first important significance test is for the regression.
Lesson Testing the Significance of the Least Squares Regression Model.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Testing of Hypothesis. Test of Significance A procedure to assess the significance of a statistics that a sample statistics would differ from a given.
Christopher, Anna, and Casey
Chapter Nine Hypothesis Testing.
Slides by JOHN LOUCKS St. Edward’s University.
Inference about the slope parameter and correlation
Chapter 14 Inference on the Least-Squares Regression Model and Multiple Regression.
Presentation 12 Chi-Square test.
Inference about Two Means - Independent Samples
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Lecture Slides Elementary Statistics Twelfth Edition
Testing a Claim About a Mean:  Not Known
Hypothesis Testing: Two Sample Test for Means and Proportions
AP Stats Check In Where we’ve been…
Reasoning in Psychology Using Statistics
Hypothesis tests for the difference between two means: Independent samples Section 11.1.
Elementary Statistics
Hypothesis Testing (Cont.)
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Lesson Comparing Two Means.
Chapter 11: Inference for Distributions of Categorical Data
Recipe for any Hypothesis Test
Interval Estimation and Hypothesis Testing
Hypothesis tests for the difference between two proportions
Correlation and Regression
Reasoning in Psychology Using Statistics
Hypothesis Tests for Two Population Standard Deviations
SIMPLE LINEAR REGRESSION
Reasoning in Psychology Using Statistics
Lecture Slides Elementary Statistics Twelfth Edition
Statistical Inference for the Mean: t-test
Presentation transcript:

Statistical Inference about Regression Regression & Correlation Analysis Lesson 8-1 Statistical Inference about Regression Explanation of the hypothesis testing procedure for simple linear regression coefficient 𝛃

What is Statistical inference?

Difference between Population & Sample Regression Population Regression Sample Regression

Hypothesis Testing – General Procedure

Testing Hypothesis – Procedure about Regression Coefficient 𝛃 Step 1 Stat the hypothesis. 𝐻0 : 𝛽=0 and 𝐻1 : 𝛽≠0 𝐻0 : 𝛽≤0 and 𝐻1 : 𝛽>0 𝐻0 : 𝛽≥0 and 𝐻1 : 𝛽<0 Step 2 Decide the level of significance. Here, we set the value of 𝛼=5%=0.05

General formula format Many hypotheses are tested using a statistical test based on the following general formula: 𝑇𝑒𝑠𝑡 𝑉𝑎𝑙𝑢𝑒= 𝑂𝑏𝑠𝑒𝑟𝑣𝑒𝑑 𝑣𝑎𝑙𝑢𝑒 −(𝐸𝑥𝑝𝑒𝑐𝑡𝑒𝑑 𝑣𝑎𝑙𝑢𝑒) 𝑆𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑒𝑟𝑟𝑜𝑟 The observed value is the “statistic” (such as the mean) that is computed from the sample data. The expected value is the “parameter” (such as the mean) that you would expect to obtain if the null hypothesis were true. In other words, the hypothesized value. The denominator is the standard error of the statistic being tested (in this case, the standard error of the mean). 𝑡= 𝑏−𝛽0 𝑆.𝐸(𝑏) It is t-test. It depends on Degree of Freedom = df = n-2

Required calculations Step 4 Know and do the required calculations and find the test value. 𝑡= 𝑏−𝛽0 𝑆.𝐸(𝑏) 𝑏= 𝑛 𝑋𝑌 −( 𝑋 )( 𝑌) 𝑛 𝑋2 − 𝑋 2 𝑎= 𝑌 −𝑏 𝑋 𝑠𝑌𝑋= 𝑌− 𝑌 2 𝑛−2 = 𝑌2−𝑎 𝑌−𝑏 𝑋𝑌 𝑛−2 𝑠𝑏= 𝑠 𝑌𝑋 𝑋− 𝑋 2

Critical Value, Comparison and Conclusion Step 5 Use t-table to find the critical values. Plot these values on bell shaped curve. Compare calculated value with table value Conclude and summarize the result

Testing Hypothesis – Example Height (X) Weight(Y) 60 110 135 120 62 140 130 64 150 145 70 170 185 160 For the Given data: Estimate the regression line from the following data of height (X) and Weight (Y) Test the hypothesis that the height and weight are independent.

Testing Hypothesis – Example Step 1 Stat the hypothesis. 𝐻0 : 𝛽=0 (There is NO slop. There is NO linear relationship.) 𝐻1 : 𝛽≠0 (There exist linear relationship) Step 2 We set the level of significance (alpha) 𝛼=0.05 Step 3 The test-statistic (formula) to be used is: 𝑡= 𝑏−𝛽0 𝑆.𝐸(𝑏) It follows t-distribution with degree of freedom df = n-2

Computation X Y XX YY XY 60 110 3600 12100 6600 135 18225 8100 120 14400 7200 62 3844 7440 140 19600 8680 130 16900 8060 8370 64 150 4096 22500 9600 145 21025 9280 70 170 4900 28900 11900 185 34225 12950 160 25600 11200 766 1700 49068 246100 109380

What we need to calculate? Step 4 Do necessary computations from data and solve the formula using these values. 𝑡= 𝑏−𝛽0 𝑠𝑏 𝑏= 𝑛 𝑋𝑌 −( 𝑋 )( 𝑌) 𝑛 𝑋2 − 𝑋 2 𝑠𝑌𝑋= 𝑌− 𝑌 2 𝑛−2 = 𝑌2−𝑎 𝑌−𝑏 𝑋𝑌 𝑛−2

Let’s do calculations Step 4 𝑏= 𝑛 𝑋𝑌 −( 𝑋 )( 𝑌) 𝑛 𝑋2 − 𝑋 2 = = = 𝑏= 𝑛 𝑋𝑌 −( 𝑋 )( 𝑌) 𝑛 𝑋2 − 𝑋 2 = = = 𝑎= 𝑌 −𝑏 𝑋 = =

Let’s do calculations Step 4 𝑠𝑌𝑋= 𝑌− 𝑌 2 𝑛−2 =

Critical Value from t-table Step 5 : Find the 0.05 column in the top row and 16 in the left-hand column. Where the row and column meet, the appropriate critical value is found.

Decision Rule Step 5 Conclusion and Summarizing: Since the computed value of t=6.89 falls in the critical region, so we reject the null hypothesis and may conclude that there is sufficient reason to say with 95% confidence that height and weight are related.

An other example – Do yourself In linear regression problem, the following sums were computed from a random sample of size 10. Using 5% level of significance, test the hypothesis that the population regression coefficient, β is greater than 0.5. Hint:

Hint 𝐻0 : 𝛽 0 𝐻1 : 𝛽>0 (Given claim) T est formula =𝑡= 𝑏−𝛽0 𝑠𝑏 𝐻0 : 𝛽 0 𝐻1 : 𝛽>0 (Given claim) T est formula =𝑡= 𝑏−𝛽0 𝑠𝑏 𝑏= 𝑛 𝑋𝑌 −( 𝑋 )( 𝑌) 𝑛 𝑋2 − 𝑋 2 𝑠𝑌𝑋= 𝑌− 𝑌 2 𝑛−2 = 𝑌2−𝑎 𝑌−𝑏 𝑋𝑌 𝑛−2

Summary Remember the all hypothesis-testing situations using the traditional method should include the 𝑇𝑒𝑠𝑡 𝑉𝑎𝑙𝑢𝑒= 𝑂𝑏𝑠𝑒𝑟𝑣𝑒𝑑 𝑣𝑎𝑙𝑢𝑒 −(𝐸𝑥𝑝𝑒𝑐𝑡𝑒𝑑 𝑣𝑎𝑙𝑢𝑒) 𝑆𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑒𝑟𝑟𝑜𝑟 State the null and alternative hypotheses and identify the claim. State an alpha level and find the critical value(s). Compute the test value. Make the decision to reject or not reject the null hypothesis. Summarize the results.

The END