Lecture Outline. Hypothesis Testing. Simple vs. Composite Testing. Stat 111. Hypothesis Testing Framework

Save this PDF as:

Size: px
Start display at page:

Download "Lecture Outline. Hypothesis Testing. Simple vs. Composite Testing. Stat 111. Hypothesis Testing Framework"

Transcription

1 Stat 111 Lecture Outline Lecture 14: Intro to Hypothesis Testing Sections in DeGroot 1 Hypothesis Testing Consider a statistical problem involving a parameter θ whose value is unknown but must lie in a certain parameter space Ω. Suppose now that Ω can be partitioned into two disjoint subsets Ω 0 and Ω 1, and the statistician is interested in whether θ lies in determining which of two hypotheses is true: H 0 : θ ϵ Ω 0 or H A : θ ϵ Ω 1. Since Ω has been partitioned into two disjoint subsets, either H 0 or H A is true (and not both). This is the formal set up of a problem of testing statistical hypotheses. * Note: the text writes H A as H 1. Either is fine. Simple vs. Composite Testing A hypothesis test problem always has a null hypothesis (H 0 ) and an alternative hypothesis (H A ), and each can be in one of two forms: Simple hypotheses are hypotheses where θ can only take on a single value. (ex: H 0 : θ = 0 or H A : θ = 1) Composite hypotheses are hypotheses where θ can take on multiple or a range of values. (ex: H 0 : θ 0 or H A : θ ϵ {-1,1}) In a particular problem, your null and alternative hypotheses could have any combination of simple and composite alternatives. Most common: H 0 is simple or composite, and H A is composite

2 One-sided and Two-sided Tests The most common set-up of hypotheses are called onesided tests and two-sided tests: A hypothesis test problem always has a null hypothesis (H 0 ) and an alternative hypothesis (H A ), and each can be in one of two forms: One-sided tests: both hypotheses are composite and represent one-side of the parameter space around some value θ 0 : H 0 : θ θ 0 vs. H A : θ < θ 0, or H 0 : θ θ 0 vs. H A : θ > θ 0 Two-sided tests: H 0 is a simple hypothesis, and H A represents the rest of the parameter space of θ: H 0 : θ = θ 0 vs. H A : θ θ 0 5 Test Statistic and Rejection Regions Let X 1, X n be a random sample from a distribution with parameter θ. Let T = r(x 1, X n ) be a statistic and let R be a subset of the real line. For a specific set of hypotheses (H 0 vs. H A ) in a testing problem, suppose we choose to reject H 0 if T ϵ R. Then T is called a test statistic and R is called the critical region or rejection region of the test. What in the world does that mean? Classically, a test statistic will be based on an estimator of the parameter (like using X to estimate μ for a normal, or using p to estimate p for a Bernoulli or binomial). A rejection region is usually in the form of T c, T c, or T c for some specifically chosen value c: the critical value. What value of c should we choose? Depends on how much (and what type) of error we want to allow for. 6 Lecture Outline Error and Power There are two types of error: Type I error: when we incorrectly reject a null hypothesis when it is actually true. Type II error: when we fail to reject the null hypothesis when the alternative hypothesis is true. A related idea is the power of a test: Power is the probability or rejecting the null hypothesis given a specific value of the parameter Power varies depending on the value of θ, and the book defines something called the power function, π(θ), which is the function describing this probability for varying values of the parameter we are testing, θ. 7 8

3 Choosing a critical value/region The most common method of choosing a critical value, c, is one that specifies the largest value of the power function for any value in the null hypothesis parameter space. The specified value we denote as α, the Type I error rate for the test (often called the level or size of the test). This produces an asymmetry in the testing procedure: we have fixed the Type I error rate for the test, but have not worried about the Type II error rate. In many situations this is quite natural: making a type I error can often be viewed as a worse error. So we will often set up our hypotheses in such a way that Type I error is the worse error. p-values The p-value of a test is the smallest level such that we would reject the null hypothesis for the data we have observed. If the critical region of the parameter space is based on critical value (of the form: reject H 0 if T c, T c, or T c), then the p-value is easy to calculate. It can be thought of as: p-value: the probability of observing our test statistic, or a more extreme one in the direction of the alternative, given the null hypothesis is true Lecture Outline A General Testing Example Let s suppose the following scenario: you go to a casino to play a dice game (based on one die with 6 sides), and you are told there are 3 dice: 1 fair die, and loaded dice that have probability 0.3 and 0.5 of showing up 6 on the top face. You are randomly given one die, and are asked to roll it 0 times. Let X = # rolls (out of 0) showing with a 6 face-up. Set-up a hypothesis test to determine whether you were given the fair die or a loaded die. What are your hypotheses? What is your test statistic? What is your critical region? What is your type I error? What is the power function for your test? You actually observe X = 5 rolls with a 6 showing face-up. What is the p-value for your test? What is your conclusion?

