Chapter 20 Confidence Intervals and Hypothesis Tests for a Population Mean  ; t distributions t distributions confidence intervals for a population mean.

Slides:



Advertisements
Similar presentations
5.5 Confidence Intervals for a Population Mean ; t distributions t distributions t confidence intervals for a population mean Sample size required to estimate.
Advertisements

“Students” t-test.
t distributions t confidence intervals for a population mean  Sample size required to estimate  hypothesis tests for 
Objectives (BPS chapter 18) Inference about a Population Mean  Conditions for inference  The t distribution  The one-sample t confidence interval 
Inference for a population mean BPS chapter 18 © 2006 W. H. Freeman and Company.
Objectives (BPS chapter 15)
Hypothesis Testing Using a Single Sample
© 2010 Pearson Prentice Hall. All rights reserved Two Sample Hypothesis Testing for Means from Independent Groups.
© 2010 Pearson Prentice Hall. All rights reserved Two Sample Hypothesis Testing for Means from Paired or Dependent Groups.
Chapter 9 Chapter 10 Chapter 11 Chapter 12
Tests of significance Confidence intervals are used when the goal of our analysis is to estimate an unknown parameter in the population. A second goal.
Lecture Inference for a population mean when the stdev is unknown; one more example 12.3 Testing a population variance 12.4 Testing a population.
1 Chapter 12 Inference About a Population 2 Introduction In this chapter we utilize the approach developed before to describe a population.In this chapter.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Inference about a Mean Part II
BPS - 5th Ed. Chapter 171 Inference about a Population Mean.
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
Chapter 8 Introduction to Hypothesis Testing
Statistics for Managers Using Microsoft® Excel 5th Edition
Lecture Unit 5 Section 5.7 Testing Hypotheses about Means 1.
7.1 Lecture 10/29.
Tests of significance: The basics BPS chapter 15 © 2006 W.H. Freeman and Company.
Chapter 8 Testing Hypotheses about Means 1. Sweetness in cola soft drinks Cola manufacturers want to test how much the sweetness of cola drinks is affected.
Chapter 23 Confidence Intervals and Hypothesis Tests for a Population Mean  ; t distributions  t distributions  Confidence intervals for a population.
Experimental Statistics - week 2
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
Fundamentals of Hypothesis Testing: One-Sample Tests
Tests of significance: The basics BPS chapter 15 © 2006 W.H. Freeman and Company.
STAT 5372: Experimental Statistics Wayne Woodward Office: Office: 143 Heroy Phone: Phone: (214) URL: URL: faculty.smu.edu/waynew.
Slide 23-1 Copyright © 2004 Pearson Education, Inc.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
STA Statistical Inference
More About Significance Tests
BPS - 3rd Ed. Chapter 141 Tests of Significance: The Basics.
One Sample Inf-1 If sample came from a normal distribution, t has a t-distribution with n-1 degrees of freedom. 1)Symmetric about 0. 2)Looks like a standard.
1 Happiness comes not from material wealth but less desire.
Inference for a population mean BPS chapter 18 © 2006 W.H. Freeman and Company.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Essential Statistics Chapter 131 Introduction to Inference.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Inference for a population mean BPS chapter 16 © 2006 W.H. Freeman and Company.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
Essential Statistics Chapter 161 Inference about a Population Mean.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Formulating the Hypothesis null hypothesis 4 The null hypothesis is a statement about the population value that will be tested. null hypothesis 4 The null.
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Lecture Unit 5.5 Confidence Intervals for a Population Mean  ; t distributions  t distributions  Confidence intervals for a population mean  Sample.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Inference About Means Chapter 23. Getting Started Now that we know how to create confidence intervals and test hypotheses about proportions, it’d be nice.
Inference for a Population Mean  Estimation Hypothesis Testing.
16/23/2016Inference about µ1 Chapter 17 Inference about a Population Mean.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Chapter 5 Section 5.3 Confidence Intervals for a Population Mean  ; t distributions; sample size  t distributions  Confidence intervals for a population.
Warm Up Yvon Hopps ran an experiment to test optimum power and time settings for microwave popcorn. His goal was to find a combination of power and time.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
Inference for Distributions Inference for the Mean of a Population PBS Chapter 7.1 © 2009 W.H Freeman and Company.
Chapter 6 Hypothesis Tests for a Population Mean ; t distributions
Inference for a Population Mean 
Confidence Intervals for Proportions
Confidence Intervals for Proportions
Presentation transcript:

