Ch. 10 examples Part 1 – z and t Ma260notes_Sull_ch10_HypTestEx.pptx.

Slides:



Advertisements
Similar presentations
8.3 T- TEST FOR A MEAN. T- TEST The t test is a statistical test for the mean of a population and is used when the population is normally or approximately.
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)
Inference Sampling distributions Hypothesis testing.
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Ch. 8 – Practical Examples of Confidence Intervals for z, t, p.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Probability & Statistical Inference Lecture 6
Hypothesis testing Week 10 Lecture 2.
1. Estimation ESTIMATION.
Hypothesis Testing: One Sample Mean or Proportion
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Hypothesis Testing After 2 hours of frustration trying to fill out an IRS form, you are skeptical about the IRS claim that the form takes 15 minutes on.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Stat 512 – Day 8 Tests of Significance (Ch. 6). Last Time Use random sampling to eliminate sampling errors Use caution to reduce nonsampling errors Use.
Stat 217 – Day 15 Statistical Inference (Topics 17 and 18)
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
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
7.2 Hypothesis Testing for the Mean (Large Samples Statistics Mrs. Spitz Spring 2009.
Hypothesis Testing with Two Samples
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
Fundamentals of Hypothesis Testing: One-Sample Tests
Claims about a Population Mean when σ is Known Objective: test a claim.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
1 BA 275 Quantitative Business Methods Hypothesis Testing Elements of a Test Concept behind a Test Examples Agenda.
Ch 10 Comparing Two Proportions Target Goal: I can determine the significance of a two sample proportion. 10.1b h.w: pg 623: 15, 17, 21, 23.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
June 18, 2008Stat Lecture 11 - Confidence Intervals 1 Introduction to Inference Sampling Distributions, Confidence Intervals and Hypothesis Testing.
Section 9.2 ~ Hypothesis Tests for Population Means Introduction to Probability and Statistics Ms. Young.
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.
Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.
Ch. 9 examples.
DIRECTIONAL HYPOTHESIS The 1-tailed test: –Instead of dividing alpha by 2, you are looking for unlikely outcomes on only 1 side of the distribution –No.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Unit 8 Section 8-1 & : Steps in Hypothesis Testing- Traditional Method  Hypothesis Testing – a decision making process for evaluating a claim.
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.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
Chapter 8 Parameter Estimates and Hypothesis Testing.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
Aim: How do we use a t-test?
Chapter 12: Hypothesis Testing. Remember that our ultimate goal is to take information obtained in a sample and use it to come to some conclusion about.
Welcome to MM570 Psychological Statistics
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
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.
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
Copyright© 1998, Triola, Elementary Statistics by Addison Wesley Longman 1 Testing a Claim about a Mean: Large Samples Section 7-3 M A R I O F. T R I O.
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.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
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.
1 Section 8.4 Testing a claim about a mean (σ known) Objective For a population with mean µ (with σ known), use a sample (with a sample mean) to test a.
Unit 8 Section : Hypothesis Testing for the Mean (σ unknown)  The hypothesis test for a mean when the population standard deviation is unknown.
Hypothesis Testing Involving One Population Chapter 11.4, 11.5, 11.2.
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Hypothesis Tests for a Population Mean in Practice
Ch. 9 examples.
Ch. 9 examples.
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.
Testing a Claim About a Mean:  Known
Presentation transcript:

Ch. 10 examples Part 1 – z and t Ma260notes_Sull_ch10_HypTestEx.pptx

Test on a single population mean Intro: So far we’ve studied estimation, or confidence intervals, focusing on the middle 90% or 95% or 99% Now the focus is on Hypothesis Testing (using the 1% or 5% or 10% in the tails instead) As in Ch. 8 (CLT) and 9 (CI s), we’ll study both: – Means and – proportions

Courtroom Analogy- Two Hypotheses: Guilty or Not Guilty Our conclusion (the sentence) Verdict is Not guiltyVerdict is Guilty RealityDefendant is innocent Acquittal- Correct conclusion Error Defendant is guilty ErrorConviction- Correct conclusion

Hypothesis Testing in Statistics— Note the chance of two different errors (Type I, II)

Types of Hypotheses in Statistical Testing The null hypothesis H 0 is one which expresses the current state of nature of belief about a population – Note: The hypothesis with the equal sign is the null The alternative (or research) hypothesis (H 1 or H a ) is one which reflects the researcher’s belief. (It will always disagree with the null hypothesis). – Note: the alternative hypothesis can be one or two tailed. – In one tailed tests, the alternative is usually the claim

Summary of Hypothesis test steps 1.Null hypothesis H 0, alternative hypothesis H 1, and preset α 2.Test statistic and sampling distribution 3.P-value and/or critical value 4.Test conclusion 5.Interpretation of test results 2-tailed ex H 0 : µ= 100 H 1 : µ ≠ 100 α = 0.05 Left tail ex H 0 : µ = 200 H 1 : µ < 200 α = 0.05 Right tail ex H 0 : µ = 50 H 1 : µ > 50 α = 0.05 CV approachP value approachdecision If test stat is in RR (Rejection Region) If p-value ≤ αreject H 0 If test stat is not in RRp-value > αdo not reject H 0

Should you use a 2 tail, or a right, or left tail test? Test whether the average in the bag of numbers is or isn’t 100. Test if a drug had any effect on heart rate. Test if a tutor helped the class do better on the next test. Test if a drug improved elevated cholesterol. 2-tailed ex H 0 : µ= __ H 1 : µ ≠ __ Left tail ex H 0 : µ = ___ H 1 : µ < ___ Right tail ex H 0 : µ = __ H 1 : µ > __

Example #1- numbers in a bag Recall the experiments with the bags of numbers. I claim that µ = 100. We’ll assume  =21.9. Test this hypothesis (that µ = 100 )if your sample size n= 20 and your sample mean was 90.

Ex #1- Hyp Test- numbers in a bag 1.H 0 : µ = 100 H 1 : µ ≠ 100 α = Z = = 3.CV 4.Test conclusion 5.Interpretation of test results CV approachP value approachdecision If test stat is in RR (Rejection Region) If p-value ≤ αreject H 0 If test stat is not in RRp-value > αdo not reject H 0

Ex #2– new sample mean If the sample mean is 95, redo the test: 1.H 0 : µ = 100 H 1 : µ ≠ 100 α = Z = = 3.CV 4.Test conclusion 5.Interpretation of test results CV approachP value approachdecision If test stat is in RR (Rejection Region) If p-value ≤ αreject H 0 If test stat is not in RRp-value > αdo not reject H 0

Ex #3: Left tail test- cholesterol A group has a mean cholesterol of 220. The data is normally distributed with σ= 15 After a new drug is used, test the claim that it lowers cholesterol. Data: n=30, sample mean= = 214.

Ex #3- cholesterol – left test 1.H 0 : µ 220 (fill in the correct hypotheses here) H 1 : µ 220 α = Z = = 3.P-value and/or critical value 4.Test conclusion 5.Interpretation of test results CV approachP value approachdecision If test stat is in RR (Rejection Region) If p-value ≤ αreject H 0 If test stat is not in RRp-value > αdo not reject H 0

Ex #4- right tail- tutor Scores in a MATH117 class have been normally distributed, with a mean of 60 all semester. The teacher believes that a tutor would help. After a few weeks with the tutor, a sample of 35 students’ scores is taken. The sample mean is now 62. Assume a population standard deviation of 5. Has the tutor had a positive effect?

Ex #4: tutor 1.H 0 : µ 60 H 1 : µ 60 α = Z = = 3.P-value and/or critical value 4.Test conclusion 5.Interpretation of test results CV approachP value approachdecision If test stat is in RR (Rejection Region) If p-value ≤ αreject H 0 If test stat is not in RRp-value > αdo not reject H 0

When  is unknown…use t tests Just like with confidence intervals, if we do not know the population standard deviation, we – substitute it with s (the sample standard deviation) and – Run a t test instead of a z test First, we’ll review using the t table

Critical values for t Find the CV for RIGHT tail examples when: – n=10,  =.05 – n=15,  =.10 Find the CV for LEFT tail examples when: – n=10,  =.05 – n=15,  =.10 Find the CV for TWO tail examples when: – n=10,  =.05 – n=15,  =.10 – n=20,  =.01

Ex #5– t test – placement scores The placement director states that the average placement score is 75. Based on the following data, test this claim. Data:

Ex #5 t test – placement scores 1.H 0 : µ 75 H 1 : µ 75 α = t = = 3.P-value and/or critical value 4.Test conclusion 5.Interpretation of test results 6.Confidence Interval CV approachP value approachdecision If test stat is in RRIf p-value ≤ αreject H 0 If test stat is not in RRp-value > αdo not reject H 0

Ex #6- placement scores The head of the tutoring department claims that the average placement score is below 80. Based on the following data, test this claim. Data:

Note: P values for t-tests We can use the t-table to approximate these values Use “Stat Crunch” on the online-hw to get more exact answers. – See the rectangle to the right of the data

Ex #6– t example 1.H 0 : µ 80(fill in the correct hypotheses here) H 1 : µ 80 α = t = = 3.P-value and/or critical value 4.Test conclusion 5.Interpretation of test results CV approachP value approachdecision If test stat is in RR (Rejection Region) If p-value ≤ αreject H 0 If test stat is not in RR p-value > αdo not reject H 0

Ex #7- salaries– t A national study shows that nurses earn $40,000. A career director claims that salaries in her town are higher than the national average. A sample provides the following data: 41,00042,50039,00039,999 43,00043,55044,200

Ex #7- salaries 1.H 0 : µ 40000(fill in the correct hypotheses here) H 1 : µ α = t = = 3.P-value and/or critical value 4.Test conclusion 5.Interpretation of test results CV approachP value approachdecision If test stat is in RR (Rejection Region) If p-value ≤ αreject H 0 If test stat is not in RR p-value > αdo not reject H 0

The Hypothesis Testing template Although hw may be worded differently, questions on the test will require you to do a 5 or 6 step answer (using either p value or CV) 1.Null and alternative hypotheses, H 0 and H 1, and preset α 2. Test statistic z = or t = 3.P-value and/or critical value 4.Test conclusion– Reject H 0 or not If test value is in RR (p-value ≤ α), we reject H 0. If test value is not in RR (p-value > α), we do not reject H 0 5.Interpretation of test results 6.Confidence Interval (for 2 tailed problems)

Ch.10 – part two Testing Proportion p Recall confidence intervals for p: ± z

Hypothesis tests for proportions 1.Null hypothesis H 0, alternative hypothesis H 1, and preset α 2.Sampling distribution Test statistic z = 3.P-value and/or critical value 4.Test conclusion 5.Interpretation of test results 2-tailed ex H 0 : p=.5 H 1 : p ≠.5 α = 0.05 Left tail ex H 0 : p =.7 H 1 : p <.7 α = 0.05 Right tail ex H 0 : p =.2 H 1 : p >.2 α = 0.05 CV approachP value approachdecision If test stat is in RR (Rejection Region) If p-value ≤ αreject H 0 If test stat is not in RRp-value > αdo not reject H 0

Ex #8- proportion who like job The HR director at a large corporation estimates that 75% of employees enjoy their jobs. From a sample of 200 people, 142 answer that they do. Test the HR director’s claim.

Ex #8 1.Null hypothesis H 0, alternative hypothesis H 1, and preset α H 0 : p=.75 H 1 : p α = 2.Test statistic and sampling distribution Z = = 3.P-value and/or critical value 4.Test conclusion 5.Interpretation of test results 6.Confidence interval CV approachP value approachdecision If test stat is in RR (Rejection Region) If p-value ≤ αreject H 0 If test stat is not in RRp-value > αdo not reject H 0

Ex #9 Previous studies show that 29% of eligible voters vote in the mid-terms. News pundits estimate that turnout will be lower than usual. A random sample of 800 adults reveals that 200 planned to vote in the mid- term elections. At the 1% level, test the news pundits’ predictions.

Ex #9 1.Null hypothesis H 0, alternative hypothesis H 1, and preset α H 0 : p (fill in hypothesis) H 1 : p α = 2.Test statistic and sampling distribution Z = = 3.P-value and/or critical value 4.Test conclusion 5.Interpretation of test results 6.Confidence Interval CV approachP value approachdecision If test stat is in RR (Rejection Region) If p-value ≤ αreject H 0 If test stat is not in RRp-value > αdo not reject H 0