4 Frequency A Reasonable Solution: Let X = # rolls (out of 0) showing with a 6 face-up. H 0 : fair die (p = 1/6) vs. H A : loaded die (p ϵ {0.3,0.5}) X is the test statistic. Critical region: we will choose to reject H 0 if X 6. Type I error: P(X 6 p = 1/6) = In R: > 1-pbinom(5,size=0,p=1/6) What is the power function for your test? P(X 6 p = 1/6) = P(X 6 p = 0.3) = [> 1-pbinom(5,size=0,p=0.3)] P(X 6 p = 0.5) = [> 1-pbinom(5,size=0,p=0.5)] A Reasonable Solution (cont.): Let X = 5. What is the p-value for your test? P(X 5 p = 1/6) = In R: > 1-pbinom(4,size=0,p=1/6) What is your conclusion? Straightforward: since X = 5 does not fall in our rejection region, we fail to reject H 0. What is the probability you were handed the fair die? (Note: this probability is usually not calculable in real-life since we do not know the prior probability of H 0 and H A to begin with) A Reasonable Solution (cont.): What is the probability you were handed the fair die? P( X 5 fair) fair) P( fair X 5) P( X 5 fair) fair) X 5 L1) L1) X 5 L) L) (0.0) (1/ 3) (0.0) (1/ 3) ) (1/ 3) ) (1/ 3) > dbinom(4,size=0,p=0.5) [1] > dbinom(4,size=0,p=0.3) [1] > dbinom(4,size=0,p=1/6) [1] Single Mean Testing Example On HW#1, we used are first day survey to determine whether or not Harvard students, on average, get the recommended amount of sleep (8 or more hours per night). Let s set-up this problem from scratch, with the new terminology and details we now have. Histogram of sleep Let X i be the self-reported typical amount of sleep for a randomly chosen Harvard student (for this problem, let s assume this class is a good random sample, n = 91). What distribution is it reasonable to assume the X i follow? sleep

5 power Single Mean Testing Example Set-up a hypothesis test to determine whether Harvard students get at least the recommended amount of sleep. What are the hypotheses? What is the test statistic? What is the critical region? What is the type I error? What is the power function for the test? * For now, assume σ = 1.0. Note: 91 = You actually observe the following sample statistics: n 91 x s 1.09 What is the p-value for your test? What is your conclusion? What test should you actually have run instead? 17 Solutions: H 0 : enough sleep (μ 8) vs. H A : lack of sleep (μ < 8) T = X is the test statistic, or better: Z = (X μ 0 )/(σ/ n). X ~ N(, / n) Type I error: let s set this at Therefore, our critical region will be: reject H 0 if Z So this means for X : X 0 z( / n) (1/ 91) 7.88 What is the power function for the test? This is tricky. We want π(μ) = P(T c μ), for various values of the population mean, μ. Key: subtracting off μ 0 = 8 is not the correct standardizing if μ 8. This then becomes: 18 Solutions: Calculating Power: X 0 X 0 ( ) P P / n / n / n X 0 P / n / n 0 P Z / n / n / 91 Why does this power curve make sense? mu=750:850/100 power=pnorm( (8-mu)/(1/sqrt(91))) plot(power~mu,type= l ) Power Curve (aka, Power Function) mu 19 Solutions (cont.): n 91 x You actually observe the following sample statistics: s 1.09 What is the p-value for your test? What is your conclusion? p-value = P(X H 0 : μ 8). Uh-oh, what value for μ should we choose? Choose the value for which this probability would be highest: μ = 8: p-value = P(X H 0 : μ = 8) = P((X μ 0 )/(σ/ n) ( )/(1/ 91)) = P(Z ) = 4.11 x We can reject the null hypothesis since p-value < α (or note our test statistic, Z = , is in the rejection/critical region). What test should you actually have run instead? We should have performed a t-test. No reason to assume σ =

