Presentation on theme: "Inference for Means The t-distribution"— Presentation transcript:
1 Inference for Means The t-distribution AP Statistics
2 Remember this?Suppose we’re testing a new antibacterial cream, “Formulation NS,” on a small cut made on the inner forearm. We know from previous research that with no medication, the mean healing time (defined as the time for the scab to fall off) is 7.6 days, with a standard deviation of 1.4 days. The claim we want to test here is that Formulation NS speeds healing. We will use a 5% significance level. We cut 25 volunteer college students and apply Formulation NS to the wound. The mean healing time for the subjects is 7.1 days. We will assume that we know the population standard deviation, and that it’s 1.4 days.
3 When might we actually know s? Administrators at a hospital were concerned about the prenatal care given to mothers in their part of the city. To study this, they examined the gestation times of babies born there. The drew a sample of 25 babies born in their hospital in the previous 6 months. Human gestation times for healthy pregnancies are known to be well modeled by a Normal model with a mean of 266 days and a standard deviation of 16 days.
6 t – test statisticDraw an SRS of size n from a population that has the normal distribution with mean m and standard deviation s. The one sample t statistic has the t distribution with n-1 degrees of freedom.
8 Ok, so let’s look at a problem. Cola makers test new recipes for loss of sweetness during storage. Trained tasters rate the sweetness before and after storage. Here are the sweetness losses (sweetness before storage minus sweetness after storage) found by 10 tasters for one new cola recipe:Are these data good evidence that the cola lost sweetness?
10 = the mean loss in sweetness Parameter:= the mean loss in sweetnessHypotheses:H0: m = 0Ha: m > 0
11 Assumptions & Conditions Our data is a simple random sample (SRS) of size n from the population of interest. This condition is very importantObservations from the population have a normal distribution with mean m and standard deviation s.Check for symmetry and outliers
12 SRS: We must be willing to treat the 10 tasters as an SRS SRS: We must be willing to treat the 10 tasters as an SRS. Normal: This doesn’t look good, but there are no outliers, so we’ll proceed with caution.
13 Name: We’ll run a one-sample t-test Name: We’ll run a one-sample t-test. Test statistic: df = n – 1 = 10 – 1 = 9
14 Obtain P-Value: P-value = P(t > 2.70) between .02 and .01 By calc: 0.012Make Decision:This low P-value suggestsWe should reject H0.State in context:The low probability provides evidence to suggest that the cola has lost sweetness during storage.
16 How about confidence intervals? Environmentalists, government officials, and vehicle manufacturers are all interested in studying the auto exhaust emissions produced by motor vehicles. The major pollutants in auto exhaust are hydrocarbons, monoxide, and nitrogen oxide (NOX). The NOX levels (in grams/mile) for a sample of light-duty engines of the same type are listed on the next slide. Construct a 95% confidence interval for the mean amount of NOX emitted by light-duty engines of this type.
17 Sample Data 95% Confidence Interval: 1.6095% Confidence Interval: