inference for means the t-distribution ap statistics

18
Inference for Means Inference for Means The t-distribution The t-distribution AP Statistics

Upload: karlie-bunch

Post on 29-Mar-2015

219 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Inference for Means The t-distribution AP Statistics

Inference for MeansInference for MeansThe t-distributionThe t-distributionAP Statistics

Page 2: Inference for Means The t-distribution AP Statistics

Remember this?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.

Page 3: Inference for Means The t-distribution AP Statistics

When might we actually When might we actually know 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.

Page 4: Inference for Means The t-distribution AP Statistics

I’m taking I’m taking away!! away!!

Page 5: Inference for Means The t-distribution AP Statistics

William S. GossetWilliam S. Gosset

Page 6: Inference for Means The t-distribution AP Statistics

t – test statistict – 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.

Page 7: Inference for Means The t-distribution AP Statistics
Page 8: Inference for Means The t-distribution AP Statistics

Ok, so let’s look at a Ok, so let’s look at a problem.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.0 0.4 0.7 2.0 -0.4 2.2 -1.3 1.2 1.1 2.3

Are these data good evidence that the cola lost sweetness?

Page 9: Inference for Means The t-distribution AP Statistics
Page 10: Inference for Means The t-distribution AP Statistics

Parameter:= the mean loss in

sweetness

Hypotheses:H0: = 0

Ha: > 0

Page 11: Inference for Means The t-distribution AP Statistics

Assumptions & ConditionsAssumptions & ConditionsOur 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

Page 12: Inference for Means The t-distribution AP Statistics

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.

Page 13: Inference for Means The t-distribution AP Statistics

Name:We’ll run a one-sample t-test.

Test statistic:df = n – 1 = 10 – 1 = 9

Page 14: Inference for Means The t-distribution AP Statistics

Obtain P-Value:P-value = P(t > 2.70)

between .02 and .01By calc: 0.012

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

Page 15: Inference for Means The t-distribution AP Statistics

Computer OutputComputer Output

Page 16: Inference for Means The t-distribution AP Statistics

How about confidence How about confidence intervals?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.

Page 17: Inference for Means The t-distribution AP Statistics

Sample DataSample Data1.28 1.17 1.16 1.08 1.32 1.24 0.71 0.49

1.381.20 0.78 0.95 2.20 1.78 1.83 1.26 1.73

1.311.80 1.15 0.97 1.12 0.72 1.31 1.45 1.22

1.321.47 1.44 0.51 1.49 1.33 0.86 0.57 1.79

2.271.87 2.94 1.16 1.45 1.51 1.47 1.06 2.01

1.391.60

95% Confidence Interval:

Page 18: Inference for Means The t-distribution AP Statistics

(1.185, 1.473)