6 Lecture Outline A look ahead: Likelihood Ratio Test Another way to form a test statistic is to compare the value of the likelihood functions for the two hypotheses: H 0 : θ ϵ Ω 0 vs. H A : θ ϵ Ω 1. Let the likelihood ratio statistic then be: max f ( x ) 0 ( x) LR max f ( x ) Where Ω = Ω 0 Ω 1 is the entire parameter space of θ. What is the range of values for this statistic? We will then reject H 0 if Λ(x) c for some critical value c. We ll cover this further in the next lecture. 1 Take Home Message There is a very formal set of procedures when performing a statistical hypothesis test. We are always comparing a null hypothesis to an alternative hypothesis, and either one can be a simple or composite hypothesis. A test statistic is calculated from the observations as the evidence for the competing hypotheses. We set up a critical region: the values for the test statistic for which we will decide to reject the null hypothesis. The p-value: the probability of observing our test statistic or a more extreme one, given the null hypothesis is true. Type I error is rejecting H 0 when it is actually true. Type II error is not rejecting H 0 when it is actually not true. The power function/curve is the probability of the test statistic falling in the critical region for values of θ Another way to perform a hypothesis test is through the likelihood ratio for θ ϵ Ω 0 vs. θ ϵ Ω. 3 6

Chapter 9: Hypothesis Testing Sections

Chapter 9: Hypothesis Testing Sections Skip: 9.2 Testing Simple Hypotheses Skip: 9.3 Uniformly Most Powerful Tests Skip: 9.4 Two-Sided Alternatives 9.5 The t Test 9.6 Comparing the Means of Two Normal

More information

Chapter 8 Introduction to Hypothesis Testing

Chapter 8 Student Lecture Notes 8-1 Chapter 8 Introduction to Hypothesis Testing Fall 26 Fundamentals of Business Statistics 1 Chapter Goals After completing this chapter, you should be able to: Formulate

More information

Chapter 9: Hypothesis Testing Sections

Chapter 9: Hypothesis Testing Sections - we are still here Skip: 9.2 Testing Simple Hypotheses Skip: 9.3 Uniformly Most Powerful Tests Skip: 9.4 Two-Sided Alternatives 9.5 The t Test 9.6 Comparing the

More information

Introduction to Hypothesis Testing. Point estimation and confidence intervals are useful statistical inference procedures.

Introduction to Hypothesis Testing Point estimation and confidence intervals are useful statistical inference procedures. Another type of inference is used frequently used concerns tests of hypotheses.

More information

9-3.4 Likelihood ratio test. Neyman-Pearson lemma

9-3.4 Likelihood ratio test Neyman-Pearson lemma 9-1 Hypothesis Testing 9-1.1 Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental

More information

Chapter 9: Hypothesis Testing Sections

Chapter 9: Hypothesis Testing Sections 9.1 Problems of Testing Hypotheses Skip: 9.2 Testing Simple Hypotheses Skip: 9.3 Uniformly Most Powerful Tests Skip: 9.4 Two-Sided Alternatives 9.6 Comparing the

More information

Null Hypothesis Significance Testing Signifcance Level, Power, t-tests. 18.05 Spring 2014 Jeremy Orloff and Jonathan Bloom

Null Hypothesis Significance Testing Signifcance Level, Power, t-tests 18.05 Spring 2014 Jeremy Orloff and Jonathan Bloom Simple and composite hypotheses Simple hypothesis: the sampling distribution is

More information

BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp. 394-398, 404-408, 410-420

BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp. 394-398, 404-408, 410-420 1. Which of the following will increase the value of the power in a statistical test

More information

Section: 101 (10am-11am) 102 (11am-12pm) 103 (1pm-2pm) 104 (1pm-2pm)

Stat 0 Midterm Exam Instructor: Tessa Childers-Day 1 May 014 Please write your name and student ID below, and circle your section. With your signature, you certify that you have not observed poor or dishonest

More information

Chapter 7 Part 2. Hypothesis testing Power

Chapter 7 Part 2 Hypothesis testing Power November 6, 2008 All of the normal curves in this handout are sampling distributions Goal: To understand the process of hypothesis testing and the relationship

More information

[Chapter 10. Hypothesis Testing]

[Chapter 10. Hypothesis Testing] 10.1 Introduction 10.2 Elements of a Statistical Test 10.3 Common Large-Sample Tests 10.4 Calculating Type II Error Probabilities and Finding the Sample Size for Z Tests

More information

7 Hypothesis testing - one sample tests

7 Hypothesis testing - one sample tests 7.1 Introduction Definition 7.1 A hypothesis is a statement about a population parameter. Example A hypothesis might be that the mean age of students taking MAS113X

More information

MATH 214 (NOTES) Math 214 Al Nosedal. Department of Mathematics Indiana University of Pennsylvania. MATH 214 (NOTES) p. 1/6

MATH 214 (NOTES) Math 214 Al Nosedal Department of Mathematics Indiana University of Pennsylvania MATH 214 (NOTES) p. 1/6 "Pepsi" problem A market research consultant hired by the Pepsi-Cola Co. is interested