Chapter 20 Confidence Intervals and Hypothesis Tests for a Population Mean  ; t distributions t distributions confidence intervals for a population mean  using t distributions hypothesis tests for a population mean  using t distributions

The Importance of the Central Limit Theorem n When we select simple random samples of size n, the sample means we find will vary from sample to sample. We can model the distribution of these sample means with a probability model that is

Since the sampling model for x is the normal model, when we standardize x we get the standard normal z

If  is unknown, we probably don’t know  either. The sample standard deviation s provides an estimate of the population standard deviation  For a sample of size n, the sample standard deviation s is: n − 1 is the “degrees of freedom.” The value s/√n is called the standard error of x, denoted SE(x).

Standardize using s for  n Substitute s (sample standard deviation) for  ssss s ss s Note quite correct Not knowing  means using z is no longer correct

t-distributions Suppose that a Simple Random Sample of size n is drawn from a population whose distribution can be approximated by a N(µ, σ) model. When  is known, the sampling model for the mean x is N(  /√n). When  is estimated from the sample standard deviation s, the sampling model for the mean x follows a t distribution t( , s/√n) with degrees of freedom n − 1. is the 1-sample t statistic

Confidence Interval Estimates n CONFIDENCE INTERVAL for  n where: n t = Critical value from t- distribution with n-1 degrees of freedom n = Sample mean n s = Sample standard deviation n n = Sample size For very small samples ( n < 15), the data should follow a Normal model very closely. For moderate sample sizes ( n between 15 and 40), t methods will work well as long as the data are unimodal and reasonably symmetric. For sample sizes larger than 40, t methods are safe to use unless the data are extremely skewed. If outliers are present, analyses can be performed twice, with the outliers and without.

t distributions n Very similar to z~N(0, 1) n Sometimes called Student’s t distribution; Gossett, brewery employee n Properties: i)symmetric around 0 (like z) ii)degrees of freedom

Z Student’s t Distribution

Z t Student’s t Distribution Figure 11.3, Page 372

Z t1t Student’s t Distribution Figure 11.3, Page 372 Degrees of Freedom

Z t1t t7t7 Student’s t Distribution Figure 11.3, Page 372 Degrees of Freedom

t-Table: text- inside back cover n 90% confidence interval; df = n-1 = 10

Student’s t Distribution P(t > ) = t 10 P(t < ) =.05

Comparing t and z Critical Values Conf. leveln = 30 z = %t = z = %t = z = %t = z = %t =

n Example –An investor is trying to estimate the return on investment in companies that won quality awards last year. –A random sample of 41 such companies is selected, and the return on investment is recorded for each company. The data for the 41 companies have –Construct a 95% confidence interval for the mean return.

Example n Because cardiac deaths increase after heavy snowfalls, a study was conducted to measure the cardiac demands of shoveling snow by hand n The maximum heart rates for 10 adult males were recorded while shoveling snow. The sample mean and sample standard deviation were n Find a 90% CI for the population mean max. heart rate for those who shovel snow.

Solution

EXAMPLE: Consumer Protection Agency n Selected random sample of 16 packages of a product whose packages are marked as weighing 1 pound. n From the 16 packages: n a. find a 95% CI for the mean weight  of the 1-pound packages n b. should the company’s claim that the mean weight  is 1 pound be challenged ?

EXAMPLE

Chapter 20 Testing Hypotheses about Means 22

Sweetness in cola soft drinks Cola manufacturers want to test how much the sweetness of cola drinks is affected by storage. The sweetness loss due to storage was evaluated by 10 professional tasters by comparing the sweetness before and after storage (a positive value indicates a loss of sweetness): Taster Sweetness loss n n n n n 5 −0.4 n n 7 −1.3 n n n We want to test if storage results in a loss of sweetness, thus: H 0 :  = 0 versus H A :  > 0 where  is the mean sweetness loss due to storage. We also do not know the population parameter , the standard deviation of the sweetness loss.

