Presentation on theme: "Inference for Means The t-distribution AP Statistics."— Presentation transcript:
Inference for Means The t-distribution AP Statistics
Remember this? Suppose were 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 its 1.4 days.
When might we actually know ? 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.
t – test statistic Draw 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.
Ok, so lets 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: 2.00.40.72.0-0.42.2-22.214.171.124.3 Are these data good evidence that the cola lost sweetness?
Parameter: = the mean loss in sweetness Hypotheses: H 0 : = 0 H a : > 0
Assumptions & Conditions Our data is a simple random sample (SRS) of size n from the population of interest. This condition is very important Observations from the population have a normal distribution with mean and standard deviation. Check for symmetry and outliers
SRS: We must be willing to treat the 10 tasters as an SRS. Normal:This doesnt look good, but there are no outliers, so well proceed with caution.
Name: Well run a one-sample t-test. Test statistic: df = n – 1 = 10 – 1 = 9
Obtain P-Value: P-value = P(t > 2.70) between.02 and.01 By calc: 0.012 Make Decision: This low P-value suggests We should reject H 0. State in context: The low probability provides evidence to suggest that the cola has lost sweetness during storage.
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.