Lesson 11 - R Review of Testing a Claim. Objectives Explain the logic of significance testing. List and explain the differences between a null hypothesis.

Slides:



Advertisements
Similar presentations
Lesson 10 - QR Summary of Sections 1 thru 4. Objectives Review Hypothesis Testing –Basics –Testing On Means, μ, with σ known  Z 0 Means, μ, with σ unknown.
Advertisements

Is it statistically significant?
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.
Lesson Tests about a Population Mean. Knowledge Objectives Define the one-sample t statistic.
Testing Hypotheses About Proportions Chapter 20. Hypotheses Hypotheses are working models that we adopt temporarily. Our starting hypothesis is called.
AP Statistics – Chapter 9 Test Review
Significance Testing Chapter 13 Victor Katch Kinesiology.
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Chapter 9 Hypothesis Testing.
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Hypothesis Testing Methodology Z Test for the Mean (  Known) p-Value Approach to Hypothesis Testing.
Statistics for Managers Using Microsoft® Excel 5th Edition
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Confidence Intervals and Hypothesis Testing - II
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 9 Introduction to Hypothesis Testing.
Fundamentals of Hypothesis Testing: One-Sample Tests
Testing Hypotheses About Proportions
Lesson Carrying Out Significance Tests. Vocabulary Hypothesis – a statement or claim regarding a characteristic of one or more populations Hypothesis.
Using Inference to Make Decisions
Lesson Comparing Two Means.
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Lesson Confidence Intervals: The Basics. Knowledge Objectives List the six basic steps in the reasoning of statistical estimation. Distinguish.
LESSON Tests about a Population Parameter.
Chapter 8 Introduction to Hypothesis Testing
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
AP Statistics Section 11.2 A Inference Toolbox for Significance Tests
Significance Tests: THE BASICS Could it happen by chance alone?
Significance Toolbox 1) Identify the population of interest (What is the topic of discussion?) and parameter (mean, standard deviation, probability) you.
Lesson Testing Claims about a Population Mean Assuming the Population Standard Deviation is Known.
Lesson Comparing Two Proportions. Knowledge Objectives Identify the mean and standard deviation of the sampling distribution of p-hat 1 – p-hat.
Lesson Significance Tests: The Basics. Vocabulary Hypothesis – a statement or claim regarding a characteristic of one or more populations Hypothesis.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Chapter 20 Testing hypotheses about proportions
Testing of Hypothesis Fundamentals of Hypothesis.
Lecture 16 Dustin Lueker.  Charlie claims that the average commute of his coworkers is 15 miles. Stu believes it is greater than that so he decides to.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 20 Testing Hypotheses About Proportions.
Lesson The Language of Hypothesis Testing.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Lesson Comparing Two Proportions. Inference Toolbox Review Step 1: Hypothesis –Identify population of interest and parameter –State H 0 and H a.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
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.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
MATH 2400 Ch. 15 Notes.
Chapter 20 Testing Hypothesis about proportions
Lecture 18 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Ch 10 – Intro To Inference 10.1: Estimating with Confidence 10.2 Tests of Significance 10.3 Making Sense of Statistical Significance 10.4 Inference as.
Lesson Comparing Two Means. Knowledge Objectives Describe the three conditions necessary for doing inference involving two population means. Clarify.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Lesson 10 - R Review of Chapter 10 Confidence Intervals.
AP Statistics Section 11.1 B More on Significance Tests.
Lesson Testing Claims about a Population Mean in Practice.
What is a Hypothesis? A hypothesis is a claim (assumption) about the population parameter Examples of parameters are population mean or proportion The.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
Lesson Use and Abuse of Tests. Knowledge Objectives Distinguish between statistical significance and practical importance Identify the advantages.
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.
Lesson 12 - R Review of Chapter 12 Significance Tests in Practice.
Slide 20-1 Copyright © 2004 Pearson Education, Inc.
Section 9.1 First Day The idea of a significance test What is a p-value?
A.P. STATISTICS EXAM REVIEW TOPIC #2 Tests of Significance and Confidence Intervals for Means and Proportions Chapters
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
Review of Testing a Claim
Lesson Comparing Two Means.
YOU HAVE REACHED THE FINAL OBJECTIVE OF THE COURSE
Significance Tests: The Basics
Click the mouse button or press the Space Bar to display the answers.
Carrying Out Significance Tests
YOU HAVE REACHED THE FINAL OBJECTIVE OF THE COURSE
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Lesson 11 - R Review of Testing a Claim

