t distributions t confidence intervals for a population mean  Sample size required to estimate  hypothesis tests for 

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

5.6 Determining Sample Size to Estimate  Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population.
“Students” t-test.
Hypothesis Testing. To define a statistical Test we 1.Choose a statistic (called the test statistic) 2.Divide the range of possible values for the test.
Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Fall 2006 – Fundamentals of Business Statistics 1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter 7 Estimating Population Values.
Chapter 7 Estimating Population Values
Chapter 4 Simple Random Sampling n Definition of Simple Random Sample (SRS) and how to select a SRS n Estimation of population mean and total; sample.
Confidence Interval A confidence interval (or interval estimate) is a range (or an interval) of values used to estimate the true value of a population.
Chapter 23 Confidence Intervals and Hypothesis Tests for a Population Mean  ; t distributions  t distributions  Confidence intervals for a population.
Intermediate Statistical Analysis Professor K. Leppel.
Overview Definition Hypothesis
+ DO NOW What conditions do you need to check before constructing a confidence interval for the population proportion? (hint: there are three)
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
Slide 23-1 Copyright © 2004 Pearson Education, Inc.
Chapter 6 Confidence Intervals.
STA Statistical Inference
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.
Estimates and Sample Sizes Lecture – 7.4
CHAPTER 18: Inference about a Population Mean
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 8-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 23 Inference About Means.
CHAPTER SIX Confidence Intervals.
Copyright © 2012 Pearson Education. All rights reserved © 2010 Pearson Education Copyright © 2012 Pearson Education. All rights reserved. Chapter.
1 Required Sample Size, Type II Error Probabilities Chapter 23 Inference for Means: Part 2.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Section 9.3: Confidence Interval for a Population Mean.
Chapter 20 Confidence Intervals and Hypothesis Tests for a Population Mean  ; t distributions t distributions confidence intervals for a population mean.
Estimating a Population Mean
Sampling distributions rule of thumb…. Some important points about sample distributions… If we obtain a sample that meets the rules of thumb, then…
Chapter 12 Confidence Intervals and Hypothesis Tests for Means © 2010 Pearson Education 1.
Monday, October 22 Hypothesis testing using the normal Z-distribution. Student’s t distribution. Confidence intervals.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Estimating with Confidence Section 11.1 Estimating a Population Mean.
Estimating a Population Mean. Student’s t-Distribution.
Confidence Intervals for a Population Mean, Standard Deviation Unknown.
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,
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.
Monday, October 21 Hypothesis testing using the normal Z-distribution. Student’s t distribution. Confidence intervals.
ESTIMATION OF THE MEAN. 2 INTRO :: ESTIMATION Definition The assignment of plausible value(s) to a population parameter based on a value of a sample statistic.
Inference for a Population Mean  Estimation Hypothesis Testing.
+ Unit 5: Estimating with Confidence Section 8.3 Estimating a Population Mean.
Confidence Intervals. Point Estimate u A specific numerical value estimate of a parameter. u The best point estimate for the population mean is the sample.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
Chapter 5 Section 5.3 Confidence Intervals for a Population Mean  ; t distributions; sample size  t distributions  Confidence intervals for a population.
CHAPTER 8 Estimating with Confidence
CHAPTER 9 Testing a Claim
Chapter 9 Hypothesis Testing.
Chapter 6 Hypothesis Tests for a Population Mean ; t distributions
Inferences Based on a Single Sample
Inference for a Population Mean 
Chapter 4 Simple Random Sampling
Confidence Intervals for Proportions
Chapter 9 Hypothesis Testing.
CHAPTER 9 Testing a Claim
Monday, October 19 Hypothesis testing using the normal Z-distribution.
Chapter 6 Confidence Intervals.
Lecture 10/24/ Tests of Significance
CHAPTER 12 More About Regression
Confidence Intervals for Proportions
Chapter 23 Inference About Means.
CHAPTER 9 Testing a Claim
CHAPTER 18: Inference about a Population Mean
Estimates and Sample Sizes Lecture – 7.4
CHAPTER 18: Inference about a Population Mean
CHAPTER 9 Testing a Claim
The z-test for the Mean of a Normal Population
Presentation transcript:

t distributions t confidence intervals for a population mean  Sample size required to estimate  hypothesis tests for 

In the NFL season Adrian Peterson of the Minn. Vikings rushed for 2,097 yards. The all-time single-season rushing record is 2,105 yards (Eric Dickerson 1984 LA Rams). Shown below are Peterson’s rushing yards in each game: We would like to estimate Adrian Peterson’s mean rushing ABILITY during the season with a confidence interval.

 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

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).

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

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 for   where:  t = Critical value from t-distribution with n-1 degrees of freedom  = Sample mean  s = Sample standard deviation  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.

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

