| X1 | |||||
| X2 | 0 | 1 | |||
| 0 | |||||
| 1 |
| Factor A | |||||
| 1 | 2 | ||||
| Factor B | |||||
| 1 | 12, 10 | 14 | |||
| 2 | 14 | 16, 18 |
| Diet A pigs | Weight in pounds at the end of each week. |
| Week 1 | Week 2 | Week 3 | |
| Pig #1 | 455 | 460 | 465 |
| Pig #2 | 387 | 390 | 395 |
| ... |
| Diet B pigs | Weight in pounds at the end of each week. |
| Week 1 | Week 2 | Week 3 | |
| Pig #1 | 415 | 417 | 414 |
| Pig #2 | 501 | 503 | 499 |
| ... |
Let
denote the vector of mean weights at weeks 1, 2, and
3 for pigs on diet A:
.
The vector
is
similarly defined. State the hypothesis you would test to see if
the changes in weight are equal for the two diets.
| Source | DF | SS | MS | F-value |
| Regression | 21506 | |||
| Error | ||||
| Total | 38121 |
Thus you are given only SSR and SSDTOT.
The statistical objective is to estimate the difference in mean levels of vision improvement between the Compound E treatment and the placebo.
One possible design is to randomly select and treat k patients (n eyes) with ointment containing Compound E and the other k patients with a placebo ointment. An eye is selected at random for each patient. A two sample t-test can be done to test for a difference in mean levels, or a confidence interval constructed to estimate the mean difference.
An alternative design would be to have each patient use both Compound E and the placebo. For each patient, a coin flip dictates which eye would receive which treatment. A paired difference t-test could be used to test for a difference or to construct a confidence interval for the mean difference.
Define appropriate notation and find the variance of the effect estimate under each design. Under what conditions is the paired design better than the two independent samples design?
The next 2 pages contain output from a regression package (omitted).
For the model
: