Essential Questions How do we use simulations and hypothesis testing to compare treatments from a randomized experiment?

Slides:



Advertisements
Similar presentations
Introduction to Basic Statistical Methodology. CHAPTER 1 ~ Introduction ~
Advertisements

Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Tests of Significance about Percents Reading Handout # 6.
Statistics: Purpose, Approach, Method. The Basic Approach The basic principle behind the use of statistical tests of significance can be stated as: Compare.
A statistical hypothesis is an assumption about a population parameter. This assumption may or may not be true
ENGR 4296 – Senior Design II Question: How do you establish your “product” is better or your experiment was a success? Objectives: Sources of Variability.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Warm Up The box-and-whisker plot shows the test scores in Mrs. Howard’s first period math class. 1. Find the minimum, maximum, median, and quartile values.
8-4 Significance of Experimental Results Warm Up Lesson Presentation
SECTION 12.2 Tests About a Population Proportion.
Objectives Use simulations and hypothesis testing to compare treatments from a randomized experiment.
Section 9.1 ~ Fundamentals of Hypothesis Testing Introduction to Probability and Statistics Ms. Young.
12.1 Inference for A Population Proportion.  Calculate and analyze a one proportion z-test in order to generalize about an unknown population proportion.
Hypothesis Testing “Teach A Level Maths” Statistics 2 Hypothesis Testing © Christine Crisp.
Chapter 10: Hypothesis Testing
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
Hypotheses Testing. Example 1 We have tossed a coin 50 times and we got k = 19 heads Should we accept/reject the hypothesis that p = 0.5 (the coin is.
Statistics for the Social Sciences Psychology 340 Fall 2006 Hypothesis testing.
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Overview Parameters and Statistics Probabilities The Binomial Probability Test.
Statistics for the Social Sciences Psychology 340 Spring 2005 Hypothesis testing.
Statistics for the Social Sciences Psychology 340 Fall 2006 Hypothesis testing.
INFERENTIAL STATISTICS – Samples are only estimates of the population – Sample statistics will be slightly off from the true values of its population’s.
Chapter Ten Introduction to Hypothesis Testing. Copyright © Houghton Mifflin Company. All rights reserved.Chapter New Statistical Notation The.
Overview of Statistical Hypothesis Testing: The z-Test
Hypothesis Testing. Central Limit Theorem Hypotheses and statistics are dependent upon this theorem.
Estimation and Hypothesis Testing. The Investment Decision What would you like to know? What will be the return on my investment? Not possible PDF for.
Tuesday, September 10, 2013 Introduction to hypothesis testing.
Tests of significance & hypothesis testing Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
Let’s flip a coin. Making Data-Based Decisions We’re going to flip a coin 10 times. What results do you think we will get?
STATISTICAL INFERENCE PART VII
1 Today Null and alternative hypotheses 1- and 2-tailed tests Regions of rejection Sampling distributions The Central Limit Theorem Standard errors z-tests.
Significance Testing Statistical testing of the mean (z test)
Chapter 9: Hypothesis Testing 9.1 Introduction to Hypothesis Testing Hypothesis testing is a tool you use to make decision from data. Something you usually.
Copyright ©2011 Nelson Education Limited Large-Sample Tests of Hypotheses CHAPTER 9.
Significance Tests: THE BASICS Could it happen by chance alone?
Unit 8 Section : z Test for a Mean  Many hypotheses are tested using the generalized statistical formula: Test value = (Observed Value)-(expected.
Hypothesis Testing Introduction to Statistics Chapter 8 Mar 2-4, 2010 Classes #13-14.
Introduction to Probability and Statistics Thirteenth Edition Chapter 9 Large-Sample Tests of Hypotheses.
Chi Square Analysis  Use to see if the observed value varies from the expected value.  Null Hypothesis – There is no difference between the observed.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Statistical Inference Statistical Inference involves estimating a population parameter (mean) from a sample that is taken from the population. Inference.
Statistics 101 Chapter 10 Section 2. How to run a significance test Step 1: Identify the population of interest and the parameter you want to draw conclusions.
MATH 2400 Ch. 15 Notes.
Statistical Significance and  (alpha) level Lesson
Bell Work 89 The following is a list of test scores from Mrs. Howard’s second period math class: 82, 83, 85, 87, 87, 87, 89, 90, 91, 95, 97, Find.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Hypothesis Testing An understanding of the method of hypothesis testing is essential for understanding how both the natural and social sciences advance.
Welcome to MM570 Psychological Statistics
Holt McDougal Algebra 2 Surveys, Experiments, and Observational studies How do I focus on the commonalities and differences between surveys, experiments,
Hypothesis Testing Notes. Hypothesis Testing  Is used to determine whether the difference in two groups is likely to be caused by chance  If you flip.
12.1 Inference for A Population Proportion.  Calculate and analyze a one proportion z-test in order to generalize about an unknown population proportion.
Copyright © 2005 Pearson Education, Inc. Slide 6-1.
Introduction Suppose that a pharmaceutical company is concerned that the mean potency  of an antibiotic meet the minimum government potency standards.
Hypothesis Testing. Central Limit Theorem Hypotheses and statistics are dependent upon this theorem.
Testing a Single Mean Module 16. Tests of Significance Confidence intervals are used to estimate a population parameter. Tests of Significance or Hypothesis.
Holt McDougal Algebra Measures of Central Tendency and Variation Work through the notes Then complete the class work next to this document on the.
Copyright © 2009 Pearson Education, Inc. 9.2 Hypothesis Tests for Population Means LEARNING GOAL Understand and interpret one- and two-tailed hypothesis.
Lesson Runs Test for Randomness. Objectives Perform a runs test for randomness Runs tests are used to test whether it is reasonable to conclude.
Warm Up Exercise Warm Up Write down the four steps to confidence interval. 2.
Hypothesis Testing Involving One Population Chapter 11.4, 11.5, 11.2.
DSCI 346 Yamasaki Lecture 1 Hypothesis Tests for Single Population DSCI 346 Lecture 1 (22 pages)1.
Holt McDougal Algebra Significance of Experimental Results 8-4 Significance of Experimental Results Holt Algebra 2 Warm Up Warm Up Lesson Presentation.
9.3 Hypothesis Tests for Population Proportions
One sample Tests & Intervals on the Calculator
Making Data-Based Decisions
Chi square.
Chapter 11: Introduction to Hypothesis Testing Lecture 5b
Significance of Experimental Results
8-4 Significance of Experimental Results Warm Up Lesson Presentation
Chi square.
Presentation transcript:

Essential Questions How do we use simulations and hypothesis testing to compare treatments from a randomized experiment?

Suppose you flipped a coin 20 times Suppose you flipped a coin 20 times. Even if the coin were fair, you would not necessarily get exactly 10 heads and 10 tails. But what if you got 15 heads and 5 tails, or 20 heads and no tails? You might start to think that the coin was not a fair coin, after all. Hypothesis testing is used to determine whether the difference in two groups is likely to be caused by chance.

For example, when tossing a coin 20 times, 11 heads and 9 tails is likely to occur if the coin is fair, but if you tossed 19 heads and 1 tail, you could say it was not likely to be a fair coin. To understand why, calculate the number of possible ways each result could happen. There are 220 possible sequences of flips. Of these, how many fit the description ‘19 heads, 1 tails’ and how many fit the description, ‘11 heads, 9 tails’?

Since there are = 8398 times as many sequences that fit the latter description as the first, the result ‘11 heads, 9 tails’ is 8398 times as likely as the result of ‘19 heads, 1 tails’! Therefore, it is very unlikely that a coin that flipped 19 heads and only 1 tails was a fair coin. 167,960 20 However, that outcome, while unlikely, is still possible. Hypothesis testing cannot prove that a coin is unfair – it is still possible for a coin to come up with 19 heads by chance, it is just very unlikely. Therefore, you can only say how likely or unlikely a coin is to be biased.

Hypothesis testing begins with an assumption called the null hypothesis. The null hypothesis states that there is no difference between the two groups being tested. The purpose of hypothesis testing is to use experimental data to test the viability of the null hypothesis. The word null means “zero,” so the null hypothesis is that the difference between the two groups is zero. Helpful Hint

Example 1 : Analyzing a Controlled Experiment A researcher is testing whether a certain medication for raising glucose levels is more effective at higher doses. In a random trial, fasting glucose levels of 5 patients being treated at a normal dose (Group A) and 5 patients being treated at a high dose (Group B) were recorded. The glucose levels in mmol/L are shown below. A. State the null hypothesis for the experiment. The glucose levels of the drug will be the same for the control group (A) and the treatment group (B).

Example 1: Continued B. Compare the results for the control group and the treatment group. Do you think that the researcher has enough evidence to reject the null hypothesis? Make a box-and-whisker plot for each Minimum Median Maximum Minimum Median Maximum 4.3, 4.6, 4.8, 5.4, 5.7 4.2, 4.9, 5.1, 5.5, 5.9 First quartile 4.45 Third quartile 5.55 First quartile 4.55 Third quartile 5.7

Example 1: Continued There is a small difference in the two groups that is likely to be caused by chance. If anything, the treatment group actually shows a tendency toward higher glucose levels. The researcher cannot reject the null hypothesis, which means that the medication is probably just as effective at the normal dose as it is at the high dose.

Example 2: Analyzing a Controlled Experiment A teacher wants to know if students in her morning class do better on a test than students in her afternoon class. She compares the test scores of 10 randomly chosen students in each class. Morning class: 76,81,71, 80,88,66,79,67,85,68 Afternoon class: 80,91,74,92,80,80,88,67,75,78 a. State the null hypothesis. The students in the morning class will have the same test scores as the students in the afternoon class

Example 2 continued b. Compare the results of the two groups. Does the teacher have enough evidence to reject the null hypothesis? Morning class: 76,81,71, 80,88,66,79,67,85,68 Afternoon class: 80,91,74,92,80,80,88,67,75,78 Maximum Minimum Median: 77.5 66, 67, 68, 71, 76, 79, 80, 81, 85, 88 First quartile Third quartile Median: 80 Maximum Minimum 67, 74, 75, 78, 80, 80, 80, 88, 91, 92 First quartile Third quartile

Example 2 continued Yes; there is a large difference in the test scores of the two classes. The teacher does have enough evidence to reject the null hypothesis, so she can conclude that students in her afternoon class perform better on tests.

Lesson 2.1 Practice A Worksheet

Essential Questions How do we use simulations and hypothesis testing to compare treatments from a randomized experiment?

Hypothesis testing can be used to compare the mean from a sample to the mean of a population. If the sample contains at least 30 individuals, you can use the z-test. Suppose that the population mean is estimated to be m, and a random sample has n individuals. To find the z-value of a statistic, you need to know the sample mean and standard deviation s. The z-value is found by using the following formula: The null hypothesis would be where the sample mean and the population mean are the same. z = 0 One common measure used in z-tests is known as a 95% confidence level: If |z| > 1.96, then you reject the null hypothesis with 95% certainty. If |z| < 1.96, then you do not have enough evidence to reject the null hypothesis.

Example 3 : Using a Z-Test A test prep company claims that its private tutoring can boost SAT scores to an average of 2000. In a random sample of 49 students who were privately tutored, the average was 1910, with a standard deviation of 150. Is there enough evidence to reject the claim? = -4.2 There is enough evidence to reject the null hypothesis.

Example 4: Using a Z-Test A tax preparer claims an average refund of $3000. In a random sample of 40 clients, the average refund was $2600, and the standard deviation was $300. Is there enough evidence to reject his claim? There is enough evidence to reject the null hypothesis.

Lesson 2.1 Practice B Worksheet Textbook page 40, #7-9, 11-13