chapter 10 –hypothesis tests concerning two population means

43
Chapter 10 –Hypothesis Tests Concerning Two Population Means

Upload: makya

Post on 24-Feb-2016

39 views

Category:

Documents


0 download

DESCRIPTION

Chapter 10 –Hypothesis Tests Concerning Two Population Means. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Chapter 10 –Hypothesis Tests Concerning Two Population Means

Page 2: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Farmer Myrtle Field grew two types of pumpkins to see which type yielded bigger pumpkins. She grew 30 of the first type and she grew 31 of the second type. If Ms. Field wished to test whether or not the two pumpkin types yielded, on average, pumpkins of the same weight then the appropriate null hypothesis would be:

A. Mean weight of pumpkin type one = mean weight of pumpkin type two

B. Mean weight of pumpkin type one > mean weight of pumpkin type two

C. Mean weight of pumpkin type one < mean weight of pumpkin type two

D. Mean weight of pumpkin type one ≠ mean weight of pumpkin type two

E. None of the above

Page 3: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Farmer Myrtle Field grew two types of pumpkins to see which type yielded bigger pumpkins. She grew 30 of the first type and she grew 31 of the second type. If Ms. Field wished to test whether or not the two pumpkin types yielded, on average, pumpkins of the same weight then the appropriate alternative hypothesis would be:

A. Mean weight of pumpkin type one = mean weight of pumpkin type two

B. Mean weight of pumpkin type one > mean weight of pumpkin type two

C. Mean weight of pumpkin type one < mean weight of pumpkin type two

D. Mean weight of pumpkin type one ≠ mean weight of pumpkin type two

E. None of the above

Page 4: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Farmer Myrtle Field grew two types of pumpkins to see which type yielded bigger pumpkins. She grew 30 of the first type and she grew 31 of the second type. Ms. Field wished to test whether or not the two pumpkin types yielded, on average, pumpkins of the same weight. The appropriate hypotheses can be stated as:

Page 5: Chapter  10 –Hypothesis Tests Concerning Two Population Means

The appropriate hypothesis test is called a two-sample t test. There are three types of alternative hypotheses just as before:

Page 6: Chapter  10 –Hypothesis Tests Concerning Two Population Means

There are two types of two-sample t tests:

• Pooled or equal variances t test• Non-pooled or unequal variances t test

Page 7: Chapter  10 –Hypothesis Tests Concerning Two Population Means

The pooled or equal variances t test assumes the standard deviations of the two populations being compared are equal:If we don’t know all the values in each population then it would be rather unlikely we would know the standard deviation of each population. This implies we would have no idea if the standard deviations are equal.

Page 8: Chapter  10 –Hypothesis Tests Concerning Two Population Means

The non-pooled or unequal variances t test assumes the standard deviations of the two populations being compared are not equal:This is a much more reasonable assumption.

Page 9: Chapter  10 –Hypothesis Tests Concerning Two Population Means

In general, I recommend practitioners choose the non-pooled or unequal variances two-sample t test unless, for some unusual reason, the practitioner believes the two population standard deviations are equal.Take a look at formulas in book

Page 10: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Farmer Myrtle Field grew two types of pumpkins to see which type yielded bigger pumpkins. She grew 30 of the first type and pounds with 13. She grew 31 of the second type and pounds with pounds. Since the sample means are 110 lbs and 104 lbs, Farmer Field correctly concluded the first type produces bigger pumpkins

A. TrueB. False

Page 11: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Farmer Myrtle Field grew two types of pumpkins to see which type yielded bigger pumpkins. She grew 30 of the first type and pounds with 13. She grew 31 of the second type and pounds with pounds. Conduct a non-pooled two-sample t test. The p-value is?

A. 0.0332B. 0.0613C. 0.0659D. 0.0663

Page 12: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Farmer Myrtle Field grew two types of pumpkins to see which type yielded bigger pumpkins. She grew 30 of the first type and pounds with 13. She grew 31 of the second type and pounds with pounds. The p-value is 0.0663. If then Myrtle concludes:

A. Mean weight of pumpkin type 1 = mean weight of pumpkin type 2B. Mean weight of pumpkin type 1 > mean weight of pumpkin type 2C. Mean weight of pumpkin type 1 < mean weight of pumpkin type 2D. Mean weight of pumpkin type 1 ≠ mean weight of pumpkin type 2