More information

Stat 20: Intro to Probability and Statistics

Stat 20: Intro to Probability and Statistics Lecture 16: More Box Models Tessa L. Childers-Day UC Berkeley 22 July 2014 By the end of this lecture... You will be able to: Determine what we expect the sum

More information

15.0 More Hypothesis Testing

15.0 More Hypothesis Testing 1 Answer Questions Type I and Type II Error Power Calculation Bayesian Hypothesis Testing 15.1 Type I and Type II Error In the philosophy of hypothesis testing, the null hypothesis

More information

Hypothesis Testing. 1 Introduction. 2 Hypotheses. 2.1 Null and Alternative Hypotheses. 2.2 Simple vs. Composite. 2.3 One-Sided and Two-Sided Tests

Hypothesis Testing 1 Introduction This document is a simple tutorial on hypothesis testing. It presents the basic concepts and definitions as well as some frequently asked questions associated with hypothesis

More information

Chapter 8. Hypothesis Testing

Chapter 8 Hypothesis Testing Hypothesis In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test (or test of significance) is a standard procedure for testing

More information

Hypothesis testing - Steps

Hypothesis testing - Steps Steps to do a two-tailed test of the hypothesis that β 1 0: 1. Set up the hypotheses: H 0 : β 1 = 0 H a : β 1 0. 2. Compute the test statistic: t = b 1 0 Std. error of b 1 =

More information

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

Experimental Design Power and Sample Size Determination Bret Hanlon and Bret Larget Department of Statistics University of Wisconsin Madison November 3 8, 2011 To this point in the semester, we have largely

More information

NPTEL STRUCTURAL RELIABILITY

NPTEL Course On STRUCTURAL RELIABILITY Module # 02 Lecture 6 Course Format: Web Instructor: Dr. Arunasis Chakraborty Department of Civil Engineering Indian Institute of Technology Guwahati 6. Lecture 06:

More information

Hypothesis Testing --- One Mean

Hypothesis Testing --- One Mean A hypothesis is simply a statement that something is true. Typically, there are two hypotheses in a hypothesis test: the null, and the alternative. Null Hypothesis The hypothesis

More information

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

Lesson : Comparison of Population Means Part c: Comparison of Two- Means Welcome to lesson c. This third lesson of lesson will discuss hypothesis testing for two independent means. Steps in Hypothesis

More information

Testing a claim about a population mean

Introductory Statistics Lectures Testing a claim about a population mean One sample hypothesis test of the mean Department of Mathematics Pima Community College Redistribution of this material is prohibited

More information

Hypothesis testing and the error of the third kind

Psychological Test and Assessment Modeling, Volume 54, 22 (), 9-99 Hypothesis testing and the error of the third kind Dieter Rasch Abstract In this note it is shown that the concept of an error of the

More information

3.4 Statistical inference for 2 populations based on two samples

3.4 Statistical inference for 2 populations based on two samples Tests for a difference between two population means The first sample will be denoted as X 1, X 2,..., X m. The second sample will be denoted

More information

Lecture 8 Hypothesis Testing

Lecture 8 Hypothesis Testing Fall 2013 Prof. Yao Xie, yao.xie@isye.gatech.edu H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech Midterm 1 Score 46 students Highest score: 98 Lowest

More information

Hypothesis Testing for Beginners

Hypothesis Testing for Beginners Michele Piffer LSE August, 2011 Michele Piffer (LSE) Hypothesis Testing for Beginners August, 2011 1 / 53 One year ago a friend asked me to put down some easy-to-read notes

More information

Hypothesis Testing or How to Decide to Decide Edpsy 580

Hypothesis Testing or How to Decide to Decide Edpsy 580 Carolyn J. Anderson Department of Educational Psychology University of Illinois at Urbana-Champaign Hypothesis Testing or How to Decide to Decide

More information

Unit 29 Chi-Square Goodness-of-Fit Test

Unit 29 Chi-Square Goodness-of-Fit Test Objectives: To perform the chi-square hypothesis test concerning proportions corresponding to more than two categories of a qualitative variable To perform the Bonferroni

More information

Hypothesis Testing COMP 245 STATISTICS. Dr N A Heard. 1 Hypothesis Testing 2 1.1 Introduction... 2 1.2 Error Rates and Power of a Test...

Hypothesis Testing COMP 45 STATISTICS Dr N A Heard Contents 1 Hypothesis Testing 1.1 Introduction........................................ 1. Error Rates and Power of a Test.............................

More information

Lecture 10: Depicting Sampling Distributions of a Sample Proportion

