How To Test A Hypothesis

Similar documents
Introduction to Hypothesis Testing

Section 7.1. Introduction to Hypothesis Testing. Schrodinger s cat quantum mechanics thought experiment (1935)

Hypothesis Testing --- One Mean

Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing

22. HYPOTHESIS TESTING

HYPOTHESIS TESTING: POWER OF THE TEST

Introduction to Hypothesis Testing OPRE 6301

Chapter 2. Hypothesis testing in one population

Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses

1 Hypothesis Testing. H 0 : population parameter = hypothesized value:

Mind on Statistics. Chapter 12

Business Statistics, 9e (Groebner/Shannon/Fry) Chapter 9 Introduction to Hypothesis Testing

Chapter 7 TEST OF HYPOTHESIS

C. The null hypothesis is not rejected when the alternative hypothesis is true. A. population parameters.

Independent samples t-test. Dr. Tom Pierce Radford University

Introduction to. Hypothesis Testing CHAPTER LEARNING OBJECTIVES. 1 Identify the four steps of hypothesis testing.

HYPOTHESIS TESTING WITH SPSS:

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

Testing Hypotheses About Proportions

Simple Regression Theory II 2010 Samuel L. Baker

Statistics in Medicine Research Lecture Series CSMC Fall 2014

Hypothesis testing. c 2014, Jeffrey S. Simonoff 1

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

3. Mathematical Induction

Unit 26 Estimation with Confidence Intervals

Philosophical argument

Hypothesis testing - Steps

Cultural Relativism. 1. What is Cultural Relativism? 2. Is Cultural Relativism true? 3. What can we learn from Cultural Relativism?

ECON 459 Game Theory. Lecture Notes Auctions. Luca Anderlini Spring 2015

BA 275 Review Problems - Week 5 (10/23/06-10/27/06) CD Lessons: 48, 49, 50, 51, 52 Textbook: pp

Understand the role that hypothesis testing plays in an improvement project. Know how to perform a two sample hypothesis test.

Mind on Statistics. Chapter 4

Types of Studies. Systematic Reviews and Meta-Analyses

Solutions to Questions on Hypothesis Testing and Regression

Correlational Research

1 Why is multiple testing a problem?

1-3 id id no. of respondents respon 1 responsible for maintenance? 1 = no, 2 = yes, 9 = blank

BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp , ,

DDBA 8438: Introduction to Hypothesis Testing Video Podcast Transcript

Estimation of σ 2, the variance of ɛ

6.2 Permutations continued

2 Precision-based sample size calculations

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

Hypothesis Testing. Reminder of Inferential Statistics. Hypothesis Testing: Introduction

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

The Public Policy Process W E E K 1 2 : T H E S C I E N C E O F T H E P O L I C Y P R O C E S S

LINEAR INEQUALITIES. less than, < 2x + 5 x 3 less than or equal to, greater than, > 3x 2 x 6 greater than or equal to,

Section 14 Simple Linear Regression: Introduction to Least Squares Regression

6.4 Normal Distribution

Chapter 7 Notes - Inference for Single Samples. You know already for a large sample, you can invoke the CLT so:

Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

1.5 Oneway Analysis of Variance

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

CHAPTER 14 NONPARAMETRIC TESTS

3.4 Statistical inference for 2 populations based on two samples

"Statistical methods are objective methods by which group trends are abstracted from observations on many separate individuals." 1

Prospective, retrospective, and cross-sectional studies

II. DISTRIBUTIONS distribution normal distribution. standard scores

Opgaven Onderzoeksmethoden, Onderdeel Statistiek

MULTIPLE REGRESSION EXAMPLE

Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples

Two-sample inference: Continuous data

Non-Inferiority Tests for Two Means using Differences

SCHOOL OF HEALTH AND HUMAN SCIENCES DON T FORGET TO RECODE YOUR MISSING VALUES

1 Nonparametric Statistics

ILLEGAL JOB INTERVIEW QUESTIONS (AND LEGAL ALTERNATIVES)

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

Comparison of frequentist and Bayesian inference. Class 20, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

REPORT HARD MONEY BROKERS WHERE TO FIND THEM, HOW TO QUALIFY THEM, AND A SAMPLE OF QUESTIONS TO ASK THEM. This report was developed for students of

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Understanding Options: Calls and Puts

Domain of a Composition

Non-Parametric Tests (I)

Using Excel for inferential statistics

Statistics 2014 Scoring Guidelines

Descriptive Statistics

The Importance of Statistics Education

Father s height (inches)

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

