Dan Piett STAT 211-019 West Virginia University Lecture 11.

Slides:



Advertisements
Similar presentations
Chapter 12: Testing hypotheses about single means (z and t) Example: Suppose you have the hypothesis that UW undergrads have higher than the average IQ.
Advertisements

Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Inference about the Difference Between the
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Hypothesis Tests for Means The context “Statistical significance” Hypothesis tests and confidence intervals The steps Hypothesis Test statistic Distribution.
Stat 217 – Day 15 Statistical Inference (Topics 17 and 18)
Chapter 9 Hypothesis Testing.
Hypothesis Testing: Two Sample Test for Means and Proportions
Hypothesis Testing.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Hypothesis Testing with Two Samples
Modular 15 Ch 10.1 to 10.2 Part I. Ch 10.1 The Language of Hypothesis Testing Objective A : Set up a Hypothesis Testing Objective B : Type I or Type II.
Hypothesis Testing with Two Samples
More About Significance Tests
June 18, 2008Stat Lecture 11 - Confidence Intervals 1 Introduction to Inference Sampling Distributions, Confidence Intervals and Hypothesis Testing.
Introduction to Statistical Inference Probability & Statistics April 2014.
Comparing Two Population Means
Dan Piett STAT West Virginia University
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances Copyright © 2012 The McGraw-Hill Companies, Inc. Permission required.
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Inference for Proportions
LECTURE 19 THURSDAY, 14 April STA 291 Spring
381 Hypothesis Testing (Testing with Two Samples-III) QSCI 381 – Lecture 32 (Larson and Farber, Sects 8.3 – 8.4)
Dan Piett STAT West Virginia University Lecture 9.
Chapter 20 Testing hypotheses about proportions
1 Lecture note 4 Hypothesis Testing Significant Difference ©
STT 315 Ashwini Maurya Acknowledgement: Author is indebted to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for allowing him to use/edit many.
Dan Piett STAT West Virginia University Lecture 10.
Large sample CI for μ Small sample CI for μ Large sample CI for p
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 10 Hypothesis Testing:
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
1 Objective Compare of two population variances using two samples from each population. Hypothesis Tests and Confidence Intervals of two variances use.
Unit 8 Section 8-3 – Day : P-Value Method for Hypothesis Testing  Instead of giving an α value, some statistical situations might alternatively.
Hypothesis Testing. “Not Guilty” In criminal proceedings in U.S. courts the defendant is presumed innocent until proven guilty and the prosecutor must.
Dan Piett STAT West Virginia University Lecture 12.
What is a Test of Significance?. Statistical hypotheses – statements about population parameters Examples Mean weight of adult males is greater than 160.
© Copyright McGraw-Hill 2004
We’ve learned: 1) Hypothesis testing for population mean when population variance is known ( Z-test ) ( large sample size or assume population is normal.
Exercise - 1 A package-filling process at a Cement company fills bags of cement to an average weight of µ but µ changes from time to time. The standard.
© The McGraw-Hill Companies, Inc., Chapter 10 Testing the Difference between Means, Variances, and Proportions.
AP Statistics Chapter 21 Notes
Aim: What is the P-value method for hypothesis testing? Quiz Friday.
Psych 230 Psychological Measurement and Statistics Pedro Wolf October 21, 2009.
Testing a Single Mean Module 16. Tests of Significance Confidence intervals are used to estimate a population parameter. Tests of Significance or Hypothesis.
1 Section 8.5 Testing a claim about a mean (σ unknown) Objective For a population with mean µ (with σ unknown), use a sample to test a claim about the.
1 Chapter 23 Inferences About Means. 2 Inference for Who? Young adults. What? Heart rate (beats per minute). When? Where? In a physiology lab. How? Take.
Name Mean of Sampling Distribution Standard Deviation/Error of Sampling Distribution 1 sample z-Interval for Proportions 1 sample z-interval for Means.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Christopher, Anna, and Casey
Chapter Nine Hypothesis Testing.
Chapter 9 Hypothesis Testing
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances.
Introduction to Statistics for the Social Sciences SBS200 - Lecture Section 001, Fall 2016 Room 150 Harvill Building 10: :50 Mondays, Wednesdays.
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Chapter 9: testing a claim
Hypothesis Testing: Two Sample Test for Means and Proportions
Types of T-tests Independent T-tests Paired or correlated t-tests
Introduction to Inference
Hypothesis tests for the difference between two means: Independent samples Section 11.1.
Chapter 9 Hypothesis Testing.
Introduction to Inference
Problems: Q&A chapter 6, problems Chapter 6:
Elementary Statistics: Picturing The World
Hypothesis Tests for Proportions
More on Testing 500 randomly selected U.S. adults were asked the question: “Would you be willing to pay much higher taxes in order to protect the environment?”
Hypothesis Testing S.M.JOSHI COLLEGE ,HADAPSAR
Hypothesis Testing for Proportions
Additional Topics Regarding Hypothesis Testing
Presentation transcript:

Dan Piett STAT West Virginia University Lecture 11

Last Week Introduction to Hypothesis Testing Hypothesis Tests for µ Large Sample Small Sample Hypothesis Tests for p

Overview Hypothesis Tests on a difference in means Hypothesis Tests on a difference in proportions The 2-sided alternative

Section 11.1 Hypothesis Tests on the Difference in Means

Difference in Means Previously we created confidence intervals for the difference in two population means. Male Scores vs Female Scores This is the same idea we had when we did confidence intervals Our same rules apply for determining large and small sample hypothesis tests

Large Sample Hyp. Test (n & m > 20) 1. H 0 : µ x - µ y = 0 (Does not have to be 0, but almost always is) 2. H A : µ x - µ y 0 (µ x is bigger) or µ x - µ y ≠ 0 3. Alpha is.05 if not specified 4. Test Statistic = Z = 5. P-value will come from the normal dist. Table For > alternative: P(z>Z) For < alternative: P(z<Z) For ≠ alternative:2*P(z>|Z|) 6. Our decision rule will be to reject H 0 if p-value < alpha 7. We have (do not have) enough evidence at the.05 level to conclude that the mean of group x is ______ (, ≠) the mean of group y Requires a large sample size for both groups and equal population standard deviations for both groups. Also requires independent random samples.

Example A college statistics professor conjectures that students with good high school math backgrounds (2+ courses) perform better in a college statistics course than students with a poor high school math background (<2 courses). He randomly selects 35 students with a good math background and 45 students with a poor math background, and records exam scores from a college statistics course. Test the hypothesis that the mean score of the good background students will be higher than the mean score of the poor math background students. Use alpha =.10. The summary data is as follows: GroupMeanStandard Deviation Sample Size <

Small Sample Hyp. Test (n or m < 20) 1. H 0 : µ x - µ y = 0 (Does not have to be 0, but almost always is) 2. H A : µ x - µ y 0 (µ x is bigger) or µ x - µ y ≠ 0 3. Alpha is.05 if not specified 4. Test Statistic = T = 5. P-value will come from the t-dist. Table with df = n+m-2 For > alternative: P(t>|T|) For |T|) For ≠ alternative: 2*P(t>|T|) 6. Our decision rule will be to reject H 0 if p-value < alpha 7. We have (do not have) enough evidence at the.05 level to conclude that the mean of group x is ______ (, ≠) the mean of group y Requires both distributions are approximately normal with equal standard deviations. Also requires independent random samples.

