6.4 Comparing Straight Lines: 6.4.1 General Model, 6.4.2 Use of Dummy Explanatory Variables
[4/100%]Using the notation of Example 6.2, prove that the least squares estimates of and the common slope (under the null hypothesis of parallelism) are given by
and
Prove that
If is the least squares estimate of under the general model, prove that
In Example 6.3 find the least squares estimates of and when is true.
In Example 6.4 derive the following results.
Show that the least squares estimates of and , under , are given by
and
When the values of are the same for each line so that and , prove that
and
Hint: . and are uncorrelated.
The examples in Section 6.4 are all special cases of the following problem.
Consider the model
where is of rank . We want to test the hypothesis that all the elements of are equal (to , i.e., ).
If is the least squares estimate of under , show that
where .
If is the least squares estimate of under , prove that
If is the fitted regression for , prove that
and
Hint: For (a) and (b) apply Theorem 3.6 with equal to and , respectively. For part (c) note that .