Lecture 10: Depicting Sampling Distributions of a Sample Proportion Chapter 5: Probability and Sampling Distributions 2/10/12 Lecture 10 1 Sample Proportion 1 is assigned to population members having a

More information

Lecture 13 More on hypothesis testing

Lecture 13 More on hypothesis testing Thais Paiva STA 111 - Summer 2013 Term II July 22, 2013 1 / 27 Thais Paiva STA 111 - Summer 2013 Term II Lecture 13, 07/22/2013 Lecture Plan 1 Type I and type II error

More information

Hypothesis Testing. Mark Huiskes, LIACS Probability and Statistics, Mark Huiskes, LIACS, Lecture 10

Hypothesis Testing Mark Huiskes, LIACS mark.huiskes@liacs.nl Estimating sample standard deviation Suppose we have a sample x_1,, x_n Average: xbar = (x_1 + + x_n) / n Standard deviation estimate s? Two

More information

HypoTesting. Name: Class: Date: Multiple Choice Identify the choice that best completes the statement or answers the question.

Name: Class: Date: HypoTesting Multiple Choice Identify the choice that best completes the statement or answers the question. 1. A Type II error is committed if we make: a. a correct decision when the

More information

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

Comparison of frequentist and Bayesian inference. Class 20, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom 1 Learning Goals 1. Be able to explain the difference between the p-value and a posterior

More information

Chapter 1 Hypothesis Testing

Chapter 1 Hypothesis Testing Principles of Hypothesis Testing tests for one sample case 1 Statistical Hypotheses They are defined as assertion or conjecture about the parameter or parameters of a population,

More information

Hypothesis Testing: General Framework 1 1

Hypothesis Testing: General Framework Lecture 2 K. Zuev February 22, 26 In previous lectures we learned how to estimate parameters in parametric and nonparametric settings. Quite often, however, researchers

More information

HYPOTHESIS TESTING: POWER OF THE TEST

HYPOTHESIS TESTING: POWER OF THE TEST The first 6 steps of the 9-step test of hypothesis are called "the test". These steps are not dependent on the observed data values. When planning a research project,

More information

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

Sample Multiple Choice Questions for the material since Midterm 2. Sample questions from Midterms and 2 are also representative of questions that may appear on the final exam.. A randomly selected sample

More information

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

Summary of Formulas and Concepts Descriptive Statistics (Ch. 1-4) Definitions Population: The complete set of numerical information on a particular quantity in which an investigator is interested. We assume

More information

How to Conduct a Hypothesis Test

How to Conduct a Hypothesis Test The idea of hypothesis testing is relatively straightforward. In various studies we observe certain events. We must ask, is the event due to chance alone, or is there some

More information

Sampling and Hypothesis Testing

Population and sample Sampling and Hypothesis Testing Allin Cottrell Population : an entire set of objects or units of observation of one sort or another. Sample : subset of a population. Parameter versus

More information

Test of Hypotheses. Since the Neyman-Pearson approach involves two statistical hypotheses, one has to decide which one

