Hypothesis Testing ESM 206 6 Feb. 2002. Example: Gas Mileage SMALLCOMPACT Eagle SummitAudi 80 Ford EscortBuick Skylark Ford FestivaChevrolet LeBaron Honda.

Slides:



Advertisements
Similar presentations
Statistics.  Statistically significant– When the P-value falls below the alpha level, we say that the tests is “statistically significant” at the alpha.
Advertisements

PTP 560 Research Methods Week 9 Thomas Ruediger, PT.
Inferential Statistics
Objectives (BPS chapter 24)
1 Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u 2. Hypothesis Testing.
Chapter Seventeen HYPOTHESIS TESTING
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
MARE 250 Dr. Jason Turner Hypothesis Testing II. To ASSUME is to make an… Four assumptions for t-test hypothesis testing:
Evaluating Hypotheses Chapter 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics.
DATA ANALYSIS I MKT525. Plan of analysis What decision must be made? What are research objectives? What do you have to know to reach those objectives?
Cal State Northridge  320 Ainsworth Sampling Distributions and Hypothesis Testing.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Stat Day 16 Observations (Topic 16 and Topic 14)
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
Hypothesis : Statement about a parameter Hypothesis testing : decision making procedure about the hypothesis Null hypothesis : the main hypothesis H 0.
Evaluating Hypotheses Chapter 9 Homework: 1-9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics ~
Stat 112 – Notes 3 Homework 1 is due at the beginning of class next Thursday.
Lec 6, Ch.5, pp90-105: Statistics (Objectives) Understand basic principles of statistics through reading these pages, especially… Know well about the normal.
Hypothesis Tests for Means The context “Statistical significance” Hypothesis tests and confidence intervals The steps Hypothesis Test statistic Distribution.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
IENG 486 Statistical Quality & Process Control
Inferences About Process Quality
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
BCOR 1020 Business Statistics
Experimental Statistics - week 2
Hypothesis Testing.
Introduction to Biostatistics and Bioinformatics
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Hypothesis Testing (Statistical Significance). Hypothesis Testing Goal: Make statement(s) regarding unknown population parameter values based on sample.
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Chapter 9: Testing Hypotheses
LECTURE 19 THURSDAY, 14 April STA 291 Spring
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
Learning Objectives In this chapter you will learn about the t-test and its distribution t-test for related samples t-test for independent samples hypothesis.
The Practice of Statistics Third Edition Chapter 10: Estimating with Confidence Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Lecture 16 Dustin Lueker.  Charlie claims that the average commute of his coworkers is 15 miles. Stu believes it is greater than that so he decides to.
1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
May 2004 Prof. Himayatullah 1 Basic Econometrics Chapter 5: TWO-VARIABLE REGRESSION: Interval Estimation and Hypothesis Testing.
Section 9-1: Inference for Slope and Correlation Section 9-3: Confidence and Prediction Intervals Visit the Maths Study Centre.
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005 Dr. John Lipp Copyright © Dr. John Lipp.
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
Chapter 20 Testing Hypothesis about proportions
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.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
26134 Business Statistics Tutorial 11: Hypothesis Testing Introduction: Key concepts in this tutorial are listed below 1. Difference.
Math 4030 – 9a Introduction to Hypothesis Testing
Logic and Vocabulary of Hypothesis Tests Chapter 13.
Applied Quantitative Analysis and Practices LECTURE#25 By Dr. Osman Sadiq Paracha.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Sampling Distributions Statistics Introduction Let’s assume that the IQ in the population has a mean (  ) of 100 and a standard deviation (  )
Chapter 1 Introduction to Statistics. Section 1.1 Fundamental Statistical Concepts.
Testing a Single Mean Module 16. Tests of Significance Confidence intervals are used to estimate a population parameter. Tests of Significance or Hypothesis.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
Jump to first page Inferring Sample Findings to the Population and Testing for Differences.
BIOL 582 Lecture Set 2 Inferential Statistics, Hypotheses, and Resampling.
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
Hypothesis Tests. An Hypothesis is a guess about a situation that can be tested, and the test outcome can be either true or false. –The Null Hypothesis.
Review Statistical inference and test of significance.
Hypothesis Testing: Hypotheses
Interval Estimation and Hypothesis Testing
Presentation transcript:

Hypothesis Testing ESM Feb. 2002

Example: Gas Mileage SMALLCOMPACT Eagle SummitAudi 80 Ford EscortBuick Skylark Ford FestivaChevrolet LeBaron Honda CivicFord Tempo Mazda ProtégéHonda Accord Mercury TracerMazda 626 Nissan SentraMitsubishi Galant Pontiac LeMansMitsubishi Sigma Subaru LoyaleNissan Stanza Subary JustyOldsmobile Calais Toyota CorollaPeugeot 405 Toyota TercelSubaru Legacy Volkswagen JettaToyota Camry Do “Small” cars have a different average gas mileage than “Compact” cars? Data on mileage of 13 small and 15 compact cars.

Example: gas consumption Which coefficients are different from zero? Data from 36 years in US.

Hypothesis testing Define null hypothesis (H 0 ) Does direction matter? Choose test statistic, T Distribution of T under H 0 Calculate test statistic, S Probability of obtaining value at least as extreme as S under H 0 (P) P small: reject H 0

The null hypothesis Statement about underlying parameters of the population We will either reject or fail to reject H 0 Usually a statement of no pattern or of not exceeding some criterion Examples

The alternate hypothesis Written H A Is the logical complement of H 0 Examples

One- and two-sided tests One-sided test: direction matters Pick a direction based on regulatory criteria or knowledge of processes Direction must be chosen a priori Two-sided: all that matters is a difference One-sided has greater power Must make decision before analyzing data

Comparing means: the t-test Compare sample mean to fixed value (eqs. 1-4) Compare regression coefficient to fixed value (eq. 5) Compare the difference between two sample means to a fixed value (usually 0) (eqs. 6-7)

Assumptions of the t-test The data in each sample are normally distributed The populations have the same variance Can correct for violations of this with the Welch modification of df Test for difference among variances with F-test

The P-value P is the probability of observing your data if the null hypothesis is true P is the probability that you will be in error if you reject the null hypothesis P is not the probability that the null hypothesis is true

Critical values of P Reject H 0 if P is less than threshold P < 0.05 commonly used Arbitrary choice Other values: 0.1, 0.01, Always report P, so others can draw own conclusions

Example: Gas Mileage SMALLCOMPACT Eagle SummitAudi 80 Ford EscortBuick Skylark Ford FestivaChevrolet LeBaron Honda CivicFord Tempo Mazda ProtégéHonda Accord Mercury TracerMazda 626 Nissan SentraMitsubishi Galant Pontiac LeMansMitsubishi Sigma Subaru LoyaleNissan Stanza Subary JustyOldsmobile Calais Toyota CorollaPeugeot 405 Toyota TercelSubaru Legacy Volkswagen JettaToyota Camry Do “Small” cars have a different average gas mileage than “Compact” cars? Data on mileage of 13 small and 15 compact cars.

Gas mileage: variances are unequal

Gas mileage Test Name: Welch Modified Two-Sample t-Test Estimated Parameter(s): mean of x = 31 mean of y = Data: x: Small in DS2, and y: Compact in DS2 Test Statistic: t = Test Statistic Parameter: df = P-value: % Confidence Interval: LCL = UCL =

Example: gas consumption Which coefficients are different from zero? Data from 36 years in US.

Gas consumption Value Std. Error t value Pr(>|t|) (Intercept) GasPrice Income New.Car.Price Used.Car.Price

Interpreting model coefficients Is there statistical evidence that the independent variable has an effect? Is the parameter estimate significantly different from zero? Is the coefficient large enough that the effect is important? Must take into account the variation in the independent variable Use linear measure of variation – SD, IQ range, etc.

Types of error Type I: reject null hypothesis when it’s really true Desired level:  Type II: fail to reject null hypothesis when it’s really false Desired level:  Is associated with a given effect size E.g., want a probability 0.1 of failing to reject when true difference between means is 0.35.

Types of error In reality, H 0 is TrueFalse Your test says that H 0 should be: AcceptedCorrect conclusion Type II error RejectedType I error Correct conclusion

Controlling error levels  is controlled by setting critical P-value  is controlled by , sample size, sample variance, effect size Tradeoff between  and  Need to balance costs associated with type I and type II errors Power is 1- 