The one-sample t-test As in any hypothesis tests, a hypothesis test for  requires a few steps: 1.State the null and alternative hypotheses (H 0 versus H A ) a) Decide on a one-sided or two-sided test 2.Calculate the test statistic t and determining its degrees of freedom 3.Find the area under the t distribution with the t-table or technology 4.State the P-value (or find bounds on the P-value) and interpret the result

The one-sample t-test; hypotheses Step 1: 1.State the null and alternative hypotheses (H 0 versus H A ) a) Decide on a one-sided or two-sided test H 0 :  =   versus H A :  >   (1 –tail test) H 0 :  =   versus H A :  <   (1 –tail test) H 0 :  =   versus H A :  ≠    –tail test)

The one-sample t-test; test statistic We perform a hypothesis test with null hypothesis H :  =  0 using the test statistic where the standard error of is. When the null hypothesis is true, the test statistic follows a t distribution with n-1 degrees of freedom. We use that model to obtain a P-value.

27 The one-sample t-test; P-Values Recall: The P-value is the probability, calculated assuming the null hypothesis H 0 is true, of observing a value of the test statistic more extreme than the value we actually observed. The calculation of the P-value depends on whether the hypothesis test is 1-tailed (that is, the alternative hypothesis is H A :   0 ) or 2-tailed (that is, the alternative hypothesis is H A :  ≠  0 ).

28 P-Values If H A :  >  0, then P-value=P(t > t 0 ) Assume the value of the test statistic t is t 0 If H A :  <  0, then P-value=P(t < t 0 ) If H A :  ≠  0, then P-value=2P(t > |t 0 |)

Sweetening colas (continued) Is there evidence that storage results in sweetness loss in colas? H 0 :  = 0 versus H a :  > 0 (one-sided test) Taster Sweetness loss ___________________________ Average 1.02 Standard deviation Degrees of freedom n − 1 = 9 Conf. Level Two Tail One Tail dfValues of t < t = 2.70 < ; thus 0.01 < P-value < Since P-value <.05, we reject H 0. There is a significant loss of sweetness, on average, following storage.

Finding P-values with Excel TDIST(x, degrees_freedom, tails) TDIST = P(t > x) for a random variable t following the t distribution (x positive). Use it in place of t-table to obtain the P-value. –x is the absolute value of the test statistic. –Deg_freedom is an integer indicating the number of degrees of freedom. –Tails specifies the number of distribution tails to return. If tails = 1, TDIST returns the one-tailed P-value. If tails = 2, TDIST returns the two-tailed P-value.

Sweetness in cola soft drinks (cont.) < t = 2.70 < ; thus 0.01 < p <

New York City Hotel Room Costs The NYC Visitors Bureau claims that the average cost of a hotel room is $168 per night. A random sample of 25 hotels resulted in y = $ and s = $ H 0 : μ  = 168 H A : μ  168

 n = 25; df = 24 New York City Hotel Room Costs Do not reject H 0 : not sufficient evidence that true mean cost is different than $ H 0 : μ  = 168 H A : μ  t, 24 df Conf. Level Two Tail One Tail dfValues of t P-value = ≤ P-value ≤ 0.2

Microwave Popcorn A popcorn maker wants a combination of microwave time and power that delivers high-quality popped corn with less than 10% unpopped kernels, on average. After testing, the research department determines that power 9 at 4 minutes is optimum. The company president tests 8 bags in his office microwave and finds the following percentages of unpopped kernels: 7, 13.2, 10, 6, 7.8, 2.8, 2.2, 5.2. Do the data provide evidence that the mean percentage of unpopped kernels is less than 10%? H 0 : μ  = 10 H A : μ  10 where μ is true unknown mean percentage of unpopped kernels

 n = 8; df = 7 Microwave Popcorn Reject H 0 : there is sufficient evidence that true mean percentage of unpopped kernels is less than 10%.02 0 H 0 : μ  = 10 H A : μ  t, 7 df Exact P-value =.02 Conf. Level Two Tail One Tail dfValues of t