252solngr2 2/12/04 (Open this document in 'Page Layout' view!) Name:

Class days and time:

Please include this on what you hand in!

Solution to Graded Assignment 2

1. Which of the following could be null hypotheses? Which could be an alternate hypothesis? Which could be neither? Why? (i) (ii) (iii)(iv) (v)(vi) (vii)(viii) (ix), (x) .

2. Make sure that I know what formulas you are using.

Before a new long-distance plan, with lower per minute charges is tested, the population mean for long distance charges in the Hotzeplatz Metropolitan Area is $23.35. The new plan is made available to a randomly selected group of customers and a sample of 25 of their bills is inspected. From the sample we calculate a mean long distance charge of $24.50 and a standard deviation of $3.92. The new plan will only be made generally available if customers spend more on long distance calls. Should the new plan be adopted?

Use a 10% significance level.

a) State your null and alternative hypotheses.

b) Find critical values for the sample mean and test the hypothesis.

c) Find a confidence interval for the population mean and test the hypothesis.

d) Use a test ratio for a test of the mean

e) Find an approximate p-value for the test ratio and use the p-value to test the hypothesis.

3. Assume, in problem 2, that the population standard deviation was $3.10. State the test ratio and find its p-value. Using this p-value, would we reject the null hypothesis a) If the significance level is 1%, b) If the significance level is 5% and c) If the significance level is 10%?

4. (Keller and Warrack.)

Assume that Bush runs against Tree in the next presidential elections. Five minutes after the polls close, the results of an exit poll of 765 voters show that 407 voted for Bush. The Salamander Network will declare Bush the winner of Pennsylvania’s electoral votes if they can conclude that more than half of the voters voted for Bush. Should they do so?

a) State your null and alternative hypotheses.

b) Find a test ratio for a test of the proportion

c) Find a p-value for the test ratio and use the p-value to test the hypothesis at the 5% significance level..

Solution: 1a) Remember the following:

i) Only numbers like (the population mean,

proportion, variance, standard deviation and median) that are parameters of the population can be in a hypothesis; (the sample mean, proportion, variance, standard deviation and median) are statistics computed from sample data and cannot be in a hypothesis because a hypothesis is a statement about a population;

ii) The null hypothesis must contain an equality;

iii) must be between zero and one;

(iv) A variance or standard deviation cannot be negative.

So - Which of the following could be null hypotheses? Which could be an alternate hypothesis? Which could be neither? Why? (i) can’t be either since the sample proportion is not a parameter and a proportion can’t be above 1. (ii) can’t be either since a proportion can’t be negative. (iii) could be since it contains a parameter and an equality. It could not be . (iv) could be since it contains a parameter and an equality. It could not be . (v) can’t be either since the sample mean is not a parameter. (vi) can’t be or because the population standard deviation can’t be negative. (vii) can’t be either since the sample standard deviation is not a parameter (viii) can’t be because there is no equality. It could be because is a parameter. The null hypothesis would be (ix) could be since it contains a parameter (the median) and an equality. It could not be . (x) can’t be because there is no equality. It could be because is a parameter. The null hypothesis would be


252solngr2 2/12/04

2. From the formula table:

Interval for / Confidence Interval / Hypotheses / Test Ratio / Critical Value
Mean (s
known) / / / /
Mean (s
unknown) /
/ / /

While we are engaging in generalities, here are three important points from last year’s solution:

1) You have not done a hypothesis test unless you have stated your hypotheses, run the numbers and stated your conclusion.

2) The rule on p-value says that if the p-value is less than the significance level (alpha = ) reject the null hypothesis; if the p-value is greater than or equal to the significance level, do not reject the null hypothesis.

3) Make sure that I know what formulas you are using.

Before a new long-distance plan, with lower per minute charges is tested, the population mean for long distance charges in the Hotzeplatz Metropolitan Area is $23.35. The new plan is made available to a randomly selected group of customers and a sample of 25 of their bills is inspected. From the sample we calculate a mean long distance charge of $24.50 and a standard deviation of $3.92. The new plan will only be made generally available if customers spend more on long distance calls. Should the new plan be adopted? Use a 10% significance level.

a) State your null and alternative hypotheses: What the problem says: ‘The new plan will only be made generally available if customers spend more on long distance calls. Should the new plan be adopted?’ -----This definitely implies that goes somewhere, but it does not contain an equality, so it must be an alternate hypothesis. The other clue is that the alternate hypothesis is often an ‘action’ hypothesis, while the null hypothesis generally says ‘keep things as they are.’ So the null hypothesis is and the alternate hypothesis is .