Z

Z t Figure 11.3, Page 372

Z t1t Figure 11.3, Page 372 Degrees of Freedom

Z t1t t7t7 Figure 11.3, Page 372 Degrees of Freedom

 90% confidence interval; df = n-1 = 10

P(t > ) = t 10 P(t < ) =.05

Conf. leveln = 30 z = %t = z = %t = z = %t = z = %t =

In the NFL season Adrian Peterson of the Minn. Vikings rushed for 2,097 yards. The all-time single-season rushing record is 2,105 yards (Eric Dickerson 1984 LA Rams). Shown below are Peterson’s rushing yards in each game: Construct a 95% confidence interval for Peterson’s mean rushing ABILITY during the season.

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

Determining Sample Size to Estimate 

Required Sample Size To Estimate a Population Mean  If you desire a C% confidence interval for a population mean  with an accuracy specified by you, how large does the sample size need to be? We will denote the accuracy by ME, which stands for Margin of Error.

Example: Sample Size to Estimate a Population Mean  Suppose we want to estimate the unknown mean height  of male undergrad students at NC State with a confidence interval. We want to be 95% confident that our estimate is within.5 inch of  How large does our sample size need to be?

Confidence Interval for 

Good news: we have an equation Bad news: 1. 1.Need to know s 2. 2.We don’t know n so we don’t know the degrees of freedom to find t * n-1

A Way Around this Problem: Use the Standard Normal

.95 Confidence level Sampling distribution of x

Estimating s Previously collected data or prior knowledge of the population If the population is normal or near- normal, then s can be conservatively estimated by s  range % of obs. Within 3  of the mean

Example: sample size to estimate mean height µ of NCSU undergrad. male students We want to be 95% confident that we are within.5 inch of  so   ME =.5; z*=1.96 Suppose previous data indicates that s is about 2 inches. n= [(1.96)(2)/(.5)] 2 = We should sample 62 male students

Example: Sample Size to Estimate a Population Mean  -Textbooks Suppose the financial aid office wants to estimate the mean NCSU semester textbook cost  within ME=$25 with 98% confidence. How many students should be sampled? Previous data shows  is about $85.

Example: Sample Size to Estimate a Population Mean  -NFL footballs The manufacturer of NFL footballs uses a machine to inflate new footballs The mean inflation pressure is 13.5 psi, but uncontrollable factors cause the pressures of individual footballs to vary from 13.3 psi to 13.7 psi After throwing 6 interceptions in a game, Peyton Manning complains that the balls are not properly inflated. The manufacturer wishes to estimate the mean inflation pressure to within.025 psi with a 99% confidence interval. How many footballs should be sampled?

Example: Sample Size to Estimate a Population Mean  The manufacturer wishes to estimate the mean inflation pressure to within.025 pound with a 99% confidence interval. How may footballs should be sampled? 99% confidence  z* = 2.58; ME =.025  = ? Inflation pressures range from 13.3 to 13.7 psi So range =13.7 – 13.3 =.4;   range/6 =.4/6 =

Chapter 23 Hypothesis Tests for a Population Mean  33

25 pitchers with highest average fastball velocity: 2007: 2013: Was the ABILITY of the top 25 pitchers in 2013 to throw hard greater than the ABILITY of the top 25 pitchers in 2007 to throw hard?

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 determine its degrees of freedom 3.Find the area under the t distribution with the t-table or technology 4.Determine the P-value with technology (or find bounds on the P-value) and interpret the result

Step 1: State the null and alternative hypotheses (H 0 versus H 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) Step 2:

We perform a hypothesis test with null hypothesis H 0 :  =  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.

38 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 ).

39 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 |)

25 pitchers with highest average fastball velocity: 2007: 2013: Was the ABILITY of the top 25 pitchers in 2013 to throw hard greater than the ABILITY of the top 25 pitchers in 2007? H 0 : μ  = H A : μ  where  is the average fastball velocity of the top pitchers

 n = 25; df = 24 Reject H 0 : Since P-value <.05, there is sufficient evidence that top 25 pitchers in 2013 on average throw harder H 0 : μ  = H A : μ  t, 24 df Conf. Level Two Tail One Tail dfValues of t P-value =.008

< t = 2.58 < ; thus 0.01 < p < t, 24 df

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 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 < |t| = 2.51 < so.01 < P-value <.025