Test of Hypotheses Hypothesis, Test Statistic, and Rejection Region Imagine that you play a repeated Bernoulli game: you win \$1 if head and lose \$1 if tail. After 10 plays, you lost \$2 in net (4 heads

More information

Calculating P-Values. Parkland College. Isela Guerra Parkland College. Recommended Citation

Parkland College A with Honors Projects Honors Program 2014 Calculating P-Values Isela Guerra Parkland College Recommended Citation Guerra, Isela, "Calculating P-Values" (2014). A with Honors Projects.

More information

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING In this lab you will explore the concept of a confidence interval and hypothesis testing through a simulation problem in engineering setting.

More information

Null Hypothesis Significance Testing Signifcance Level, Power, t-tests Spring 2014 Jeremy Orloff and Jonathan Bloom

Null Hypothesis Significance Testing Signifcance Level, Power, t-tests 18.05 Spring 2014 Jeremy Orloff and Jonathan Bloom Simple and composite hypotheses Simple hypothesis: the sampling distribution is

More information

Classical Hypothesis Testing and GWAS

Department of Computer Science Brown University, Providence sorin@cs.brown.edu September 15, 2014 Outline General Principles Classical statistical hypothesis testing involves the test of a null hypothesis

More information

1 SAMPLE SIGN TEST. Non-Parametric Univariate Tests: 1 Sample Sign Test 1. A non-parametric equivalent of the 1 SAMPLE T-TEST.

Non-Parametric Univariate Tests: 1 Sample Sign Test 1 1 SAMPLE SIGN TEST A non-parametric equivalent of the 1 SAMPLE T-TEST. ASSUMPTIONS: Data is non-normally distributed, even after log transforming.

More information

Introduction to Hypothesis Testing

I. Terms, Concepts. Introduction to Hypothesis Testing A. In general, we do not know the true value of population parameters - they must be estimated. However, we do have hypotheses about what the true

More information

Hypothesis Testing Introduction

Hypothesis Testing Introduction Hypothesis: A conjecture about the distribution of some random variables. A hypothesis can be simple or composite. A simple hypothesis completely specifies the distribution.

More information

Chapter 2. Hypothesis testing in one population

Chapter 2. Hypothesis testing in one population Contents Introduction, the null and alternative hypotheses Hypothesis testing process Type I and Type II errors, power Test statistic, level of significance

More information

Chapter 4: Statistical Hypothesis Testing

Chapter 4: Statistical Hypothesis Testing Christophe Hurlin November 20, 2015 Christophe Hurlin () Advanced Econometrics - Master ESA November 20, 2015 1 / 225 Section 1 Introduction Christophe Hurlin

More information

Hypothesis Testing Introduction

Hypothesis Testing Introduction Hypothesis: A conjecture about the distribution of some random variables. For example, a claim about the value of a parameter of the statistical model. A hypothesis can

More information

Stat 5102 Notes: Nonparametric Tests and. confidence interval

Stat 510 Notes: Nonparametric Tests and Confidence Intervals Charles J. Geyer April 13, 003 This handout gives a brief introduction to nonparametrics, which is what you do when you don t believe the assumptions

More information

Tests for Two Proportions

Chapter 200 Tests for Two Proportions Introduction This module computes power and sample size for hypothesis tests of the difference, ratio, or odds ratio of two independent proportions. The test statistics

More information

Chapter 9: Hypothesis Testing Sections

Chapter 9: Hypothesis Testing Sections 9.1 Problems of Testing Hypotheses Skip: 9.2 Testing Simple Hypotheses Skip: 9.3 Uniformly Most Powerful Tests Skip: 9.4 Two-Sided Alternatives 9.5 The t Test 9.6

More information

Likelihood Approaches for Trial Designs in Early Phase Oncology

Likelihood Approaches for Trial Designs in Early Phase Oncology Clinical Trials Elizabeth Garrett-Mayer, PhD Cody Chiuzan, PhD Hollings Cancer Center Department of Public Health Sciences Medical University

More information

Solutions for the exam for Matematisk statistik och diskret matematik (MVE050/MSG810). Statistik för fysiker (MSG820). December 15, 2012.

Solutions for the exam for Matematisk statistik och diskret matematik (MVE050/MSG810). Statistik för fysiker (MSG8). December 15, 12. 1. (3p) The joint distribution of the discrete random variables X and

More information

Review #2. Statistics

Review #2 Statistics Find the mean of the given probability distribution. 1) x P(x) 0 0.19 1 0.37 2 0.16 3 0.26 4 0.02 A) 1.64 B) 1.45 C) 1.55 D) 1.74 2) The number of golf balls ordered by customers of

More information

Chapter 2: Data quantifiers: sample mean, sample variance, sample standard deviation Quartiles, percentiles, median, interquartile range Dot diagrams

Review for Final Chapter 2: Data quantifiers: sample mean, sample variance, sample standard deviation Quartiles, percentiles, median, interquartile range Dot diagrams Histogram Boxplots Chapter 3: Set

More information

The Neyman-Pearson lemma. The Neyman-Pearson lemma

The Neyman-Pearson lemma In practical hypothesis testing situations, there are typically many tests possible with significance level α for a null hypothesis versus alternative hypothesis. This leads to

More information

Basic concepts and introduction to statistical inference

Basic concepts and introduction to statistical inference Anna Helga Jonsdottir Gunnar Stefansson Sigrun Helga Lund University of Iceland (UI) Basic concepts 1 / 19 A review of concepts Basic concepts Confidence

More information

Chapter 4 Statistical Inference in Quality Control and Improvement. Statistical Quality Control (D. C. Montgomery)

Chapter 4 Statistical Inference in Quality Control and Improvement 許 湘 伶 Statistical Quality Control (D. C. Montgomery) Sampling distribution I a random sample of size n: if it is selected so that the

More information

Lecture Notes Module 1

Lecture Notes Module 1 Study Populations A study population is a clearly defined collection of people, animals, plants, or objects. In psychological research, a study population usually consists of a specific

More information

9Tests of Hypotheses. for a Single Sample CHAPTER OUTLINE

9Tests of Hypotheses for a Single Sample CHAPTER OUTLINE 9-1 HYPOTHESIS TESTING 9-1.1 Statistical Hypotheses 9-1.2 Tests of Statistical Hypotheses 9-1.3 One-Sided and Two-Sided Hypotheses 9-1.4 General

More information

13 Two-Sample T Tests

www.ck12.org CHAPTER 13 Two-Sample T Tests Chapter Outline 13.1 TESTING A HYPOTHESIS FOR DEPENDENT AND INDEPENDENT SAMPLES 270 www.ck12.org Chapter 13. Two-Sample T Tests 13.1 Testing a Hypothesis for

More information

Hypothesis Test for Mean Using Given Data (Standard Deviation Known-z-test)

Hypothesis Test for Mean Using Given Data (Standard Deviation Known-z-test) A hypothesis test is conducted when trying to find out if a claim is true or not. And if the claim is true, is it significant.

More information

Hypothesis Testing: p-value

STAT 101 Dr. Kari Lock Morgan Paul the Octopus Hypothesis Testing: SECTION 4.2 andomization distribution http://www.youtube.com/watch?v=3esgpumj9e Hypotheses In 2008, Paul the Octopus predicted 8 World

More information

Normal Distribution. Definition A continuous random variable has a normal distribution if its probability density. f ( y ) = 1.

Normal Distribution Definition A continuous random variable has a normal distribution if its probability density e -(y -µ Y ) 2 2 / 2 σ function can be written as for < y < as Y f ( y ) = 1 σ Y 2 π Notation:

More information

Two-sample inference: Continuous data

Two-sample inference: Continuous data Patrick Breheny April 5 Patrick Breheny STA 580: Biostatistics I 1/32 Introduction Our next two lectures will deal with two-sample inference for continuous data As

More information

Hypothesis tests, confidence intervals, and bootstrapping

Hypothesis tests, confidence intervals, and bootstrapping Business Statistics 41000 Fall 2015 1 Topics 1. Hypothesis tests Testing a mean: H0 : µ = µ 0 Testing a proportion: H0 : p = p 0 Testing a difference

More information

Chapter 9, Part A Hypothesis Tests. Learning objectives

Chapter 9, Part A Hypothesis Tests Slide 1 Learning objectives 1. Understand how to develop Null and Alternative Hypotheses 2. Understand Type I and Type II Errors 3. Able to do hypothesis test about population

More information

Chapter 11-12 1 Review

Chapter 11-12 Review Name 1. In formulating hypotheses for a statistical test of significance, the null hypothesis is often a statement of no effect or no difference. the probability of observing the data

More information

CHAPTER 15: Tests of Significance: The Basics

CHAPTER 15: Tests of Significance: The Basics The Basic Practice of Statistics 6 th Edition Moore / Notz / Fligner Lecture PowerPoint Slides Chapter 15 Concepts 2 The Reasoning of Tests of Significance

More information

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

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Objectives: To perform a hypothesis test concerning the slope of a least squares line To recognize that testing for a

More information

Homework 6 Solutions

Math 17, Section 2 Spring 2011 Assignment Chapter 20: 12, 14, 20, 24, 34 Chapter 21: 2, 8, 14, 16, 18 Chapter 20 20.12] Got Milk? The student made a number of mistakes here: Homework 6 Solutions 1. Null