Example A researcher wishes to assess a “new” teaching method for “slow learners”. A random sample of 8 students use the new method, and a random sample of 12 students use the “standard” teaching method. After 6 months, an exam is administered to each student. Does the data indicate that the new teaching method is preferable? Use alpha =.05. The summary statistics are as follows: GroupMeanStandard Deviation Sample Size New Standard

Section 11.2 Hypothesis Tests for Two Independent Population Proportions

Difference in Pop. Proportions We are again interested in the difference in the proportions of two populations Proportion of A’s on Exam 1 vs. Proportion of A’s on Exam 2 Much like all the other tests covered, the same rules apply in Hypothesis Testing that were involved in Confidence Intervals Also we will only be considering the case where the above is true, therefore we will only be interested in tests using Z as the test statistic.

Hypothesis Tests on the difference of Proportions 1. H 0 : p 1 – p 2 = # (usually 0) 2. H A : p # or p ≠ # 3. Alpha is.05 if not specified 4. Test Statistic = Z = 5. P-value will come from the normal dist. Table For > alternative: P(z>Z) For < alternative: P(z<Z) For ≠ alternative:2*P(z>|Z|) 6. Our decision rule will be to reject H 0 if p-value < alpha 7. We have (do not have) enough evidence at the.05 level to conclude that the proportion of group x is ______ (, ≠) the proportion of group y Requires conditions on np’s. Also requires independent random samples

Examples American Cancer Society wants to determine if the proportion of smokers in the population of Americans has decreased over the decade preceding In 1992, a random sample of 150 Americans showed 58 who smoked. In 2002, a random sample of 200 Americans included 64 who smoked. Does the data indicate that the proportion of smokers has decreased over the past decade? Use alpha =.05.

Section 11.3 The 2-sided alternative

Notes on 2 Sided Alternatives Up until this point all of our examples have had alternative hypotheses of the form. What about ≠? What we will do for this is take our previous p-values times 2 We take the value that makes sense If our statistic is less than our null hypothesis value, we use a < probability If our statistic is more than our null hypothesis value, we use a > probability

Example The quality control manager at a sugar processing packaging plant must make sure that two-pound bags of sugar actually contain two pounds of sugar. He randomly selects 50 bags of sugar and weighs their contents. The sample mean is pounds with a sample std. dev of pounds. Does this data indicate that the mean weight of all bags of sugar is different from 2 pounds? Use alpha =.05.