STAT 220: Basic Statistics for Quantitative Students

Spring 2006

Assignment due Apr. 21

Type or write your answers to the following questions to turn in on Apr. 21 in class. As always, show all your work.

  1. Do exercises 16.1, 16.7, 16.8, 16.14, 16.16, 16.17

  2. Using the STAT 100 dataset at http://www.stat.psu.edu/~dhunter/220/files/datasets/survey.csv, perform a Mood's median test (page 578) to answer the following question: Is there any relationship between students' median daily hours spent studying and their voting status in the 2004 presidential election? Be sure to use all three categories of voting status: Too young, did not vote, did vote.

    The Mood's median test requires a chi-square test, which you can execute using the chisq.test function in R. After you have found the overall median (using the 'median' function in R), create a 2x3 table that is appropriate for the Mood's median test in this case. Suppose this table is called tab. Then, type chisq.test(tab).

    You should turn in the table you created along with the output for the chi-square test. Finally, interpret the output by stating what it tells us about median hours spent studying.

As always, email me if you have questions.