p ˆ (sample mean and sample

1 Error in Euler s Method

Exact Nonparametric Tests for Comparing Means - A Personal Summary

Lecture Notes Module 1

Hypothesis Testing: Two Means, Paired Data, Two Proportions

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS

5.1 Radical Notation and Rational Exponents

The correlation coefficient

Here are several tips to help you navigate Fairfax County s legal system.

Row vs. Column Percents. tab PRAYER DEGREE, row col

Handout #1: Mathematical Reasoning

Predicate Logic. For example, consider the following argument:

Mind on Statistics. Chapter 15

Sample Size and Power in Clinical Trials

Reading 13 : Finite State Automata and Regular Expressions

Understanding Clinical Trials

Colored Hats and Logic Puzzles

Topic 8. Chi Square Tests

Testing Research and Statistical Hypotheses

Lecture 1. Basic Concepts of Set Theory, Functions and Relations

hp calculators HP 17bII+ Net Present Value and Internal Rate of Return Cash Flow Zero A Series of Cash Flows What Net Present Value Is

Transcription:

Introduction to Hypothesis Testing A Hypothesis Test for Heuristic Hypothesis testing works a lot like our legal system. In the legal system, the accused is innocent until proven guilty. After examining the evidence, he is found either guilty or not guilty by a jury of his peers. How much evidence does there need to be to convict? The answer to this is different for every jury. Also, this is not a perfect process meaning mistakes are made. A mistake can be made by sending an innocent man to prison or letting a guilty man go free. Let s put these ideas into the framework of hypothesis testing. Statistical Let s say a researcher has reason to believe the population mean is different from what has been accepted. The belief that has been around for some time (the status quo) will be called the null hypothesis, denoted by H O. The belief that the true mean may actually be different from this null hypothesized belief is called the alternative hypothesis, denoted by H A. Stating the hypothesis We ll state our null hypothesis in the following way: H O : = O (the = sign always goes with H O ) Then, the alternative hypothesis can be one of the following three statements: H A : H A : H A : Finding the evidence We ll use X and knowledge of its distribution to gather our evidence. Intuitively, we know that the further away X is from O, the more evidence we have that the null hypothesis is not true. Let t s X o s n be our test statistic. If the null hypothesis were true (remember: innocent until proven guilty!), then t s ~ t df=n 1, and we can compute probabilities associated with it. When X is close to O, then t s When X is larger than O, then t s When X is smaller than O, then t s

Diagram of finding the evidence for the three possible tests H O : = O H A : > O H O : = O H A : < O H O : = O H A : O Hypothesis Test for, Errors, and Power Page 2

Definition The P value of a test statistic is the probability, given that the null hypothesis is true, of observing a test statistic that extreme or more extreme in the direction of the alternative hypothesis. The Decision So, the P value quantifies how extreme our test statistic would be, given that the null hypothesis is true. This is evidence against the null hypothesis. Question: How much evidence is needed to conclude the null hypothesis is incorrect? Answer: This varies from researcher to researcher, and we ll make a pre specified cut off,, before we conduct the test of hypothesis. We call this the significance level of the test. We reject H O when P. We fail to reject H O when P >. Steps for Carrying Out a Hypothesis Test (1) Set (significance level) (2) State hypotheses (3) Compute test statistic (4) Compute P value (5) Make decision (6) State conclusion in context of the setting Hypothesis Test for, Errors, and Power Page 3

Example: The national center for health statistics reports the mean systolic blood pressure for males aged 35 44 is 128 mmhg. A medical researcher believes the mean systolic blood pressure for male executives in this group is lower than 128 mmhg. A random sample of 72 male executives in this age group results in a sample mean of 126.1 mmhg and a standard deviation of 15.2 mmhg. Is there evidence to support the researcher s claim? Test this hypothesis at the 0.05 level of significance. Hypothesis Test for, Errors, and Power Page 4

Compute the P value be for: H A : H A : > Errors When we make a decision (reject or fail to reject H O ), are we always correct? We can make two types of errors in hypothesis testing. Definition: The False Positive Rate (a.k.a. the Type I Error Rate) of a test is the probability of rejecting H o when it is true. NOTATION: = P{reject H o H o true} Definition: The False Negative Rate (a.k.a. the Type II Error Rate) of a test is the probability of failing to reject H o when it is false. NOTATION: β = P{fail to reject H o H o false} Hypothesis Test for, Errors, and Power Page 5

Choosing If we think of (the significance level of a test) as the probability of rejecting the null hypothesis given the null hypothesis is actually true, then we would certainly want to choose a very small to guard against this type of error. Right? It turns out, we cannot simultaneously minimize both and β. Traditionally, we attend to : If a false positive error is worse than a false negative, drive a very low (.01,.005, ) If a false negative error is worse than a false positive, let a rise (.10, or even.15) If you re not sure/can t distinguish, then a traditional middle ground is = 0.05. Example Suppose some sort of immunotherapy is being proposed as an effective therapy against cancer. Suppose the immunotherapy is tested on cancer patients who are already taking chemotherapy and some sort of measure of change in response (change in tumor size?) is being measured with H O : no effect of immunotherapy H A : beneficial effect of immunotherapy A Type I Error would waste a lot of patients money on useless immunotherapy A Type II Error would dismiss an effective cure as useless Deciding which type of error is worse isn t always easy to determine! Power Definition: The power of a test is the probability of rejecting Ho when it is false. NOTATION: P{reject H o H o false}. Notice: P{reject H o H o false} = 1 P{fail to reject H o H o false} = 1 β. So, power is the complement of false negative error. We can estimate the power of a hypothesis testing procedure (which is beyond the scope of this course) in advance and often we try to design experiments so that power = 1 β 0.80. Hypothesis Test for, Errors, and Power Page 6