K300 Statistics, Prof. Kruschke

Homework 7, Due at the beginning of class, Tuesday Mar. 29, 2005.

Be sure to

  • write your name and ID on every page
  • make a copy of your homework for your own records and exam study
  • staple (not paper clip) your pages
  • write clearly
  • show your work as appropriate -- an unannotated sequence of numbers and derivations that mysteriously ends up with the correct numerical answer will not be given full credit
  • answer every part of every question (unless instructed otherwise).
    1. 6 pts. p. 284 #13.
    2. 10 pts. p. 285 #18. Use a non-directional hypothesis (and hence a two-tailed test). Do not do part (c).
    3. 7 pts. p. 286 #20.
    4. 7 pts. p. 286 # 21.
    5. 10 pts. Do boys or girls have longer first names? Visit http://www.socialsecurity.gov/OACT/babynames and scroll to the section called Popular Names by Birth Year. Select "2003" for year of birth and "Top 50" for Popularity. When the table of results appears, select all 50 rows of the info (drag your cursor over it) and copy and paste it into an Excel spreadsheet, starting in cell A1. Your Excel spreadsheet should now have 50 rows and 5 columns, just like the website table.

      In your Excel spreadsheet, delete the values from the columns containing the number of babies with those names (that is, clear the third and fifth columns). Then, have Excel compute the number of letters in each name: In the first cell of the third column (i.e., cell C1) type "=len(B1)". Copy that into all 50 rows of column C, and do the same thing for the fifth column. The third and fifth columns should now contain the number of letters in the corresponding names.

      Now have Excel do a t-test on the lengths of the names. (Use Tools --> Data Analysis --> ...) Place the output of the test in the worksheet beginning at the first row of the seventh column (i.e., cell H1).

      Print out one page that includes the top part of the data and the results of the t-test. What do you conclude? Do boys and girls have different length names, or can the null hypothesis of equal length names not be rejected? Write your answer underneath the output of the t-test.