



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Question #1:
(a) The least-square line of SBP (Y ) on QUET (X) for Smokers and nonsmokers are: Non − smokers : SBPˆ = 49.312 + 26. 303 QU ET
Smokers : SBPˆ = 79.255 + 20. 118 QU ET
(b) Let The single multiple model that uses the data for both smokers and nonsmokers is:
SBP = β 0 + β 1 QU ET + β 2 SM K + β 3 QU ET ∗ SM K
The least-square estimate of the above regression model is:
SBPˆ = 49.312 + 26. 303 QU ET + 29. 943 SM K − 6. 185 QU ET ∗ SM K
If we put SMK=0 and SMK=1 in the above model, we will have
SM K = 0 : SBPˆ = 49.312 + 26. 303 QU ET + 29.943(0) − 6. 185 QU ET ∗ (0)
or SM K = 0 (Non − smokers) : SBPˆ = 49.312 + 26. 303 QU ET
and
SM K = 1 : SBPˆ = 49.312 + 26. 303 QU ET + 29.943(1) − 6. 185 QU ET ∗ (1)
or SM K = 1 (Smokers) : SBPˆ = 79.255 + 20. 118 QU ET
which are exactly the as the estimate of lines that we found in part (a).
(c)−(i) Testing that the two lines are parallel is equivalent to testing H 0 : β 3 = 0 in the regression model in part (b). Let
Full Model : SBP = β 0 + β 1 QU ET + β 2 SM K + β 3 QU ET ∗ SM K + E
Reduced Model : SBP = β 0 + β 1 QU ET + β 2 SM K + E
The test statistic is:
M SRes(QU ET, SM K, QU ET ∗ SM K)
=
Since 0. 796 < F 0. 05 , 1 , 28 = 4.20, we fail to reject H 0 : β 3 = 0. You can also use P -value = P (T S > 0 .796) = 0.3799. Since P − value > 0 .05, we fail to reject H 0 : β 3 = 0. In addition, for testing H 0 : β 3 = 0, we can also use a t-test. The test statistic is
T S =
βˆ 3 − 0 S.E( βˆ 3 )
Since | − 0. 892 | < t 0. 025 ,df =28 = 2.048, we fail to reject H 0. The P − value = 2 P (T S > 0 .892) = 0.3799. Since P − value > 0 .05, we fail to reject H 0. (Note that the square of t-value is F -value. i.e. (− 0 .892)^2 = 0.796.)
(c) − (ii) Testing that the two lines are coincident is equivalent to testing H 0 : β 2 = β 3 = 0 in the regression model in part (b). Let
Full Model : SBP = β 0 + β 1 QU ET + β 2 SM K + β 3 QU ET ∗ SM K + E
Reduced Model : SBP = β 0 + β 1 QU ET + E
The test statistic is:
M SRes(QU ET, SM K, QU ET ∗ SM K)
=
Since 4. 035 > F 0. 05 , 2 , 28 = 3.34, we reject H 0 : β 2 = β 3 = 0. You can also use P -value = P (T S > 4 .035) = 0.029. Since P − value < 0 .05, we reject H 0 : β 2 = β 3 = 0. (Note that , for testing H 0 : β 2 = β 3 = 0, we cannot use a t-test.)
(d) Since we fail to reject H 0 in part (c) − (i), we can use ANACOVA regression model. Recall that in the ANACOVA regression model, there is no interaction. Therefore, the appropriate model is:
SBP = β 0 + β 1 QU ET + β 2 SM K + E
The least-square estimate of the regression model is:
SBPˆ = 63.876 + 22. 116 QU ET + 8. 571 SM K
(a) − (ii) In backward approach, Variables AGE, QUET, AS, AQS, and QS were removed from the model, respectively. All other variables were significant at the level of 0.05. Therefore, the final model is:
SBPˆ = 92.839 + 9.551 SMK + 0.251 AQ
(a) − (iii) Based on R^2 , the variable AQ should be entered in the model first. AS is the next variable to be entered in the model. The R^2 for the model with AQ and AS as independent random variables is 0.7692. There R^2 for the model with QUET, AQ and AS as independent variables is 0.7842 which very close to 0.7692. Therefore, based on R^2 , the best model is
SBPˆ = 95.140 + 0.239 AQ + 0.180 AS
The model with AGE and AQS as independent variables has Cp = 2.9935. The M SE for this model is 54.83534. which is close to the smallest MSE(49.5522 for model with QUET, AGE, AQ and AS as independent variables). In addition, its R^2 is 0.7525 which is close to 0.7692. Therefore, the final model is:
SBPˆ = 57.796 + 1.526 AGE + 0.057 AQS
The above model has interaction terms without having the main effects. It is proper to consider the following model, even the main effects may not be important.
SBPˆ = 120. 563 − 0 .301 AGE − 10 .795 QUET + 89.480 SMK
(b) Variable AQ is the only variable that can be included in the model in stepwise method for nonsmoker data. Therefore, the final model is:
SBPˆ = 93.073 + 0.250 AQ
Similarly, variable AQ is the only variable that can be included in the model in stepwise method for smoker data. Therefore, the final model is:
SBPˆ = 102.220 + 0.252 AQ
The above models might imply that we should consider the model
SBP = β 0 + β 1 SM K + β 2 AQ + E
The above model is the same as the final model in Backward approach, but it is different from the final model in other methods. Note that when we divide the data in two parts (Smokers and nonsmokers), we cannot consider the interaction between SMK and other variables. It seems the interactions are important and therefore we should not split the data.
Question #3:
(a In forward approach, Variable X 4 was entered first. Variable X 3 was entered in the second step. No other variable was significant at the level of 0.05 to be entered into the model. Therefore, the final model is:
Yˆ = 483.670 + 4. 796 X 3 − 24. 215 X 4
(b) In backward approach, Variables X 5 , X 1 , and X 2 were removed from the model, respectively. All other variables were significant at the level of 0.05. Therefore, the final model is:
Yˆ = 483.670 + 4. 796 X 3 − 24. 215 X 4
(c) In Stepwise approach, Variable X 4 was entered first. Variable X 3 was entered in the second step. Both variables X 3 and X 4 are significant and cannot be removed from the model. No other variable was significant at the level of 0. to be entered into the model. Therefore, the final model is:
Yˆ = 483.670 + 4. 796 X 3 − 24. 215 X 4
(d) Based on R^2 , the variable X 4 should be entered in the model first. X 3 is the next variable to be entered in the model. The R^2 for the model with X 3 and X 4 as independent random variables is 0.8587. The R^2 for the model with X 2 , X 3 and X 4 as independent random variables is 0.8741 which is close to 0.8587, but the last model is better in term of MSE and Cp. The R^2 for the model with X 1 , X 2 , X 3 and X 4 as independent random variables is 0.8909 which is close to 0.8741, but it has better MSE and Cp. The Cp still is not good for the model with X 1 , X 2 , X 3 and X 4. Therefore, the final model is the model that has all independent variables X 1 , X 2 , X 3 , X 4 and X 5. The estimated model is:
Yˆ = 325.436 + 0. 068 X 1 − 2. 522 X 2 + 3. 800 X 3 − 22. 949 X 4 − 2. 417 X 5
(e) Forward, backward, and stepwise procedure gave same result for this data. All possible methods gave different result.