More information

Chapter Five: Paired Samples Methods 1/38

Chapter Five: Paired Samples Methods 1/38 5.1 Introduction 2/38 Introduction Paired data arise with some frequency in a variety of research contexts. Patients might have a particular type of laser surgery

More information

3. Nonparametric methods

3. Nonparametric methods If the probability distributions of the statistical variables are unknown or are not as required (e.g. normality assumption violated), then we may still apply nonparametric tests

More information

Multiple random variables

Multiple random variables Multiple random variables We essentially always consider multiple random variables at once. The key concepts: Joint, conditional and marginal distributions, and independence of

More information

Hypothesis Testing - II

-3σ -2σ +σ +2σ +3σ Hypothesis Testing - II Lecture 9 0909.400.01 / 0909.400.02 Dr. P. s Clinic Consultant Module in Probability & Statistics in Engineering Today in P&S -3σ -2σ +σ +2σ +3σ Review: Hypothesis

More information

Name: Date: Use the following to answer questions 3-4:

Name: Date: 1. Determine whether each of the following statements is true or false. A) The margin of error for a 95% confidence interval for the mean increases as the sample size increases. B) The margin

More information

Chapter 21. More About Tests and Intervals. Copyright 2012, 2008, 2005 Pearson Education, Inc.

Chapter 21 More About Tests and Intervals Copyright 2012, 2008, 2005 Pearson Education, Inc. Zero In on the Null Null hypotheses have special requirements. To perform a hypothesis test, the null must be

