June 14. In Chapter 9: 9.1 Null and Alternative Hypotheses 9.2 Test Statistic 9.3 P-Value 9.4 Significance Level 9.5 One-Sample z Test 9.6 Power and Sample.

Slides:



Advertisements
Similar presentations
Introduction to Hypothesis Testing
Advertisements

Introductory Mathematics & Statistics for Business
Chapter 7 Sampling and Sampling Distributions
Chapter 17/18 Hypothesis Testing
Chapter 7 Hypothesis Testing
Chapter 9 Introduction to the t-statistic
“Students” t-test.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Statistical Inferences Based on Two Samples
CHAPTER 15: Tests of Significance: The Basics Lecture PowerPoint Slides The Basic Practice of Statistics 6 th Edition Moore / Notz / Fligner.
January Structure of the book Section 1 (Ch 1 – 10) Basic concepts and techniques Section 2 (Ch 11 – 15): Inference for quantitative outcomes Section.
HYPOTHESIS TESTING Four Steps Statistical Significance Outcomes Sampling Distributions.
HS 167Basics of Hypothesis Testing1 (a)Review of Inferential Basics (b)Hypothesis Testing Procedure (c)One-Sample z Test (σ known) (d)One-sample t test.
Chapters 9 (NEW) Intro to Hypothesis Testing
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
8 - 10: Intro to Statistical Inference
7/2/2015Basics of Significance Testing1 Chapter 15 Tests of Significance: The Basics.
Basic Biostat8: Intro to Statistical Inference1. In Chapter 8: 8.1 Concepts 8.2 Sampling Behavior of a Mean 8.3 Sampling Behavior of a Count and Proportion.
Chapter 9 Hypothesis Testing.
Probability Population:
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
September 15. In Chapter 11: 11.1 Estimated Standard Error of the Mean 11.2 Student’s t Distribution 11.3 One-Sample t Test 11.4 Confidence Interval for.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
October 15. In Chapter 9: 9.1 Null and Alternative Hypotheses 9.2 Test Statistic 9.3 P-Value 9.4 Significance Level 9.5 One-Sample z Test 9.6 Power and.
Essential Statistics Chapter 131 Introduction to Inference.
Chapter 14Introduction to Inference1 Chapter 14 Introduction to Inference.
The Practice of Statistics Third Edition Chapter 10: Estimating with Confidence Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
June 16. In Chapter 8: 8.1 Concepts 8.2 Sampling Behavior of a Mean 8.3 Sampling Behavior of a Count and Proportion.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
Introduction to inference Tests of significance IPS chapter 6.2 © 2006 W.H. Freeman and Company.
© Copyright McGraw-Hill 2004
INTRODUCTION TO HYPOTHESIS TESTING From R. B. McCall, Fundamental Statistics for Behavioral Sciences, 5th edition, Harcourt Brace Jovanovich Publishers,
1 Chapter 14 Introduction to Inference Part B. 2 Hypothesis Tests of Statistical “Significance” Test a claim about a parameter Often misunderstood elaborate.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
Uncertainty and confidence Although the sample mean,, is a unique number for any particular sample, if you pick a different sample you will probably get.
Copyright © 2009 Pearson Education, Inc. 9.2 Hypothesis Tests for Population Means LEARNING GOAL Understand and interpret one- and two-tailed hypothesis.
16/23/2016Inference about µ1 Chapter 17 Inference about a Population Mean.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Lecture Slides Elementary Statistics Twelfth Edition
Chapter Nine Hypothesis Testing.
Tutorial 11: Hypothesis Testing
Review of Power of a Test
Statistics for Managers Using Microsoft® Excel 5th Edition
9.3 Hypothesis Tests for Population Proportions
Chapter 9 Hypothesis Testing.
One-Sample Tests of Hypothesis
Hypothesis Testing: One Sample Cases
STA 291 Spring 2010 Lecture 18 Dustin Lueker.
Hypothesis Testing for Proportions
Hypothesis Testing and Confidence Intervals (Part 1): Using the Standard Normal Lecture 8 Justin Kern October 10 and 12, 2017.
Chapter 8 Hypothesis Testing with Two Samples.
Hypothesis Testing: Hypotheses
HYPOTHESIS TESTING ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts By: Sathish Rajamani Associate Professor VNC - Panipat.
Two-sided p-values (1.4) and Theory-based approaches (1.5)
Chapter 9 Hypothesis Testing.
Problems: Q&A chapter 6, problems Chapter 6:
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Chapter 9: Hypothesis Tests Based on a Single Sample
Test of Hypothesis Art of decision making.
Testing of Hypothesis.
Lecture 10/24/ Tests of Significance
STA 291 Spring 2008 Lecture 18 Dustin Lueker.
Intro to Confidence Intervals Introduction to Inference
S.M.JOSHI COLLEGE,HADAPSAR Basics of Hypothesis Testing
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
BUS-221 Quantitative Methods
Presentation transcript:

June 14

In Chapter 9: 9.1 Null and Alternative Hypotheses 9.2 Test Statistic 9.3 P-Value 9.4 Significance Level 9.5 One-Sample z Test 9.6 Power and Sample Size

Terms Introduce in Prior Chapter Population all possible values Sample a portion of the population Statistical inference generalizing from a sample to a population with calculated degree of certainty Two forms of statistical inference –Hypothesis testing –Estimation Parameter a characteristic of population, e.g., population mean µ Statistic calculated from data in the sample, e.g., sample mean ( )

Distinctions Between Parameters and Statistics (Chapter 8 review) ParametersStatistics SourcePopulationSample NotationGreek (e.g., μ)Roman (e.g., xbar) VaryNoYes CalculatedNoYes

Sampling Distributions of a Mean (Introduced in Ch 8) The sampling distributions of a mean (SDM) describes the behavior of a sampling mean

Hypothesis Testing Is also called significance testing Tests a claim about a parameter using evidence (data in a sample The technique is introduced by considering a one-sample z test The procedure is broken into four steps Each element of the procedure must be understood

Hypothesis Testing Steps A.Null and alternative hypotheses B.Test statistic C.P-value and interpretation D.Significance level (optional)

§9.1 Null and Alternative Hypotheses Convert the research question to null and alternative hypotheses The null hypothesis (H 0 ) is a claim of no difference in the population The alternative hypothesis (H a ) claimsH 0 is false Collect data and seek evidence against H 0 as a way of bolstering H a (deduction)

Illustrative Example: Body Weight The problem: In the 1970s, 20–29 year old men in the U.S. had a mean μ body weight of 170 pounds. Standard deviation σ was 40 pounds. We test whether mean body weight in the population now differs. Null hypothesis H 0: μ = 170 (no difference) The alternative hypothesis can be either H a: μ > 170 (one-sided test) or H a: μ 170 (two-sided test)

§9.2 Test Statistic This is an example of a one-sample test of a mean when σ is known. Use this statistic to test the problem:

Illustrative Example: z statistic For the illustrative example, μ 0 = 170 We know σ = 40 Take an SRS of n = 64. Therefore If we found a sample mean of 173, then

Illustrative Example: z statistic If we found a sample mean of 185, then

Reasoning Behinµz stat Sampling distribution of xbar under H 0 : µ = 170 for n = 64

§9.3 P-value The P-value answer the question: What is the probability of the observed test statistic or one more extreme when H 0 is true? This corresponds to the AUC in the tail of the Standard Normal distribution beyond the z stat. Convert z statistics to P-value : For H a : μ > μ 0 P = Pr(Z > z stat ) = right-tail beyond z stat For H a : μ < μ 0 P = Pr(Z < z stat ) = left tail beyond z stat For H a : μ μ 0 P = 2 × one-tailed P-value Use Table B or software to find these probabilities (next two slides).

One-sided P-value for z stat of 0.6

One-sided P-value for z stat of 3.0

Two-Sided P-Value One-sided H a AUC in tail beyond z stat Two-sided H a consider potential deviations in both directions double the one- sided P-value Examples: If one-sided P = , then two-sided P = 2 × = If one-sided P = , then two-sided P = 2 × =

Interpretation P-value answer the question: What is the probability of the observed test statistic … when H 0 is true? Thus, smaller and smaller P-values provide stronger and stronger evidence against H 0 Small P-value strong evidence

Interpretation Conventions* P > 0.10 non-significant evidence against H < P 0.10 marginally significant evidence 0.01 < P 0.05 significant evidence against H 0 P 0.01 highly significant evidence against H 0 Examples P =.27 non-significant evidence against H 0 P =.01 highly significant evidence against H 0 * It is unwise to draw firm borders for significance

α- Level (Used in some situations) Let α probability of erroneously rejecting H 0 Set α threshold (e.g., let α =.10,.05, or whatever) Reject H 0 when P α Retain H 0 when P > α Example: Set α =.10. Find P = 0.27 retain H 0 Example: Set α =.01. Find P =.001 reject H 0

(Summary) One-Sample z Test A.Hypothesis statements H 0 : µ = µ 0 vs. H a : µ µ 0 (two-sided) or H a : µ µ 0 (right-sided) B.Test statistic C.P-value: convert z stat to P value D.Significance statement (usually not necessary)

§9.5 Conditions for z test σ known (not from data) Population approximately Normal or large sample (central limit theorem) SRS (or facsimile) Data valid

The Lake Wobegon Example where all the children are above average Let X represent Weschler Adult Intelligence scores (WAIS) Typically, X ~ N(100, 15) Take SRS of n = 9 from Lake Wobegon population Data {116, 128, 125, 119, 89, 99, 105, 116, 118} Calculate: x-bar = Does sample mean provide strong evidence that population mean μ > 100?

Example: Lake Wobegon A.Hypotheses: H 0 : µ = 100 versus H a : µ > 100 (one-sided) H a : µ 100 (two-sided) B.Test statistic:

C. P-value: P = Pr(Z 2.56) = P =.0052 it is unlikely the sample came from this null distribution strong evidence against H 0

H a : µ 100 Considers random deviations up and down from μ 0 tails above and below ±z stat Thus, two-sided P = 2 × = Two-Sided P-value: Lake Wobegon

§9.6 Power and Sample Size Truth Decision H 0 trueH 0 false Retain H 0 Correct retentionType II error Reject H 0 Type I errorCorrect rejection α probability of a Type I error β Probability of a Type II error Two types of decision errors: Type I error = erroneous rejection of true H 0 Type II error = erroneous retention of false H 0

Power β probability of a Type II error β = Pr(retain H 0 | H 0 false) (the | is read as given) 1 – β Power probability of avoiding a Type II error 1– β = Pr(reject H 0 | H 0 false)

Power of a z test where Φ(z) represent the cumulative probability of Standard Normal Z μ 0 represent the population mean under the null hypothesis μ a represents the population mean under the alternative hypothesis with.

Calculating Power: Example A study of n = 16 retains H 0 : μ = 170 at α = 0.05 (two-sided); σ is 40. What was the power of tests conditions to identify a population mean of 190?

Reasoning Behind Power Competing sampling distributions Top curve (next page) assumes H 0 is true Bottom curve assumes H a is true α is set to 0.05 (two-sided) We will reject H 0 when a sample mean exceeds (right tail, top curve) The probability of getting a value greater than on the bottom curve is , corresponding to the power of the test

Sample Size Requirements Sample size for one-sample z test: where 1 – β desired power α desired significance level (two-sided) σ population standard deviation Δ = μ 0 – μ a the difference worth detecting

Example: Sample Size Requirement How large a sample is needed for a one-sample z test with 90% power and α = 0.05 (two-tailed) when σ = 40? Let H 0 : μ = 170 and H a : μ = 190 (thus, Δ = μ 0 μ a = 170 – 190 = 20) Round up to 42 to ensure adequate power.

Illustration: conditions for 90% power.