Student’s t Distribution Lecture 32 Section 10.2 Fri, Nov 10, 2006.

Slides:



Advertisements
Similar presentations
“Students” t-test.
Advertisements

Independent Samples: Comparing Proportions Lecture 35 Section 11.5 Mon, Nov 20, 2006.
Hypothesis Testing for Population Means and Proportions
T-Tests Lecture: Nov. 6, 2002.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Chapter 10, sections 1 and 4 Two-sample Hypothesis Testing Test hypotheses for the difference between two independent population means ( standard deviations.
1 (Student’s) T Distribution. 2 Z vs. T Many applications involve making conclusions about an unknown mean . Because a second unknown, , is present,
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Business Statistics, A First Course.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Statistics for Managers Using Microsoft® Excel 7th Edition
Claims about a Population Mean when σ is Known Objective: test a claim.
Confidence Interval Estimation
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
Section 7-4 Estimating a Population Mean: σ Not Known.
Dan Piett STAT West Virginia University
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
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 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Estimating a Population Mean: σ Known 7-3, pg 355.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 7.4 Estimation of a Population Mean  is unknown  This section presents.
Confidence Interval Estimation for a Population Proportion Lecture 31 Section 9.4 Wed, Nov 17, 2004.
Testing Hypotheses about a Population Proportion Lecture 30 Sections 9.3 Wed, Oct 24, 2007.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Section 8-5 Testing a Claim about a Mean: σ Not Known.
Test of Goodness of Fit Lecture 43 Section 14.1 – 14.3 Fri, Apr 8, 2005.
Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.
Statistics for Business and Economics 8 th Edition Chapter 7 Estimation: Single Population Copyright © 2013 Pearson Education, Inc. Publishing as Prentice.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Fri, Nov 12, 2004.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Wed, Nov 1, 2006.
Making Decisions about a Population Mean with Confidence Lecture 35 Sections 10.1 – 10.2 Fri, Mar 31, 2006.
Paired Samples Lecture 39 Section 11.3 Tue, Nov 15, 2005.
Testing Hypotheses about a Population Proportion Lecture 31 Sections 9.1 – 9.3 Wed, Mar 22, 2006.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 7.4 Estimation of a Population Mean  is unknown  This section presents.
AP Statistics.  If our data comes from a simple random sample (SRS) and the sample size is sufficiently large, then we know that the sampling distribution.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 7.4: Estimation of a population mean   is not known  This section.
Section 6.2 Confidence Intervals for the Mean (Small Samples) Larson/Farber 4th ed.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Confidence Interval Estimation for a Population Mean Lecture 46 Section 10.3 Wed, Apr 14, 2004.
Section 6.2 Confidence Intervals for the Mean (Small Samples) © 2012 Pearson Education, Inc. All rights reserved. 1 of 83.
Making Decisions about a Population Mean with Confidence Lecture 35 Sections 10.1 – 10.2 Fri, Mar 25, 2005.
Independent Samples: Comparing Means Lecture 39 Section 11.4 Fri, Apr 1, 2005.
Test of Goodness of Fit Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007.
Student’s t Distribution
Student’s t Distribution
Testing Hypotheses about a Population Proportion
Testing a Claim About a Mean:  Not Known
Independent Samples: Comparing Means
Confidence Interval Estimation for a Population Proportion
Confidence Interval Estimation for a Population Mean
Hypothesis Tests for a Population Mean in Practice
Confidence Interval Estimation
Independent Samples: Comparing Means
Independent Samples: Comparing Means
Independent Samples: Comparing Means
Lecture 36 Section 14.1 – 14.3 Mon, Nov 27, 2006
Making Decisions about a Population Mean with Confidence
Hypothesis tests for the difference between two proportions
Confidence Interval Estimation for a Population Mean
Hypothesis Tests for Two Population Standard Deviations
Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007
Making Decisions about a Population Mean with Confidence
Hypothesis Tests for a Standard Deviation
Testing Hypotheses about a Population Proportion
Making Decisions about a Population Mean with Confidence
Testing Hypotheses about a Population Proportion
Testing Hypotheses about a Population Proportion
Independent Samples: Comparing Means
Confidence Interval Estimation for a Population Mean
Testing Hypotheses about a Population Proportion
Lecture 43 Section 14.1 – 14.3 Mon, Nov 28, 2005
Confidence Interval Estimation for a Population Mean
Presentation transcript:

Student’s t Distribution Lecture 32 Section 10.2 Fri, Nov 10, 2006

What if  is Unknown? It is more realistic to assume that the value of  is unknown. It is more realistic to assume that the value of  is unknown. (If we don’t know the value of , then we probably don’t know the value of  ). (If we don’t know the value of , then we probably don’t know the value of  ). In this case, we use s to estimate . In this case, we use s to estimate .

Example See Example 10.1 on page 616 and assume that  is unknown. See Example 10.1 on page 616 and assume that  is unknown. Step 1: State the hypotheses. Step 1: State the hypotheses. H 0 :  = 15 mg. H 0 :  = 15 mg. H 1 :  < 15 mg. H 1 :  < 15 mg. Step 2: State the significance level. Step 2: State the significance level.  =  = Step 3: What is the test statistic? Step 3: What is the test statistic? We must digress. We must digress.

What if  is Unknown? Let us assume that the population is normal or nearly normal. Let us assume that the population is normal or nearly normal. Then the distribution of  x is normal. Then the distribution of  x is normal. That is, That is, However, for small n, However, for small n,

What if  is Unknown? Why not? Why not? And if it is not N(0, 1), then what is it? And if it is not N(0, 1), then what is it?

Student’s t Distribution It has a distribution called Student’s t distribution. It has a distribution called Student’s t distribution. The t distribution was discovered by W. S. Gosset in The t distribution was discovered by W. S. Gosset in See Distribution.html See Distribution.html Distribution.html Distribution.html

The t Distribution The shape of the t distribution is very similar to the shape of the standard normal distribution. The shape of the t distribution is very similar to the shape of the standard normal distribution. It is It is symmetric symmetric unimodal unimodal centered at 0. centered at 0. But it is wider than the standard normal. But it is wider than the standard normal. That is because of the additional variability introduced by using s instead of . That is because of the additional variability introduced by using s instead of .

The t Distribution Furthermore, the t distribution has a (slightly) different shape for each possible sample size. Furthermore, the t distribution has a (slightly) different shape for each possible sample size. As n gets larger and larger, s exhibits less and less variability, so the shape of the t distribution approaches the standard normal. As n gets larger and larger, s exhibits less and less variability, so the shape of the t distribution approaches the standard normal. In fact, if n  30, then the t distribution is approximately standard normal. In fact, if n  30, then the t distribution is approximately standard normal.

Degrees of Freedom If the sample size is n, then t is said to have n – 1 degrees of freedom. If the sample size is n, then t is said to have n – 1 degrees of freedom. We use df to denote “degrees of freedom.” We use df to denote “degrees of freedom.” We will use the notation t(df) to represent the t distribution with df degrees of freedom. We will use the notation t(df) to represent the t distribution with df degrees of freedom. For example, t(5) is the t distribution with 5 degrees of freedom (i.e., sample size 6). For example, t(5) is the t distribution with 5 degrees of freedom (i.e., sample size 6).

Standard Normal vs. t Distribution The distributions t(2), t(30), and N(0, 1). The distributions t(2), t(30), and N(0, 1).

Standard Normal vs. t Distribution The distributions t(2), t(30), and N(0, 1). The distributions t(2), t(30), and N(0, 1). t(2)

Standard Normal vs. t Distribution The distributions t(2), t(30), and N(0, 1). The distributions t(2), t(30), and N(0, 1). t(2) t(30)

Standard Normal vs. t Distribution The distributions t(2), t(30), and N(0, 1). The distributions t(2), t(30), and N(0, 1). t(2) t(30) N(0, 1)

The Decision Tree Is  known? yesno Is the population normal? yesno Is n  30? yesno Give up TBA

The Decision Tree Is  known? yesno Is the population normal? yesno Is n  30? yesno Give up Is the population normal? yes no

The Decision Tree Is  known? yesno Is the population normal? yesno Is n  30? yesno Give up Is the population normal? yes no Is n  30? yesno

The Decision Tree Is  known? yesno Is the population normal? yesno Is n  30? yesno Give up Is the population normal? yes no Is n  30? yesno

The Decision Tree Is  known? yesno Is the population normal? yesno Is n  30? yesno Give up Is the population normal? yes no Is n  30? yesno

The Decision Tree Is  known? yesno Is the population normal? yesno Is n  30? yesno Give up Is the population normal? yes no Is n  30? yesno Is n  30? yesno

The Decision Tree Is  known? yesno Is the population normal? yesno Is n  30? yesno Give up Is the population normal? yes no Is n  30? yesno Is n  30? yesno

The Decision Tree Is  known? yesno Is the population normal? yesno Is n  30? yesno Give up Is the population normal? yes no Is n  30? yesno Is n  30? yesno Give up

The Decision Tree Is  known? yesno Is the population normal? yesno Is n  30? yesno Give up Is the population normal? yes no Is n  30? yesno Is n  30? yesno Give up

The Decision Tree Is  known? yesno Is the population normal? yesno Is n  30? yesno Give up Is the population normal? yes no Is n  30? yesno Is n  30? yesno Give up

The Decision Tree Is  known? yesno Is the population normal? yesno Is n  30? yesno Is the population normal? yes no Is n  30? yesno Is n  30? yesno Give up Give up

Table IV – t Percentiles Table IV gives certain percentiles of t for certain degrees of freedom. Table IV gives certain percentiles of t for certain degrees of freedom. Specific percentiles for upper-tail areas: Specific percentiles for upper-tail areas: 0.40, 0.30, 0.20, 0.10, 0.05, 0.025, 0.01, , 0.30, 0.20, 0.10, 0.05, 0.025, 0.01, Specific degrees of freedom: Specific degrees of freedom: 1, 2, 3, …, 30, 40, 60, , 2, 3, …, 30, 40, 60, 120.

Table IV – t Percentiles What is the 95 th percentile of the t distribution when df = 10? What is the 95 th percentile of the t distribution when df = 10? The table tells us that The table tells us that P(t > 1.812) = 0.05, when df = 10. Thus, the 95 th percentile is Thus, the 95 th percentile is

Table IV – t Percentiles Since the t distribution is symmetric, we can also use the table for lower tails by making the t values negative. Since the t distribution is symmetric, we can also use the table for lower tails by making the t values negative. So, what is the 5 th percentile of t when df = 10? So, what is the 5 th percentile of t when df = 10? What is the 90 th percentile of t when df = 25? What is the 90 th percentile of t when df = 25?

Table IV – t Percentiles The table allows us to look up certain percentiles, but it will not allow us to find probabilities in general. The table allows us to look up certain percentiles, but it will not allow us to find probabilities in general. For example, what is P(t > 2.4) when df = 12? For example, what is P(t > 2.4) when df = 12?

TI-83 – Student’s t Distribution The TI-83 will find probabilities for the t distribution (but not percentiles, in general). The TI-83 will find probabilities for the t distribution (but not percentiles, in general). Press DISTR. Press DISTR. Select tcdf and press ENTER. tcdf( appears in the display. Select tcdf and press ENTER. tcdf( appears in the display. Enter the lower endpoint. Enter the lower endpoint. Enter the upper endpoint. Enter the upper endpoint.

TI-83 – Student’s t Distribution Enter the number of degrees of freedom (n – 1). Enter the number of degrees of freedom (n – 1). Press ENTER. Press ENTER. The result is the probability. The result is the probability.

Examples Enter tcdf(1.812, E99, 10). Enter tcdf(1.812, E99, 10). The result is The result is Enter tcdf(-E99, , 10). Enter tcdf(-E99, , 10). The result is The result is Thus, P(t > 1.812) = 0.05 when there are 10 degrees of freedom (n = 11). Thus, P(t > 1.812) = 0.05 when there are 10 degrees of freedom (n = 11). Find P(t > 2.4) when df = 12. Find P(t > 2.4) when df = 12.

Hypothesis Testing with t We should use the t distribution if We should use the t distribution if The population is normal (or nearly normal), and The population is normal (or nearly normal), and  is unknown (so we use s in its place), and  is unknown (so we use s in its place), and The sample size is small (n < 30). The sample size is small (n < 30). Otherwise, we should not use t. Otherwise, we should not use t. Either use Z or “give up.” Either use Z or “give up.”

Hypothesis Testing with t Continue with Example 10.1, p Continue with Example 10.1, p Step 3: Find the value of the test statistic. Step 3: Find the value of the test statistic. The test statistic is now The test statistic is now Step 4: Compute t from  x, , s, and n. Step 4: Compute t from  x, , s, and n.

Example Step 5: Find the p-value. Step 5: Find the p-value. We must look it up in the t table, or use tcdf on the TI-83. We must look it up in the t table, or use tcdf on the TI-83. Step 6: Make the decision regarding H 0 and H 1. Step 6: Make the decision regarding H 0 and H 1. Step 7: State the conclusion about cigarettes and carbon monoxide. Step 7: State the conclusion about cigarettes and carbon monoxide.

Example H 0 :  = 15 mg H 0 :  = 15 mg H 1 :  < 15 mg  =  = p-value = P(t < ) = tcdf(-E99, , 24) = p-value = P(t < ) = tcdf(-E99, , 24) = Reject H 0. Reject H 0. The carbon-monoxide content of cigarettes today is less than it was in the past. The carbon-monoxide content of cigarettes today is less than it was in the past.

TI-83 – Hypothesis Testing When  is Unknown Press STAT. Press STAT. Select TESTS. Select TESTS. Select T-Test. Select T-Test. A window appears requesting information. A window appears requesting information. Choose Data or Stats. Choose Data or Stats.

TI-83 – Hypothesis Testing When  is Unknown Assuming we selected Stats, Assuming we selected Stats, Enter  0. Enter  0. Enter  x. Enter  x. Enter s. (Remember,  is unknown.) Enter s. (Remember,  is unknown.) Enter n. Enter n. Select the alternative hypothesis and press ENTER. Select the alternative hypothesis and press ENTER. Select Calculate and press ENTER. Select Calculate and press ENTER.

TI-83 – Hypothesis Testing When  is Unknown A window appears with the following information. A window appears with the following information. The title “T-Test” The title “T-Test” The alternative hypothesis. The alternative hypothesis. The value of the test statistic t. The value of the test statistic t. The p-value. The p-value. The sample mean. The sample mean. The sample standard deviation. The sample standard deviation. The sample size. The sample size.

Example Re-do Example 10.1, p. 616, on the TI-83 under the assumption that  is unknown. Re-do Example 10.1, p. 616, on the TI-83 under the assumption that  is unknown.

Practice Use the TI-83 to find the following probabilities for the t distribution. Use the TI-83 to find the following probabilities for the t distribution. P(T > 2.5), df = 14. P(T > 2.5), df = 14. P(-3 < T < 3), df = 7. P(-3 < T < 3), df = 7. P(T < 3.5), df = 5. P(T < 3.5), df = 5. Use the TI-83 to find the following t-distribution percentiles. Use the TI-83 to find the following t-distribution percentiles. 95 th percentile, df = th percentile, df = th percentile, df = th percentile, df = 21. Endpoints of the middle 80%, df = 12. Endpoints of the middle 80%, df = 12.