252grass1-08(revised!!) 2/23/08
ECO 252 Second Graded Assignment
R. E. Bove
Name:
Class days and time:
Student Number:
Please include class and student number on what you hand in! Papers should be stapled. Your writeup should state clearly what you did and concluded. In diagrams of confidence intervals, shade the interval. In diagrams of test ratios and critical values for a sample statistic, shade the ‘reject zone.
Problem 1: Which of the following could be null hypotheses? Which could be an alternate hypothesis? Which could be neither? Why? If some of these are valid null hypotheses, state the alternate. If some of these are valid alternative hypotheses, state the null. Label and clearly. (i), (ii), (iii), (iv), (v), (vi), (vii), (viii), (ix) (x)
Problem 2: A man walks into a bar. He drinks bottles of beer. These bottles are supposed to contain 12 ounces of beer with a population standard deviation of 0.4 ounces. On the basis of the man's condition when he leaves the bar, we conclude that the total amount he drank was ounces. Personalize the data by replacing by the second to last digit of your student number. If the second to last digit is zero, . For example, Ima Badrisk has student number 012345, so and she claims that he drank 14 bottles of beer and a total of . She then uses the total amount he drank and the total number of bottles to compute a sample mean for the bottles.
Test the hypothesis that the population mean for these bottles was 12 ounces. Assume that the confidence level is 95%.
a) State your null and alternative hypotheses.
b) Find critical values for the sample mean and test the hypothesis. Show your ‘reject’ region on a diagram.Hint:note that conclusions of b), c) and d) should be identical.
c) Find a confidence interval for the sample mean and test the hypothesis. Show your results on a diagram.
d) Use a test ratio for a test of the sample mean. Show your ‘reject’ region on a diagram.
e) Find a p-value for the null hypothesis using your test ratio and the Normal table. Use the p-value to test the null hypothesis. Will you reject the null hypothesis with a confidence level of 10%? 5%? 1%? .002 (0.2%)? No answer will be accepted without a brief explanation.
Problem 3: Continue with your results from problem 2. We are still testing if the mean is 12.
a) Use the test ratio that you found on problem 2 to find an approximate p-value using the t-table and assuming that 0.4 ounces was a sample standard deviation? Does this change any of your results in 2e)?
b) Assume once again that 0.4 is a sample standard deviation. Test the hypothesis that the population mean is 12 ounces. Show your ‘reject region on a diagram. .
c) i)Assume that 0.4 is a population standard deviation. Test the hypothesis that the population mean is above 12 ounces using the test ratio that you found in 1d). State your null and alternative hypotheses. Show your ‘reject region on a diagram.
ii) Perhaps this should have read ‘0.4 is a sample standard deviation.’ Lets try again.
d) Assume that 0.4 is a population standard deviation. Test the hypothesis that the population meanis above 12 ounces using a critical value for the sample mean. State your null and alternative hypotheses. Show your ‘reject region on a diagram.
e) Assume that 0.4 is a population standard deviation. Test the hypothesis that the population meanis above 12 ounces using a one-sided confidence interval. Shade the confidence interval in yourdiagram.
Problem 4: (Steinberg) Supposedly at least 36% of college students change their major between freshman year and graduation. You take a survey of 630 graduating seniors and find that changed their majors, where is the last digit of your student number. For example, Ima Badrisk has student number 12345, so and she claims that changed their majors. Test the hypothesis.
a) State your null and alternative hypotheses.
b) Find a test ratio for a test of the proportion.
c) Make a diagram showing the rejection region for the test ratio if you use a 99% confidence level.
d) Find a p-value for this ratio and use it to test the hypothesis at a 1% significance level
Extra Credit Problem 5:
a) Assume that the sample size is 20.2 changed majors and you are testing the statement that at least 40% changed majors. Do the test at the 90% confidencelevelwithout using the Normal distribution.
The following data can be used in b) and c).
Make sure that your student number is easily readable. Choose one of the columns below using the second to last digit of your Student Number. Example: Ima Badrisk has student number 123456; so she picks column x5. Forget about the rest of the columns!
Row x0 x1 x2 x3 x4 x5 x6 x7 x8 x9
1 2.3 8.8 12.1 5.7 16.0 11.4 3.3 -2.5 6.7 3.0
2 7.9 2.9 3.6 5.7 3.5 -4.6 3.5 1.6 1.7 5.3
3 11.5 2.5 1.8 2.8 -1.7 4.7 12.2 2.7 2.0 1.1
4 2.1 6.5 9.9 2.9 6.8 -2.7 -1.6 -0.8 10.5 6.0
5 9.1 3.4 9.8 1.2 8.9 -3.6 7.1 -0.3 4.6 8.9
6 5.8 -3.6 6.8 6.8 4.1 -0.5 4.1 3.0 11.3 7.4
7 2.7 3.4 3.9 0.3 -2.9 -1.2 0.1 0.3 6.7 1.2
8 12.0 -1.5 9.9 9.6 15.5 -2.6 7.1 10.6 4.1 0.6
9 0.6 11.5 8.2 3.8 1.9 13.4 -1.5 4.9 5.2 4.2
10 -8.7 16.1 14.1 0.7 -0.9 0.5 1.0 3.3 3.7 7.1
11 4.1 4.6 6.8 9.3 3.0 3.2 6.2 14.8 9.9 5.0
12 -0.6 1.4 13.9 9.4 2.8 9.1 1.7 17.4 4.9 -2.5
13 -0.4 4.4 6.7 6.1 4.1 0.8 -2.3 9.5 9.7 8.8
b) Compute a sample standard deviation for your column and test the hypothesis
c) Using the same data, test the hypothesis that the median is below 4.
e) Use Minitab to check your answer to problem 4. Do this three ways.
First: Enter Minitab. Use the Editor pull-down menu to enable commands. Then enter the commands below.
Pone 630 220+b;(Replace 220+b with the number you used.)
Test 0.36;
Conf 99;(Sets a 99% confidence level)
Alter -1;(Makes H1 ‘less than.’)
useZ.(Uses normal approx. to binomial)
Second: Use the Stat pull-down menu. Choose ‘Basic Stat’ and then ‘1 proportion.’
Check ‘summarized data’ and enter your for ‘number of trials’ and 220+b for ‘number of events.’ Check ‘perform hypothesis test.’ Set ‘hypothesized proportion’ as 0.36. Press Options. Set ‘confidence level’ as 99, alternative hypothesis as ‘less than’ and check ‘Normal distribution.’ Go.
Third: Use the pull-down menu again. But before you start put 220+b yeses and 410+b noes in column 1. (You should have 630 rows of data. You can do this entry very rapidly if you use only y or 1 for yes and n or 0 for no. Just enter y 220+b times and thenn until you get to row 630. Even better, put a zero in the first row and use the fill handle on the bottom right of the cell to enter 1 an appropriate number of times then put a zero in the rest of the column the same way.) Uncheck‘summarized data’ and let Minitab know that the data are in column 1 (C1). Other options areunchanged.
(Fourth: repeat your third try, but uncheck ‘Normal distribution.’)