Objectives Explain the logic of significance testing. List and explain the differences between a null hypothesis and an alternative hypothesis. Discuss the meaning of statistical significance. Use the Inference Toolbox to conduct a large sample test for a population mean. Compare two-sided significance tests and confidence intervals when doing inference. Differentiate between statistical and practical “significance.” Explain, and distinguish between, two types of errors in hypothesis testing. Define and discuss the power of a test.

Vocabulary none new

What you Learned –State the null and alternative hypotheses in a testing situation when the parameter in question is a population mean µ. –Explain in nontechnical language the meaning of the P-value when you are given the numerical value of P for a test. –Calculate the one-sample z-statistic and the P-value for both one-sided and two-sided tests about the mean µ of a Normal population. –Assess statistical significance at standard levels α by comparing P to α. –Recognize that significance testing does not measure the size or importance of an effect. –Recognize when you can use the z test and when the data collection design or a small sample from a skewed population makes it inappropriate. –Explain Type I error, Type II error, and power in a significance- testing problem.

Hypothesis Testing Approaches Classical –Logic: If the sample mean is too many standard deviations from the mean stated in the null hypothesis, then we reject the null hypothesis (accept the alternative) P-Value –Logic: Assuming H 0 is true, if the probability of getting a sample mean as extreme or more extreme than the one obtained is small, then we reject the null hypothesis (accept the alternative). Confidence Intervals –Logic: If the sample mean lies in the confidence interval about the status quo, then we fail to reject the null hypothesis

Determining H o and H a H o – is the status quo; what the situation is currently the claim made by the manufacturer H a – is the alternative that you are testing; the new idea the thing that proves the claim false H 0 and H a always refer to population parameters

Inference Toolbox Step 1: Hypothesis –Identify population of interest and parameter –State H 0 and H a Step 2: Conditions –Check appropriate conditions Step 3: Calculations –State test or test statistic –Use calculator to calculate test statistic and p-value Step 4: Interpretation –Interpret the p-value (fail-to-reject or reject) –Don’t forget 3 C’s: conclusion, connection and context

Conditions for Significance Tests SRS –simple random sample from population of interest Normality –For means: population normal or large enough sample size for CLT to apply or use t-procedures –t-procedures: boxplot or normality plot to check for shape and any outliers (outliers is a killer) –For proportions: np ≥ 10 and n(1-p) ≥ 10 Independence –Population, N, such that N > 10n

Using Your Calculator: Z-Test For classical or p-value approaches Press STAT –Tab over to TESTS –Select Z-Test and ENTER Highlight Stats Entry μ 0, σ, x-bar, and n from summary stats Highlight test type (two-sided, left, or right) Highlight Calculate and ENTER Read z-critical and/or p-value off screen X-bar – μ Z 0 = σ / √n

Reality H 0 is TrueH 1 is True Conclusion Do Not Reject H 0 Correct Conclusion Type II Error Reject H 0 Type I Error Correct Conclusion H 0 : the defendant is innocent H 1 : the defendant is guilty Type I Error (α): convict an innocent person Type II Error (β): let a guilty person go free Note: a defendant is never declared innocent; just not guilty decrease α  increase β increase α  decrease β Hypothesis Testing: Four Outcomes

Increasing the Power of a Test Four Main Methods: –Increase significance level,  –Consider a particular alternative that is farther away from  –Increase the sample size, n, in the experiment –Decrease the population (or sample) standard deviation, σ Only increasing the sample size and the significance level are under the control of the researcher

Summary and Homework Summary –Inference testing has an H 0 and an H a to evaluate –H 0 is the status quo and cannot be proven –H a is the claim that’s being tested –Small p-values (tails), or p < , are in favor of H a –P(Type I error – reject H 0 when H 0 is true) =  –P(Type II error – FTR H 0 when H a is true) =  –Power (of a test) = 1 -  –Increase power by increasing n or  Homework –pg 738 – 9; – 74

