Chapter 8 Hypothesis Test.

Slides:



Advertisements
Similar presentations
The t Test for Two Independent Samples
Advertisements

Type I and Type II errors
Chapter 7 Sampling and Sampling Distributions
Chapter 17/18 Hypothesis Testing
Hypothesis Test II: t tests
Unit 4 – Inference from Data: Principles
You will need Your text Your calculator
Department of Engineering Management, Information and Systems
CHAPTER EIGHT TESTS OF HYPOTHESES
Elementary Statistics
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
HYPOTHESIS TESTING. Purpose The purpose of hypothesis testing is to help the researcher or administrator in reaching a decision concerning a population.
7.2 Hypothesis Testing for the Mean (Large Samples)
Introduction to Hypothesis Testing
Hypothesis Tests Steps and Notation (1-Sample)
Chi-Square and Analysis of Variance (ANOVA)
Section 10.2 Hypothesis Testing for Means (Small Samples) HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant.
Lesson 10 - QR Summary of Sections 1 thru 4. Objectives Review Hypothesis Testing –Basics –Testing On Means, μ, with σ known  Z 0 Means, μ, with σ unknown.
There are two statistical tests for mean: 1) z test – Used for large samples (n ≥ 30) 1) t test – Used for small samples (n < 30)
You will need Your text Your calculator And the handout “Steps In Hypothesis Testing” Bluman, Chapter 81.
8.2 cont. p-Value Method.
McGraw-Hill, Bluman, 7th ed., Chapter 9
Please enter data on page 477 in your calculator.
Putting Statistics to Work
Chi-square and F Distributions
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
© The McGraw-Hill Companies, Inc., Chapter 10 Testing the Difference between Means and Variances.
Topics
Testing Hypotheses About Proportions
January Structure of the book Section 1 (Ch 1 – 10) Basic concepts and techniques Section 2 (Ch 11 – 15): Inference for quantitative outcomes Section.
Chapter 16 Inferential Statistics
Unit 4 – Inference from Data: Principles
Adapted by Peter Au, George Brown College McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited.
Significance Tests for Proportions Presentation 9.2.
Worksheet for Hypothesis Tests for Means
Chapter 10 Section 3 Hypothesis Testing t test for a mean.
Unit 8 Section : z Test for a Mean  Many hypotheses are tested using the generalized statistical formula: Test value = (Observed Value)-(expected.
Hypothesis Tests for Population Means Section 10-4.
S-012 Testing statistical hypotheses The CI approach The NHST approach.
Unit 8 Section 8-3 – Day : P-Value Method for Hypothesis Testing  Instead of giving an α value, some statistical situations might alternatively.
Aim: How do we use a t-test?
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Aim: What is the P-value method for hypothesis testing? Quiz Friday.
You will need Your text t distribution table Your calculator And the handout “Steps In Hypothesis Testing” Bluman, Chapter 81.
Unit 8 Section : Hypothesis Testing for the Mean (σ unknown)  The hypothesis test for a mean when the population standard deviation is unknown.
Hypothesis Tests Hypothesis Tests Large Sample 1- Proportion z-test.
SWBAT: -Determine whether to use a one or two tailed test and calculate the necessary p-value -Make and interpret a decision based on the results of a.
Christopher, Anna, and Casey
Chapter Nine Hypothesis Testing.
Chapter 9 Hypothesis Testing
Review of Power of a Test
Lecture Slides Elementary Statistics Twelfth Edition
CHAPTER 9 Testing a Claim
Chapter 9 Hypothesis Testing.
Statistics Chapter 7 Review.
Hypothesis Tests Small Sample Mean
Hypothesis Testing for Proportions
Hypothesis Tests for 1-Sample Proportion
STA 291 Spring 2008 Lecture 19 Dustin Lueker.
Hypothesis Tests for a Population Mean in Practice
Chapter Review Problems
Inferences on Two Samples Summary
Chapter 7 Hypothesis Testing with One Sample.
Hypothesis Tests for Proportions
STA 291 Spring 2008 Lecture 18 Dustin Lueker.
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.
CHAPTER EIGHT TESTS OF HYPOTHESES
Testing Claims about a Population Standard Deviation
Presentation transcript:

Chapter 8 Hypothesis Test

Steps to a Hypothesis Test Hypotheses Null Hypothesis (Ho) Alternative Hypothesis (Ha) Alpha Distribution (aka model) Test Statistics and P-value Decision Conclusion

Steps to a Hypothesis Test Can remember the steps by the sentence: “Happy Aunts Make The Darndest Cookies”

Example 1– Hypothesis Testing An attorney claims that more than 25% of all lawyers advertise. A sample of 200 lawyers in a certain city showed that 63 had used some form of advertising. At α = 0.05, is there enough evidence to support the attorney’s claim?

Hypotheses (Sets up the two sides of the test) Build the Alternative Hypothesis (Ha) first. based on the claim you are testing (you get this from the words in the problem) Three choices Ha: parameter ≠ hypothesized value Ha: parameter < hypothesized value Ha: parameter > hypothesized value Build Null Hypothesis (Ho) next. opposite of the Ha (i.e. = , ≥ , ≤ )

Example 1– Constructing Hypotheses We need to know what parameter we are testing and which of the three choices for alternative hypothesis we are going to use. “An attorney claims that more than 25% of all lawyers advertise” tells us that this is a test for proportions so our parameter is p. “claims that more than 25%” tells us that Ha: p > .25 and therefore Ho: p ≤ .25

Alpha Alpha = α = significance level How much proof we are requiring in order to reject the null hypothesis. The complement of the confidence level that we learned in the last chapter Usually given to you in the problem, if not, you can choose. Most popular alphas: 0.05, 0.01, and 0.10

Example 1 – Alpha “At α = 0.05” is given to us in the problem so we just copy α = 0.05

Model The model is the distribution used for the parameter that you are testing. These are just the same as we used in the confidence intervals. p and μ (n ≥ 30) use the normal distribution μ (n < 30) uses the t-distribution uses the chi-squared distribution

Example 1 - Model The model used for a proportion is the normal.

Test Statistic You will have a different test statistic for each of the four different parameters that we have learned about. p : μ (n ≥ 30) :

Test Statistic You will have a different test statistic for each of the four different parameters that we have learned about. μ (n < 30) : :

p-value This is the evidence (probability) that you will get off of your chart and then compare against your criteria (alpha). You will need to find the appropriate probability that goes with your Ha. > and < Ha’s are called one-tailed tests. ≠ Ha’s are called two-tailed tests. For z and χ2 you have to take the > probability X2

Example 1 – Test Statistic and p-value The formula for a test statistic for proportions is: So, from our problem we need a proportion from a sample (p-hat), the proportion from our hypothesis (po), and a sample size (n).

Example 1 – Test Statistic and p-value “A sample of 200 lawyers in a certain city showed that 63 had used some form of advertising” tells us that p-hat = 63/200 or 0.315 From our hypothesis we know po = 0.25 (which means that qo = 0.75) “sample of 200” tells us that n = 200

Example 1 – Test Statistic and p-value So our test statistic and p-value are

Decision – (always about Ho) We have two choices for decision Reject Ho Do Not Reject Ho If our evidence (p-value) is less than α we REJECT Ho. If our evidence (p-value) is greater than α we DO NOT REJECT Ho.

Example 1 - Decision Our p-value is 0.0170 and our alpha is 0.05 So, since our p-value is less than our alpha our decision is: REJECT Ho.

Conclusion – (always in terms of Ha) Conclusions Reject Ho “There is enough evidence to suggest (Ha).” Do Not Reject “There is not enough evidence to suggest (Ha).”

Example 1 - Conclusion Our decision to was to reject Ho, so our conclusion is: “There is enough evidence to suggest that p>0.25”

Example 1 - Summary Ho: p ≤ 0.25 Ha: p > 0.25 α = 0.05 Model: Normal z = 2.12 and p-value = 0.0170 Reject Ho There is enough evidence to suggest that p>0.25.

Example 2 – Hypothesis Testing A researcher reports that the average salary of assistant professors is more than $42,000. A sample of 30 assistant professors has a mean of $43,260. At α = 0.05, test the claim that assistant professors earn more than $42,000 a year. The standard deviation of the population is $5230.

Example 2 (cont.) Hypotheses Alpha Model Ho: μ ≤ $42,000 Ha: μ > $42,000 (given claim is “more than”) Alpha α = 0.05 (given) Model Normal (n ≥ 30 and it’s a mean)

Example 2 (cont.) Test statistic and p-value:

Example 2 (cont.) Decision Conclusion 0.0934 > 0.05 (p-value > alpha) DO NOT REJECT Ho Conclusion We do not have evidence to suggest that μ > $42,000.

Example 3 – Hypothesis Testing A physician claims that joggers’ maximal volume oxygen uptake is greater than the average of all adults. A sample of 15 joggers has a mean of 40.6 milliliters per kilogram (ml/kg) and a standard deviation of 6 ml/kg. If the average of all adults is 36.7 ml/kg, is there enough evidence to support the physicians claim at α = 0.05?

Example 3 (cont.) Hypotheses Alpha Model Ho: μ ≤ 36.7 Ha: μ > 36.7 α = 0.05 (given) Model t(14)

Example 3 (cont.) Test statistic and p-value:

Example 3 (cont.) Decision Conclusion (0.01,0.025) < 0.05 (p-value < alpha) REJECT Ho Conclusion There is evidence to suggest that μ > 36.7.

Example 4 – Hypothesis Testing A researcher knows from past studies that the standard deviation of the time it takes to inspect a car is 16.8 minutes. A sample of 24 cars is selected and inspected. The standard deviation was 12.5 minutes. At α=0.05, can it be concluded that the standard deviation has changed?

Example 4 (cont.) Hypotheses Alpha Model Ho: σ = 16.8 Ha: σ ≠ 16.8 α = 0.05 (given) Model χ2(23)

Example 4 (cont.) Test statistic and p-value:

Example 4 (cont.) Decision Conclusion (0.05,0.10) > 0.05 (p-value > alpha) DO NOT REJECT Ho Conclusion There is not enough evidence to suggest that σ ≠ 16.8.