Page 13: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Researchers are interested in comparing the mean age of buyers of new domestic cars to the mean age of buyers of new imported cars. Suppose that they want to perform a hypothesis test to decide whether the mean age of buyers of new domestic cars () is greater than the mean age of buyers of new imported cars () . The correct hypotheses are:

A. B. C. D. E.

Page 14: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Researchers studied two subspecies of dark-eyed juncos. One of the subspecies migrates each year and the other does not migrate. A hypothesis test is to be performed to decide whether the mean wing lengths for the two subspecies are different. The correct hypotheses are:

A. B. C. D. E.

Page 15: Chapter  10 –Hypothesis Tests Concerning Two Population Means

An issue of USA Today discussed the amounts spent by teens and adults at shopping malls. Suppose that we want to perform a hypothesis test to decide whether the mean amount spent by teens () is less than the mean amount spent by adults (). The correct hypotheses are:

A. B. C. D. E.

Page 16: Chapter  10 –Hypothesis Tests Concerning Two Population Means

The U.S. Bureau of Prisons publishes data on the times served by prisoners released from federal institutions for the first time. Researchers want to see if there is evidence to conclude that the mean time served for fraud () is less than that for firearms offenses (). The correct hypotheses are:

A. B. C. D. E.

Page 17: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Researchers want to see if there is evidence to conclude that the mean time served for fraud () is less than that for firearms offenses (): . The sample information is: , , , , , and 10. Conduct the appropriate test. The p-value is:

A. 0.000371B. 0.000369C. 0.000742D. 0.000738E. None of the above

Page 18: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Researchers want to see if there is evidence to conclude that the mean time served for fraud () is less than that for firearms offenses (): . The sample information is: , , , , , and 10. Compute the appropriate test. The p-value is 0.000371. The correct decision is:

A. Mean time served for fraud is greater than that for firearms

B. Mean time served for fraud is less than that for firearms

C. Mean time served for fraud is the same as that for firearms

Page 19: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Sex and Direction – Problem in book

Page 20: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Intervention program implemented to improve work conditions of bus drivers in Stockholm. Intervention group of 10 drivers drove improved route (intervention group) and 31 drivers drove normal route (control group). Drivers were assigned to each group randomly. Heart rates of drivers during work were recorded. Researchers want to see if there is evidence to conclude that the mean heart rate for intervention group () is less than that for control group (). The correct hypotheses are:

A. B. C. D. E.

Page 21: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Researchers want to see if there is evidence to conclude that the mean heart rate for intervention group () is less than that for control group (). . The sample information is: , , , 9.04, 10, and 31. Conduct the appropriate test.

Before we compute the p-value, do you notice anything about the data?

Page 22: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Researchers want to see if there is evidence to conclude that the mean heart rate for intervention group () is less than that for control group (). . The sample information is: , , , 9.04, 10, and 31. Conduct the appropriate test. The p-value is:

A. 0.6748B. 0.4586C. 0.6504D. 0.7218E. 5

Page 23: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Researchers want to see if there is evidence to conclude that the mean heart rate for intervention group () is less than that for control group (). . The sample information is: , , , 9.04, 10, and 31. Conduct the appropriate test. The p-value is 0.6748. The correct decision is:

A. The intervention program workedB. The intervention program did not work

Page 24: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Assumption of the two-sample t hypothesis test in order for the decision to be valid:

• Random samples are independent of each other• The random samples each came from a normal

distribution OR each random sample size is

Page 25: Chapter  10 –Hypothesis Tests Concerning Two Population Means

A researcher has two independent random samples with sample sizes and . Below are the normal probability plots for each sample. The t distribution assumption for a two-sample t test is met.

A. TrueB. False

Page 26: Chapter  10 –Hypothesis Tests Concerning Two Population Means

A researcher has two independent random samples with sample sizes and 38. The normal probability plots for each sample imply the samples are not from normal distributions. The t distribution assumption for a two-sample t test is met.

A. TrueB. False

Page 27: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Thirty married couples are randomly selected. The amount of TV the men view and the amount of TV the women view in a week is recorded. Researchers want to test the hypothesis that the mean amount of TV married men watch is less than the mean amount of TV married women watch. The t distribution assumption for a two-sample t test is met.

A. TrueB. False

Page 28: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Thirty married couples are randomly selected. The amount of TV the men view and the amount of TV the women view in a week is recorded. Researchers want to test the hypothesis that the mean amount of TV married men watch is less than the mean amount of TV married women watch.

