Homework 4

Chapter 2

Repeat your analysis from Homework 3 for the following 4 problems:

  1. Problem 2.4ab
  2. Problem 2.6ac
  3. Problem 2.27c
  4. Problem 2.30ab

using both SLRGN-based (as you did in Homework 3) and bootstrap-based inferential statistics.

Directions

  1. Use \(B = 5000\) bootstrap samples.
  2. For a problem that asks for a confidence interval, compute the confidence interval and the confidence curve under both the SLRGN and bootstrap models.
  3. Comment on the difference (or not) in your conclusions using the SLRGN versus bootstrap models.
  4. Refer back to your diagnostic plots for these data sets from Homework 2, and comment on whether the SLRGN- or bootstrap-based inferential statistics are more appropriate for each data set.

Hint: You can add a new confidence curve to a previously plotted confidence curve by passing the argument add = TRUE to the new call to plot.confcurve.

Additional Problems

Duality Between Confidence Intervals and Hypothesis Testing

We wish to test, assuming the SLRGN model, the following hypothesis: \[ \begin{array}{ll} H_{0} : & \beta_{1} = \beta_{1}^{(0)} \\ H_{1} : & \beta_{1} \neq \beta_{1}^{(0)} \end{array}\] at significance level \(\alpha\).
  1. Test Statistic Method:
    1. Determine an appropriate test statistic for this hypothesis test.
    2. Determine the rejection region for the appropriate test statistic for this hypothesis test at the significance level \(\alpha\).
  2. Confidence Interval Method:
    1. Determine the confidence interval that can be used to test this hypothesis.
    2. Determine the condition for rejecting the null hypothesis using this confidence interval at the significance level \(\alpha\).
  3. Show that the intervals of values of \(b_{1}\) for which the Test Statistic Method rejects the null hypothesis are equivalent to the intervals of values for which the Confidence Interval Method rejects the null hypothesis.

Good Odds

The odds ratio \(\rho\) is a quantity used in medical research to compare binary outcomes under two different treatments. An odds ratio of 1 indicates that there is no difference between the two treatments.

A medical researcher has constructed a confidence curve to estimate the odds ratio between two treatments for some disease. The confidence curve from her sample data is given below.

  1. What is the 80% confidence interval for the odds ratio?
  2. What is the \(P\)-value associated with a two-sided hypothesis test of no difference between the two treatments?

The Lazy Scientist

A scientist tests the hypothesis \[ \begin{array}{ll} H_{0} : & \beta_{1} = 0 \\ H_{1} : & \beta_{1} \neq 0 \end{array}\] using a SLRGN-based \(P\)-value. He reports the following sample statistics \[ \begin{aligned} n &= 101 \\ b_{1} &= 0.5 \\ s_{X} &= 2 \\ P &= 0.0013 \end{aligned}\] Suppose you want to know the estimate of the variance of the noise in the SLRGN model, which the scientist was too lazy to report.

  1. What is the value of \(\widehat{\sigma_{\epsilon}^{2}}\) implied by the reported statistics?
  2. Can you still recover the estimate of the noise variance if he had tested \[ \begin{array}{ll} H_{0} : & \beta_{1} = 2 \\ H_{1} : & \beta_{1} \neq 2 \end{array}\] instead?