Goto Lab: #0 #1 #2 #3 #4 #5 #6

Homework 6

Due Thurs 4 Nov in class


Assignment:

This assignment contains homework problems out of the text as well as a lab portion.

  1. As usual, I recommend going thru the conceptual exercises in Chapter 5.
  2. Chapter 4 Exercises: 26, 27, 30.
  3. Note that in Exercise 30, subjects should ideally be able to tolerate 5 times as much sunlight when wearing SPF 5 sunscreen. This means we might expect the effect of the treatment to be multiplicative. Think about what transformation would be most appropriate.
  4. Also, use the bootstrap to obtain a 95% confidence interval for the multiplicative effect in Exercise 30. You can do this by computing the ratio of (treatment duration)/(pretreatment duration). This number gives the multiplicative effect for each subject. Now take these 13 ratios and compute a confidence interval using both the mean and the median as the statistic of interest.
  5. In addition to the above exercises, compute the p-value for testing whether the urban site shows a higher level of pollution than the downwind site for the pollution data ( pollution.asc ) Go ahead and do this using a permutation test for paired differences. Compare this p-value to that of the rank sum test.
    Bootstrap for estimating the effect in a paired differences experiment

    Below is an example of using Splus commands to carry out a bootstrap analysis for paired differences. This may prove helpful for the supplemental problem to Exercise 30.

    We'll use the pollution dataset ( pollution.asc ) which was used in lecture.
    Permutation test for a paired differences experiment

    Below is an example of using Splus commands to carry out a permutation test for paired differences. This may prove helpful for the supplemental problem on the pollution data.

    We'll use the shoe dataset ( shoe.asc ) from the midterm:
    A shoe company has devoloped a new material A which they hope will wear out less quickly than the standard material B. The data below are measurements of the amount of wear of the soles of shoes worn by 10 boys -- a high score means high wear. The soles were made of the two different materials, A and B. Each boy wore a special pair of shoes, the sole of one shoe having been made with A and the sole of the other with B. The decision as to whether the left or the right sole was made with A or B was determined by a flip of a coin.