II.Simple Regression B. Hypothesis Testing Calculate t-ratios and confidence intervals for b 1 and b 2. Test the significance of b 1 and b 2 with: T-ratios.

Slides:



Advertisements
Similar presentations
Topics Today: Case I: t-test single mean: Does a particular sample belong to a hypothesized population? Thursday: Case II: t-test independent means: Are.
Advertisements

Inference for Regression
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Hypothesis Testing Using a Single Sample
The Multiple Regression Model Prepared by Vera Tabakova, East Carolina University.
4.1 All rights reserved by Dr.Bill Wan Sing Hung - HKBU Lecture #4 Studenmund (2006): Chapter 5 Review of hypothesis testing Confidence Interval and estimation.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Final Jeopardy $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 LosingConfidenceLosingConfidenceTesting.
T-test.
Hypothesis Testing for Population Means and Proportions
T-Tests Lecture: Nov. 6, 2002.
Chapter 2 Simple Comparative Experiments
Chapter 11: Inference for Distributions
Chapter 9 Hypothesis Testing.
5-3 Inference on the Means of Two Populations, Variances Unknown
Hypothesis Testing Using The One-Sample t-Test
AM Recitation 2/10/11.
Probability Distributions and Test of Hypothesis Ka-Lok Ng Dept. of Bioinformatics Asia University.
Chapter 13 – 1 Chapter 12: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two.
Overview Definition Hypothesis
Statistical inference: confidence intervals and hypothesis testing.
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
STA291 Statistical Methods Lecture 27. Inference for Regression.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Overview Basics of Hypothesis Testing
Interval Estimation and Hypothesis Testing
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Chapter 9: Testing Hypotheses
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.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
QMS 6351 Statistics and Research Methods Regression Analysis: Testing for Significance Chapter 14 ( ) Chapter 15 (15.5) Prof. Vera Adamchik.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
1 1 Slide Simple Linear Regression Coefficient of Determination Chapter 14 BA 303 – Spring 2011.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
Chapter 7 Inferences Based on a Single Sample: Tests of Hypotheses.
5.1 Chapter 5 Inference in the Simple Regression Model In this chapter we study how to construct confidence intervals and how to conduct hypothesis tests.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
3-1 MGMG 522 : Session #3 Hypothesis Testing (Ch. 5)
Chapter 8 Parameter Estimates and Hypothesis Testing.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
Monday, October 22 Hypothesis testing using the normal Z-distribution. Student’s t distribution. Confidence intervals.
© Copyright McGraw-Hill 2004
Formulating the Hypothesis null hypothesis 4 The null hypothesis is a statement about the population value that will be tested. null hypothesis 4 The null.
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
1 Econometrics (NA1031) Lecture 3 Interval Estimation and Hypothesis Testing.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Monday, October 21 Hypothesis testing using the normal Z-distribution. Student’s t distribution. Confidence intervals.
Chapter 9: Introduction to the t statistic. The t Statistic The t statistic allows researchers to use sample data to test hypotheses about an unknown.
Introduction to the t statistic. Steps to calculate the denominator for the t-test 1. Calculate variance or SD s 2 = SS/n-1 2. Calculate the standard.
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Statistical principles: the normal distribution and methods of testing Or, “Explaining the arrangement of things”
T-TEST. Outline  Introduction  T Distribution  Example cases  Test of Means-Single population  Test of difference of Means-Independent Samples 
Statistical Inference about Regression
Interval Estimation and Hypothesis Testing
CHAPTER 12 More About Regression
Statistical Inference for the Mean: t-test
Data Analysis and Statistical Software I ( ) Quarter: Autumn 02/03
Presentation transcript:

II.Simple Regression B. Hypothesis Testing Calculate t-ratios and confidence intervals for b 1 and b 2. Test the significance of b 1 and b 2 with: T-ratios Prob values Confidence intervals. Explain the meaning of Type I and Type II errors.

The Simple Linear Regression Model

Goal:Does X significantly affect Y? Is β 2 = 0 ? Conduct a hypothesis test of the form: H 0 : β 2 = 0 Null hypothesis (X does not affect Y)  H 1 : β 2 ≠ 0Alternative hypothesis (X affects Y) Use a test statistic, the t-ratio, given by: t = b 2 /[se(b 2 )] where se(b 2 ) = the standard error of b 2.