More information

Chicago Booth BUSINESS STATISTICS 41000 Final Exam Fall 2011

Chicago Booth BUSINESS STATISTICS 41000 Final Exam Fall 2011 Name: Section: I pledge my honor that I have not violated the Honor Code Signature: This exam has 34 pages. You have 3 hours to complete this

More information

Hypothesis Testing I

ypothesis Testing I The testing process:. Assumption about population(s) parameter(s) is made, called null hypothesis, denoted. 2. Then the alternative is chosen (often just a negation of the null hypothesis),

More information

STA218 Introduction to Hypothesis Testing

STA218 Introduction to Hypothesis Testing Al Nosedal. University of Toronto. Fall 2015 October 29, 2015 Who wants to be a millionaire? Let s say that one of you is invited to this popular show. As you

More information

Normal distribution. ) 2 /2σ. 2π σ

Normal distribution The normal distribution is the most widely known and used of all distributions. Because the normal distribution approximates many natural phenomena so well, it has developed into a

More information

You flip a fair coin four times, what is the probability that you obtain three heads.

Handout 4: Binomial Distribution Reading Assignment: Chapter 5 In the previous handout, we looked at continuous random variables and calculating probabilities and percentiles for those type of variables.

More information

Principles of Hypothesis Testing for Public Health

Principles of Hypothesis Testing for Public Health Laura Lee Johnson, Ph.D. Statistician National Center for Complementary and Alternative Medicine johnslau@mail.nih.gov Fall 2011 Answers to Questions

More information

1 Confidence intervals

Math 143 Inference for Means 1 Statistical inference is inferring information about the distribution of a population from information about a sample. We re generally talking about one of two things: 1.

More information

4. Continuous Random Variables, the Pareto and Normal Distributions

4. Continuous Random Variables, the Pareto and Normal Distributions A continuous random variable X can take any value in a given range (e.g. height, weight, age). The distribution of a continuous random

More information

Homework 5 Solutions

Math 130 Assignment Chapter 18: 6, 10, 38 Chapter 19: 4, 6, 8, 10, 14, 16, 40 Chapter 20: 2, 4, 9 Chapter 18 Homework 5 Solutions 18.6] M&M s. The candy company claims that 10% of the M&M s it produces

More information

Point Biserial Correlation Tests

Chapter 807 Point Biserial Correlation Tests Introduction The point biserial correlation coefficient (ρ in this chapter) is the product-moment correlation calculated between a continuous random variable

More information

Power and Sample Size Determination

Power and Sample Size Determination Bret Hanlon and Bret Larget Department of Statistics University of Wisconsin Madison November 3 8, 2011 Power 1 / 31 Experimental Design To this point in the semester,

More information

11-2 Goodness of Fit Test

11-2 Goodness of Fit Test In This section we consider sample data consisting of observed frequency counts arranged in a single row or column (called a one-way frequency table). We will use a hypothesis

More information

Hypothesis testing S2

Basic medical statistics for clinical and experimental research Hypothesis testing S2 Katarzyna Jóźwiak k.jozwiak@nki.nl 2nd November 2015 1/43 Introduction Point estimation: use a sample statistic to

More information

STT315 Chapter 4 Random Variables & Probability Distributions KM. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables Discrete vs. continuous random variables Examples of continuous distributions o Uniform o Exponential o Normal Recall: A random

More information

Practice problems for Homework 12 - confidence intervals and hypothesis testing. Open the Homework Assignment 12 and solve the problems.

Practice problems for Homework 1 - confidence intervals and hypothesis testing. Read sections 10..3 and 10.3 of the text. Solve the practice problems below. Open the Homework Assignment 1 and solve the

More information

Module 5 Hypotheses Tests: Comparing Two Groups

Module 5 Hypotheses Tests: Comparing Two Groups Objective: In medical research, we often compare the outcomes between two groups of patients, namely exposed and unexposed groups. At the completion of this

More information

Measuring the Power of a Test

Textbook Reference: Chapter 9.5 Measuring the Power of a Test An economic problem motivates the statement of a null and alternative hypothesis. For a numeric data set, a decision rule can lead to the rejection

More information

Chapter 5. The Goodness-of-Fit Test. 5.1 Dice, Genetics and Computers

Chapter 5 The Goodness-of-Fit Test 5.1 Dice, Genetics and Computers The CM of casting a die was introduced in Chapter 1. I argued that, in my opinion, it is always reasonable to assume that successive

More information