Problem 1 When performing inference procedures for means we sometimes use the normal distribution and sometimes use Student’s t distribution. How do you decide which to use? We use normal distributions in inference procedures for population proportions always and for population means if we know the population standard deviation (very rare). We use the Student’s t distribution for population means when we don’t know the population standard deviation and have to use the sample standard deviation as its estimate.

Problem 2a The blood sugar levels of 7 randomly selected rabbits of a certain species are measured 90 minutes after injection of 0.8 units of insulin. The data (in mg/100 ml) are: 45, 34, 32, 48, 39, 45, 51. The researcher would like to use this sample to make inferences about the mean blood sugar level for the population of rabbits. (a) List the conditions (assumptions) that must be satisfied in order to compute confidence intervals or perform hypothesis tests. Also, provide information to convince me that the condition is satisfied. Conditions: SRS – problem states random selection, so assume ok Normality – n = 7 is too small for CLT to apply so box-plot of data is required to check if normality is not a good assumption and to see if there are any outliers! [no outliers, symmetry not great, normality plot ok] Independence – assumption is reasonable from problem

Problem 2b The blood sugar levels of 7 randomly selected rabbits of a certain species are measured 90 minutes after injection of 0.8 units of insulin. The data (in mg/100 ml) are: 45, 34, 32, 48, 39, 45, 51. The researcher would like to use this sample to make inferences about the mean blood sugar level for the population of rabbits. (b) Calculate a 90% confidence interval for the mean blood sugar level in the population of all rabbits of this species 90 minutes after insulin injection. Calculations: n = 7, x-bar = 42 mg/100 ml, s = mg/100 ml, and α/2 =.05 CI = x-bar  t.95,6 (s/√n) = 42  1.943(7.165/√7) = 42  From calculator: [36.738, ]

Problem 3 The mean length of the incision used in arthroscopic knee surgery has been 2.0 cm. An article in a recent medical journal reports that a new procedure can reduce the average length of the incision used in such surgeries. The authors of the article reported that in a sample of 36 such surgeries in which the new technique was used, the average incision length was 1.96 cm, with a standard deviation of 0.13 cm. Perform a test at the α =.05 level to determine whether the mean length of incision used in the new procedure is significantly less than 2.0 cm. Assume that any conditions needed for inference are satisfied.

Problem 3 Hypothesis: μ = average incision length of old procedure H 0 : μ = 2.0 cm no change H a : μ < 2.0 cm new procedure better (One sided test) Conditions: “Assume that any conditions... satisfied” Calculations: μ = 2.0 cm, n = 36, x-bar = 1.96 cm, s = 0.13 cm, and α =.05 TS = (1.96 – 2.0)/(0.13/√36) = From calculator: TS = p-value = Interpretation: Since p < , then we have evidence to reject H 0 in favor of H a. The new procedure has smaller average length incision (scars) than the old procedure. Statistically significant result, but not much real practical significance (0.04 cm improvement or about 1/50 of an inch).

Problem 4 A company institutes an exercise break for its workers to see if this will improve job satisfaction. A questionnaire designed to assess worker satisfaction was given to 10 randomly selected workers before and after implementation of the exercise program. These scores are provided in the table below: Perform a significance test to determine whether the exercise program was effective in improving job satisfaction. You should state the conditions necessary for the test you perform to be valid, but you do not need to check these conditions. Organize your work clearly and be sure to show all steps of the test below. Worker # Score before Score after

Problem 4 cont Worker # Score before Score after Difference Hypothesis: μ = average difference between after and before program H 0 : μ diff = 0 program ineffective H a : μ diff > 0 program improves job sat. (One sided test) Conditions: SRS – ok; Normal – no CLT, but box-plot and normality plots OK; Independent – weak Calculations: μ = 0, n = 10, x-bar = 8.94, s = 6.749, and α =.05 TS = (8.94 – 0)/(6.749/√10) = From calculator: t = and p-value = Interpretation: Since p-value is < , we reject H 0 in favor of H a and conclude that the exercise program improves job satisfaction.