Under the null hypothesis, β 2 = 0, the t-ratio is distributed according to the t-distribution, i.e.,t = b 2 /[se(b 2 )] ~ t (N-2) If the null hypothesis is not true, the t-ratio does not have a t-distribution. The t-distribution is a bell-shaped curve. It looks like the normal distribution, except it is more spread out, with a larger variance and thicker tails. The t-distribution converges to a normal distribution as the sample size gets large (as N   ). The shape of the t-distribution is controlled by a single parameter called the degrees of freedom, often abbreviated as df, where df = N – k, N = number of observations and k = number of parameters.

The t-distribution was developed by William Sealy Gosset, a brewing chemist at the Guinness brewery in Ireland. He developed the t-test to ensure consistent quality from each batch of Guinness beer. Guinness allowed Gosset to publish his results, but only under the condition that the data remain confidential and that he publish under a different name. Gosset published under the pseudonym “Student” and the distribution became known as the Student t-distribution.

Figure 3.1 Critical Values from a t-distribution

Figure 3.4 The rejection region for a two-tail test of H 0 : β k = c against H 1 : β k ≠ c

PROCEDURE FOR TESTING HYPOTHESES 1.Specify the model for estimation. 2.Determine the null and alternative hypotheses. 3.Specify the test statistic and its distribution if the null hypothesis is true. 4.Select α and determine the rejection region. 5.Calculate the sample value of the test statistic. 6.State your conclusion.

1.Model: Rent = β 1 + β 2 Distance + e Assume all other assumptions of the simple regression model are met. 2.The null hypothesis is : H 0 : β 2 = 0 The alternative hypothesis is: H 1 : β 2 ≠ 0. 3.The test statistic is:t = b 2 /[se(b 2 )] ~ t (N-2) if the null hypothesis is true. 4.Let us select α =.05. Note N = 32. What are the degrees of freedom and critical values? df = 30; t =  What is the rejection region? t  ; t  2.042; if < t < 2.042, we do not reject the null hypothesis

1.Calculate the t-ratio on the distance parameter. 2.Test for the significance of the distance parameter on rent using a t-test. The REG Procedure Model: MODEL1 Dependent Variable: rent Number of Observations Read 32 Parameter Estimates Parameter Standard Variable DF Estimate Error t Value Pr > |t| Intercept <.0001 distance

5.What is the value of the t-ratio on b 2 ? t = -2.58/3.17 = What do you conclude? Since t > and t < 2.042, we do not reject the null hypothesis. The parameter estimate on distance, b 2, is not significantly different from zero. Distance is not a significant determinant of rent.

P-value (or prob-value) – For a particular sample value of t, the p-value is the probability of rejecting the null hypothesis when the null is true. p-value rule: Reject the null hypothesis when the p-value is less than, or equal to, the level of significance α. That is, if p ≤ α then reject H 0. If p > α then do not reject H 0.

Graphically, the P-value is the area in the tails of the distribution beyond |t|. That is, if t is the calculated value of the t-statistic, and if H 1 : β K ≠ 0, then: p = sum of probabilities to the right of |t| and to the left of – |t| According to the p-value on the parameter on distance in the rent equation, do you reject the null hypothesis?

The REG Procedure Model: MODEL1 Dependent Variable: rent Number of Observations Read 32 Number of Observations Used 32 Parameter Estimates Parameter Standard Variable DF Estimate Error t Value Pr > |t| Intercept <.0001 distance

For the following regression estimates, test the hypothesis that the parameter estimate on age is significantly different from zero using a t-test and a p-value test. The REG Procedure Model: MODEL1 Dependent Variable: coffee Number of Observations Read 13 Parameter Estimates Parameter Standard Variable DF Estimate Error t Value Pr > |t| Intercept age

α =.05. N = 13  df = 13-2 = 11. t =  Since t = < we reject the null hypothesis and conclude that age significantly affects coffee consumption for coffee drinkers. The p-value = <.05 also indicates we should reject H 0.

Q UESTIONS ?