This is called paired data. A two-sample t test is not appropriate. What can we do?

Page 29: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Thirty married couples are randomly selected. The amount of TV the men view and the amount of TV the women view in a week is recorded. Researchers want to test the hypothesis that the mean amount of TV married men watch is less than the mean amount of TV married women watch.

Page 30: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Researchers want to test the hypothesis that the mean amount of TV married men watch is less than the mean amount of TV married women watch.

Examine the difference:

Page 31: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Examine the difference:

This implies the hypotheses can be written as:

Page 32: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Conduct a one-sample t test on the differences. This is called a paired t test.

Page 33: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Two strains of tobacco leaf virus were studied by randomly selecting 8 tobacco leaves and putting virus 1 on half of each leaf and virus 2 on the other half of each leaf. Researchers then counted the number of lesions each virus caused. Researchers wanted to test the hypothesis that one virus produces more lesions, on average, than the other.

Where is the mean number of lesions produced for each virus.

Page 34: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Two strains of tobacco leaf virus were studied by randomly selecting 8 tobacco leaves and putting virus 1 on half of each leaf and virus 2 on the other half of each leaf. Researchers then counted the number of lesions each virus caused. Researchers wanted to test the hypothesis that one virus produces more lesions, on average, than the other. The data follow:

Leaf 1 2 3 4 5 6 7 8

Virus 1 31 20 18 17 9 8 10 7

Virus 2 18 17 14 11 10 7 5 6

Page 35: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Two strains of tobacco leaf virus were studied by randomly selecting 8 tobacco leaves and putting virus 1 on half of each leaf and virus 2 on the other half of each leaf. Researchers then counted the number of lesions each virus caused.

Now, compute the differences.

Leaf 1 2 3 4 5 6 7 8

Virus 1 31 20 18 17 9 8 10 7

Virus 2 18 17 14 11 10 7 5 6

Differences 13 3 4 6 -1 1 5 1

Page 36: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Conduct a one-sample t test on the differences:

Leaf 1 2 3 4 5 6 7 8

Virus 1 31 20 18 17 9 8 10 7

Virus 2 18 17 14 11 10 7 5 6

Differences 13 3 4 6 -1 1 5 1

Page 37: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Conduct a one-sample t test on the differences making sure to use correct null and alternative hypotheses with difference = 0 vs. difference < 0.

P-value = 0.034

Differences 13 3 4 6 -1 1 5 1

Page 38: Chapter  10 –Hypothesis Tests Concerning Two Population Means

P-value = 0.034 so data supports alternative hypothesis which means virus 1 produces more lesions, on average, than virus 2.

Page 39: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Researchers measured the corneal thickness of eight patients who had glaucoma in one eye but not in the other. They want to test the hypothesis that mean corneal thickness is greater in normal eyes () than in eyes with glaucoma () . The correct null and alternative hypotheses are:

A. B. C. D. E.

Page 40: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Researchers measured the corneal thickness of eight patients who had glaucoma in one eye but not in the other. They want to test the hypothesis that mean corneal thickness is greater in normal eyes () than in eyes with glaucoma () . The correct null and alternative hypotheses are . The differences are as follows. Conduct the appropriate test and compute the p-value

-4 0 12 18 -4 -12 6 16

Page 41: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Researchers want to test the hypothesis that mean corneal thickness is greater in normal eyes () than in eyes with glaucoma () . The correct null and alternative hypotheses are . The differences are as follows. The p-value is?

-4 0 12 18 -4 -12 6 16

A. 0.312B. 0.129C. 0.164D. 0.258

Page 42: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Researchers want to test the hypothesis that mean corneal thickness is greater in normal eyes () than in eyes with glaucoma () . The correct null and alternative hypotheses are . The p-value is 0.164. The researchers should conclude:

A. Mean corneal thickness is greater in normal eyes than in eyes with glaucoma

B. Mean corneal thickness is the same in normal eyes and eyes with glaucoma

C. Mean corneal thickness is less in normal eyes than in eyes with glaucoma

Page 43: Chapter  10 –Hypothesis Tests Concerning Two Population Means

Assumption of the paired t hypothesis test in order for the decision to be valid. Same as assumption of the one-sample t test:

• The random sample came from a normal distribution

OR

• The random sample size is .