What else the problem says: A random sample of bills gives a sample mean of 24.50 and a sample standard deviation of 3.92. Use a 10% significance level. So and This implies that It makes no sense to put 24.50 in the hypotheses when you know is true.

b) Find critical values for the sample mean and test the hypothesis: Degrees of freedom are We must use because we do not know . Because the alternate hypothesis is , we need a critical value for above 23.35. Since this means a one-sided test, we use The two-sided formula , , becomes . Make a diagram showing an almost Normal curve with a mean at 23.35 and a shaded 'reject' zone above 24.383. Since is above 24.383, we reject .

c) Find a confidence interval for the population mean and test the hypothesis: Because the alternate hypothesis is we need a confidence interval. becomes or . Make a diagram showing an almost Normal curve with a mean at and the confidence interval above 23.467 shaded. Since is below 23.467 and thus not in the confidence interval, we reject .


252solngr2 2/12/04

d) Use a test ratio for a test of the mean: The test ratio is . Since this is a one-sided, right-tail test, pick The ‘reject’ zone is the area above 1.318. Since 1.467 is in the ‘reject’ zone, reject the null hypothesis.

e) Find an approximate p-value for the test ratio and use the p-value to test the hypothesis: . On the 24 line of the t-table, note that 1.467 is between 1.318 and 1.711. Because 1.711 is in the .05 column and 1.318 is in the .10 column, the table is telling us that and or , so which means Since these p-values are below the 10% significance level, reject .

Since we rejected the null hypothesis the new plan should be adopted.

3. Assume, in problem 2, that the population standard deviation was $3.10. State the test ratio and find its p-value. Using this p-value, would we reject the null hypothesis a) If the significance level is 1%, b) If the significance level is 5% and c) If the significance level is 10%?

Note!!! The only thing that has changed from problem 2 is that the sample standard deviation has been replaced by the population standard deviation of 3.10 – not the sample mean, not the hypotheses. The only reason for this section was because some find e) above difficult, and this is easier since you can use the Normal table.

We still have and the alternate hypothesis is .

What else the problem says: Assume, in problem 2, that 3.10 was a population standard deviation. Everything else is unchanged, except that there is no significance level at first. So and But and We still have a right-tailed test. The table says that the test ratio is So If we use the Normal table, we find or .5 - .4686 =.0314. Actually, the average of these two, .0318, seems best. To do the last part of this problem, make a diagram of the Normal distribution with a mean of zero and shade the area above 1.855. .

a) If since the p-value of about .03 is not below the significance level, we do not reject .

b) If since the p-value of about .03 is below the significance level, we reject .

c) If since the p-value of about .03 is below the significance level, we reject .

You did not answer this question if you did the problem 3 different ways and never found the p-value!


252solngr2 2/12/04

4. (Keller and Warrack.) Assume that Bush runs against Tree in the next presidential elections. Five minutes after the polls close, the results of an exit poll of 765 voters show that 407 voted for Bush. The Salamander Network will declare Bush the winner of Pennsylvania’s electoral votes if they can conclude that more than half of the voters voted for Bush. Should they do so?

From the formula table:

Interval for / Confidence Interval / Hypotheses / Test Ratio / Critical Value
Proportion /
/ / /

a) State your null and alternative hypotheses: What the problem says: ‘The Salamander Network will declare Bush the winner of Pennsylvania’s electoral votes if they can conclude that more than half of the voters voted for Bush. Should they do so?’ A half is a proportion. There is nothing here about the mean. There is no reason to multiply by .5, since 765 is not the size of the population, which is unknown. The problem asks if the proportion is more than half. Since there is no equality in this question, it must be an alternate hypothesis. So the null hypothesis is and the alternate hypothesis is What else the problem says: A sample of 765 voters found that 407 voted for Bush. So and . This implies that and

b) Find a test ratio for a test of the proportion: The table says and This means that . (It makes no sense to use the test ratio, , if you have already said the null hypothesis is about the mean.)

c) Find a p-value for the test ratio and use the p-value to test the hypothesis at the 5% significance level: We use the Normal table to find that the . So, if since the p-value is below the significance level, we reject and declare Bush the winner.

Note: You should be able to do this problem using a critical value for or a confidence interval.

Critical Value: The table says , but this is a one-sided test and we want one critical value above so we use . Make a diagram showing an Normal curve centered at and a shaded 'reject' zone above .530. Since is above .530, we reject .

Confidence Interval: The table says , where, because . Since implies a 1-sided test we want a 1-sided confidence interval in the same direction as the alternate hypothesis. This would be . Make a diagram showing an Normal curve centered at .532 with the confidence interval above .5011 shaded. Since is below .5011 and thus not in the confidence interval, we reject .

4