Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar...

28
Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007

Transcript of Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar...

Page 1: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Making Decisions about a Population Mean with Confidence

Lecture 33

Sections 10.1 – 10.2

Fri, Mar 30, 2007

Page 2: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Introduction

In Chapter 10 we will ask the same basic questions as in Chapter 9, except they will concern the mean.Find an estimate for the mean.Test a hypothesis about the mean.

Page 3: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Steps of Testing a Hypothesis (p-Value Approach) 1. State the null and alternative hypotheses. 2. State the significance level. 3. Give the test statistic, including the formula. 4. Compute the value of the test statistic. 5. Compute the p-value. 6. State the decision. 7. State the conclusion.

Page 4: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Hypotheses

The null and altenative hypotheses will be statements concerning .

Null hypothesis.H0: = 0.

Alternative hypothesis (choose one).H1: < 0.H1: > 0.H1: 0.

Page 5: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Hypotheses

See Example 10.1, p. 616. The hypotheses are

H0: = 15 mg.

H1: < 15 mg.

Page 6: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Level of Significance

The level of significance is the same as before.

If the value is not given, assume that = 0.05.

Page 7: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Test Statistic

The choice of test statistic will depend on the sample size and what is known about the population. (Details to follow.)

If we assume that is known and that either The sample size n is at least 30, or The population is normal,

Then the Central Limit Theorem for Means will apply. (See p. 615.)

Page 8: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Sampling Distribution ofx

If the population is normal, then the distribution ofx is also normal, with mean 0 and standard deviation /n.

for any sample size (no matter how small). Again, this assumes that is known.

.,exactly is 0

n

Nx

Page 9: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Sampling Distribution ofx

Therefore, the test statistic is

It is exactly standard normal.

n

xZ

/0

Page 10: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Sampling Distribution ofx On the other hand, if

The population is not normal, But the sample size is at least 30,

then the distribution ofx is approximately normal, with mean 0 and standard deviation /n.

We are still assuming that is known.

.,ely approximat is 0

n

Nx

Page 11: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Sampling Distribution ofx

Therefore, the test statistic is

It is approximately standard normal. The approximation is good enough that we

can use the normal tables or normalcdf.

n

xZ

/0

Page 12: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Decision TreeIs

known?yes no

Page 13: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Decision TreeIs

known?yes no

Is the population normal?

yes no

Page 14: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Decision Tree

n

XZ

/

Is known?yes no

Is the population normal?

yes no

Page 15: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Decision Tree

n

XZ

/

Is known?yes no

Is the population normal?

yes no

Is n 30?

yes no

Page 16: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Decision Tree

n

XZ

/

Is known?yes no

Is the population normal?

yes no

Is n 30?

yes no

n

XZ

/

Page 17: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Decision Tree

n

XZ

/

Is known?yes no

Is the population normal?

yes no

Is n 30?

yes no

n

XZ

/

Give up

Page 18: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

The Decision Tree

n

XZ

/

Is known?yes no

Is the population normal?

yes no

Is n 30?

yes no

n

XZ

/

Give up

TBA

Page 19: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Calculate the Value of the Test Statistic In our sample, we find thatx = 12.528. We are assuming that = 4.8. Therefore,

.575.296.0

472.2

25

8.4

15528.12

Z

Page 20: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Compute the p-Value

The p-value is P(x < -2.575). Use normalcdf(-E99, -2.575) = 0.005012. Therefore, p-value = 0.005012.

Page 21: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Decision

Because the p-value is less than, we will reject the null hypothesis.

Page 22: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Conclusion

We conclude that the carbon monoxide content of cigarettes is lower today than it was in the past.

Page 23: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Hypothesis Testing on the TI-83

Press STAT. Select TESTS. Select Z-Test. Press ENTER. A window appears requesting information. Select Data if you have the sample data

entered into a list. Otherwise, select Stats.

Page 24: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Hypothesis Testing on the TI-83

Assuming you selected Stats, Enter 0, the hypothetical mean. Enter . (Remember, is known.) Enterx. Enter n, the sample size. Select the type of alternative hypothesis. Select Calculate and press ENTER.

Page 25: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Hypothesis Testing on the TI-83

A window appears with the following information.The title “Z-Test.”The alternative hypothesis.The value of the test statistic Z.The p-value of the test.The sample mean.The sample size.

Page 26: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Example

Re-do Example 10.1 on the TI-83 (using Stats).

The TI-83 reports thatz = -2.575.p-value = 0.005012.

Page 27: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Hypothesis Testing on the TI-83

Suppose we had selected Data instead of Stats. Then somewhat different information is

requested. Enter the hypothetical mean. Enter . (Why?) Identify the list that contains the data. Skip Freq (it should be 1). Select the alternative hypothesis. Select Calculate and press ENTER.

Page 28: Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.

Example

Re-do Example 10.1 on the TI-83 (using Data). Enter the data in the chart on page 616 into list

L1. The TI-83 reports that

z = -2.575. p-value = 0.005012. x = 12.528. s = 4.740 ( 4.8).