Section 7.1 Hypothesis Testing: Hypothesis: Null Hypothesis (H 0 ): Alternative Hypothesis (H 1 ): a statistical analysis used to decide which of two competing.

Slides:



Advertisements
Similar presentations
Statistics Hypothesis Testing.
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)
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Inference Sampling distributions Hypothesis testing.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
INFERENCE: SIGNIFICANCE TESTS ABOUT HYPOTHESES Chapter 9.
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Chap 9: Testing Hypotheses & Assessing Goodness of Fit Section 9.1: INTRODUCTION In section 8.2, we fitted a Poisson dist’n to counts. This chapter will.
Likelihood ratio tests
Class Handout #3 (Sections 1.8, 1.9)
Hypothesis Testing: One Sample Mean or Proportion
Section 7.2 Tables and summarize hypothesis tests about one mean. (These tests assume that the sample is taken from a normal distribution,
Pengujian Hipotesis Nilai Tengah Pertemuan 19 Matakuliah: I0134/Metode Statistika Tahun: 2007.
Elementary hypothesis testing Purpose of hypothesis testing Type of hypotheses Type of errors Critical regions Significant levels Hypothesis vs intervals.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
Section 7.4 Table summarizes hypothesis tests about one variance (standard deviation). (These tests assume that the sample is taken from a normal.
Business Statistics - QBM117 Testing hypotheses about a population mean.
5-3 Inference on the Means of Two Populations, Variances Unknown
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
Statistical Inference for Two Samples
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
1 © Lecture note 3 Hypothesis Testing MAKE HYPOTHESIS ©
Descriptive statistics Inferential statistics
Introduction to Biostatistics and Bioinformatics
Testing Hypotheses About Proportions
Hypothesis Testing (Statistical Significance). Hypothesis Testing Goal: Make statement(s) regarding unknown population parameter values based on sample.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
More About Significance Tests
Overview Basics of Hypothesis Testing
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
Topics: Statistics & Experimental Design The Human Visual System Color Science Light Sources: Radiometry/Photometry Geometric Optics Tone-transfer Function.
Hypothesis Testing for Proportions
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
Chapter 20 Testing hypotheses about proportions
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 20 Testing Hypotheses About Proportions.
1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method.
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
1 Chapter 8 Hypothesis Testing 8.2 Basics of Hypothesis Testing 8.3 Testing about a Proportion p 8.4 Testing about a Mean µ (σ known) 8.5 Testing about.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
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.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Chapter 20 Testing Hypothesis about proportions
Section 3.3: The Story of Statistical Inference Section 4.1: Testing Where a Proportion Is.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
MeanVariance Sample Population Size n N IME 301. b = is a random value = is probability means For example: IME 301 Also: For example means Then from standard.
Hypothesis Testing. “Not Guilty” In criminal proceedings in U.S. courts the defendant is presumed innocent until proven guilty and the prosecutor must.
AP Statistics Section 11.1 B More on Significance Tests.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Introduction to Hypothesis Testing
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.2 Tests About a Population.
1 Chapter9 Hypothesis Tests Using a Single Sample.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
Slide 20-1 Copyright © 2004 Pearson Education, Inc.
A.P. STATISTICS EXAM REVIEW TOPIC #2 Tests of Significance and Confidence Intervals for Means and Proportions Chapters
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Hypothesis Testing Chapter Hypothesis Testing  Developing Null and Alternative Hypotheses  Type I and Type II Errors  One-Tailed Tests About.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Chapter 9 Hypothesis Testing.
Hypothesis Testing for Proportions
Hypothesis Testing: Preliminaries
Chapter 9 Hypothesis Testing.
Daniela Stan Raicu School of CTI, DePaul University
Confidence Intervals.
Testing a Claim About a Mean:  Known
Presentation transcript:

Section 7.1 Hypothesis Testing: Hypothesis: Null Hypothesis (H 0 ): Alternative Hypothesis (H 1 ): a statistical analysis used to decide which of two competing hypotheses should be believed (analogous to a court trial) a statement often involving the value of a parameter in a distribution that we want to decide whether or not to believe; the hypothesis is called simple if it specifies only one possible value and is called composite if it specifies multiple possible values a statement assumed to be true at the outset of a hypothesis test (comparable to “innocence” in a court trial) a statement for which sufficient evidence is required before it will be believed (comparable to “guilt” in a court trial)

Critical (Rejection) Region: Type I Error: Type II Error:   p-value (probability value): a set describing the observed results of data collection that will lead to rejecting H 0 rejecting H 0 and accepting H 1 when H 0 is true (in a court trial, saying that the defendant is guilty when the defendant is really innocent) failing to reject H 0 when H 1 is true (in a court trial, saying that the defendant is innocent when the defendant is really guilty) denotes the probability of making a Type I error and is called the significance level of the test denotes the probability of making a Type II error the probability of observing data as supportive or more supportive of H 1 than the actual data, calculated by assuming H 0 is true

Tables and summarize hypothesis tests about one or two proportions (for sufficiently large sample size(s)). 1. Do Text Exercise three different ways: First Way (a) Let C 0 = {x | x  0} be the critical region. (b)  = P{x : x  0; p = 3/5} = P{X = 0; p = 3/5} = (2/5) 4 = 16/625 =  = P{x : x > 0; p = 2/5} = P{X > 0; p = 2/5} = 1 – (3/5) 4 = 1 – 81/625 =1 – P{X = 0; p = 2/5} = 544/625 =

Second Way (a) Let C 1 = {x | x  1} be the critical region. (b)  = P{x : x  1; p = 3/5} = P{X = 0; p = 3/5} + P{X = 1; p = 3/5} = (2/5) 4 + (4)(3/5)(2/5) 3 = 16/ /625 =  = P{x : x > 1; p = 2/5} = P{X > 1; p = 2/5} = 1 – [(3/5) 4 + (4)(2/5)(3/5) 3 ] = 1 – 297/625 = 1 – [P{X = 0; p = 2/5} + P{X = 1; p = 2/5}] = 328/625 =

1.-continued Third Way (a) Let C 2 = {x | x  2} be the critical region. (b)  = P{x : x  2; p = 3/5} = P{X = 0; p = 3/5} + P{X = 1; p = 3/5} + P{X = 2; p = 3/5} = (2/5) 4 + (4)(3/5)(2/5) 3 + (6)(3/5) 2 (2/5) 2 = 16/ / /625 =  = P{x : x > 2; p = 2/5} = P{X > 2; p = 2/5} = (4)(2/5) 3 (3/5) + (2/5) 4 = 96/ /625 = P{X = 3; p = 2/5} + P{X = 4; p = 2/5} = 328/625 =

2. (a) A bowl contains 2 red balls and 3 other balls each of which is either red or white. Let p denote the probability of drawing at random a red ball from the bowl. Consider testing H 0 : p = 2/5 vs. H 1 : p > 2/5. Drawing ten balls from the bowl one at a time at random and with replacement, we let X equal the number of red balls drawn, and we define the critical region to be C = {x | x  6}. Calculate .  = P{x : x  6; p = 2/5} =P{X  6; p = 2/5} = 1 – P{X  5; p = 2/5} = 1 – = (from Table II in Appendix B)

2.-continued (b) Calculate  if p = 3/5. If p = 3/5,  = P{x : x  5; p = 3/5} =P{X  5; p = 3/5} = P{10 – X  5; 1 – p = 2/5} =1 – P{10 – X  4; 1– p = 2/5} = 1 – = (from Table II in Appendix B)

(c) (d) Calculate  if p = 4/5. Calculate  if p = 1. If p = 4/5,  = P{x : x  5; p = 4/5} =P{X  5; p = 4/5} = P{10 – X  5; 1 – p = 1/5} =1 – P{10 – X  4; 1– p = 1/5} = 1 – = (from Table II in Appendix B) If p = 1,  = P{x : x  5; p = 1} = 0

3. Do Text Exercise and calculate  if p = (a) (b) Let Y = the number of ones (1s) observed in 8000 rolls The test statistic is z = The one-sided critical region with  = 0.05 is y / 8000 – 1/6 ————————  (1/6)(5/6) / 8000 z  z 0.95 = – z 0.05 = – With y = 1265, we have z = 1265 / 8000 – 1/6 ———————— =  (1/6)(5/6) / 8000 – 2.05 Since z = – 2.05 < – z 0.05 = – 1.645, we reject H 0. We conclude that the probability of rolling a one (1) is less than 1/6.

Since H 0 is rejected. we expect the hypothesized proportion 1/6 not to be in the confidence interval: 1265 / 8000   (1265 / 8000)(6735 / 8000) / , (c) If p = 0.15,  =P{z : z  – 1.645; p = 0.15} = y / 8000 – 1/6 P ————————  – ; p = 0.15 =  (1/6)(5/6) / 8000 y / 8000 – (0.15 – 1/6) P ————————————  – ; p = 0.15 =  (1/6)(5/6) / 8000 Find a two-sided 95% confidence interval, instead of the one-sided interval.

y / 8000 – 0.151/6 – 0.15 P ————————  ———————— – ; p = 0.15 =  (1/6)(5/6) / 8000  (1/6)(5/6) / 8000 y / 8000 – (0.15 – 1/6) P ————————————  – ; p = 0.15 =  (1/6)(5/6) / 8000 y / 8000 – 0.151/6 – 0.15 P ————————  ———————— – ; p = 0.15 =  (0.15)(0.85) / 8000  (0.15)(0.85) / 8000 P(Z  2.46) = 1 –  (2.46) = 1 – =0.0069

4. Do Text Exercise (a) (b) (c) Let Y = number of yellow candies observed in n random candies The test statistic is z = The two-sided critical region with  = 0.05 is p – 0.2 ——————  (0.2)(0.8) / n |z|  H 0 is rejected when p = 5/54, but H 0 is not rejected for each of the other 19 samples. If H 0 is true, then when this hypothesis test is performed repeatedly, H 0 will be rejected 5% of the time in the long run.

(d) (e) If 95% confidence intervals for p are repeatedly obtained, then 95% of the intervals in the long run will contain p. If the 20 samples are pooled, then, p = 219 —— 1124 We have z = 219 / 1124 – 0.2 ———————— =  (0.2)(0.8) / 1124 – 0.43 Since z = – 0.43, and |z| < z = 1.960, we fail to reject H 0. We conclude that the proportion of yellow candies produced is not different from 0.2.

5. Do Text Exercise (a) (b) The test statistic is z = The one-sided critical region with  = 0.05 is p 1 – p 2 —————————  p(1 – p)(1/n 1 + 1/n 2 ) z  p1 =p1 =p2 =p2 = p =p = 135 / 900 = / 700 = / 1600 = z = Since z = 2.341, and z  z 0.05 = 1.645, we reject H 0. We conclude that the proportion of babies with low birth weight is higher for developing countries in Africa than for developing countries in the Americas.

(c) (d) The one-sided critical region with  = 0.01 is z  Since z =  z 0.01 = 2.326, we would still reject H 0. The p-value of the test is p 1 – p 2 —————————  p(1 – p)(1/n 1 + 1/n 2 ) P  ; p 1 = p 2 = P(Z  2.341) = 1 –  (2.341) = 1 – =0.0096