STA242/ENV255 Assignment 3

Due Friday, September 12, 2003 at NOON. Submit to A125 LSRC. Late homework will not be accepted.


Homework policy
Suggested Exercises: All conceptual exercises in Ch. 3 of Sleuth. Sleuth Ex. 21, 22.


To turn in:

  1. Review 4.3.2 of Sleuth, p. 97-98. The data in Display 2.14 (p. 51) show guinea pig lifetimes (in days) for control (code=1) and for bacilli (code=2) groups.
    1. Create boxplots of the lifetimes in each group. Use Display 3.5 to comment on the possible implications of using a pooled standard deviation in this case.
    2. Use the Welch t-tools to find a 2-sided p-value and confidence interval for the effect of treatment on the lifetimes of guinea pigs. Express your result in a sentence. In Splus, go to the two-sample t-test menu and click the box next to "unequal variances."
    3. Comment on the adequacy of an "additive treatment model" for these data. That is, how well can these data answer the question of whether the bacilli treatment appears to cause an additive change in the mean of the lifetimes?

  2. The eating habits of 20 bats were examined in the article "Foraging Behavior of the Indian False Vampire Bat" (Biotropica (1991):63-67). These bats consume insects and frogs. During the course of the study, 8 of the bats contracted a virus, and thus, data were only available for a sample size of 12 bats. For the 12 bats, the sample average time to consume a frog was 21.9 minutes. The sample standard deviation was 7.7 minutes. Two analysts considered the data, and constructed 99% confidence intervals for the mean suppertime of a vampire bat whose meal consists of a frog.

    1. Analyst 1 used the 12 observations to construct her confidence interval. Report her result and interpret it in a sentence.

    2. Analyst 2, knowing that it's always better to have a larger sample size, decided to fill in the missing data using the sample mean. (This is a very naive method of data imputation.) She assumed that her sample size was 20, and filled in each of the 8 missing observations with the value of the sample average, 21.9 minutes. She then calculated her 99% confidence interval. Clearly write out the following quantities that Analyst 2 used to form the confidence interval: , n, s, and the value of t-quantile. Report the confidence interval and compare it to your result in part (a). If you were reviewing Analyst 2's work for a journal, would you accept it? Why or why not? Note: to calculate s for Analyst 2, you may need to refer to the formula for s on page 20 of the Sleuth.

    3. Both Analyst 1 and Analyst 2 use their 99% confidence intervals to determine whether there is evidence that the mean suppertime of a vampire bat differs from 20 minutes. Write out the hypotheses considered. Is one more likely than the other to reject the null hypothesis? Why or why not?

      Additional notes on 1(c): You don't need to do calculations (no test statistics or p-values) for this problem. Just give the hypotheses, and comment on the likely results that Analysts 1 and 2 would get if each analyst continued to sample from the population and calculated her respective confidence interval each time. Over time, is one analyst more likely than the other to reject the null hypothesis? Why or why not?

  3. Sleuth #3.24 on page 79. Sex Discrimination data. Turn in answers to (b) and (c) only.

    Some Directions:

    In (b), give hypotheses and test statistic, show how you arrived at the p-value, and write a 1-sentence conclusion. This can be handwritten. Show all steps.

    In (c) give the confidence interval and a sentence. Show all steps.

  4. Sleuth #3.31, p. 79. Brain/litter size

    This is another 1 page (max) data analysis write-up. Refer to HW2 for guidelines on writing this up. Please put your answer to this problem on a separate page, with your name on it.

    Some points to cover for this example:

    Exploratory Analysis of Data section: Again, a single figure as well as summary statistics should be enough here. For the figure, you can create a boxplot of the data on the natural scale (the log scale isn't intuitive for most people). In describing a dataset that has some skew, your summary statistics should include resistant measures of center and spread of the distribution. If there is an unusually large or small observation, you should note it.

    Statistical Analysis section: Here you should consider a transformation of the data. You do not need to describe every transformation you tried, just give the results for your final choice. You should describe briefly the motivation behind any transformations you might have chosen. Evaluate whether the transformation is appropriate by boxplotting transformed and untransformed data, as well as creating QQ-normal plots of transformed and untransformed data. You won't put all of these plots in your writeup, but you can describe the properties of your transformed data. Then you should perform a comparison of the two groups and give a p-value for your results. "Appropriate measures of uncertainty" means a confidence interval. Take some care in interpreting your tests and intervals if you have transformed your data. If your dataset includes outliers, you should run your tests with and without the points of concern to see if your results differ.

    Scope of Inference section: If you have transformed your data in order to fit the model, be sure your interpretations are expressed on the original scale of measurement or some scale meaningful to your reader. If you had to make assumptions to perform your statistical tests (like normality of transformed populations and independence of samples), think about whether these assumptions were realistic given the data that you have, and whether you really can answer the research question at hand. Give information on the extent to which the findings can be generalized to populations and whether a causal relationship can be established.

Last modified: Sun Sep 7 22:17:38 EDT 2003