Tutorial 4
Tutorial 4
Tutorial 4
1. Consider the following data set, where Y is the dependent variable and X is the regressor.
Y 4 8 5 9 10
X 2 3 4 6 8
Suppose the data can be described by model yi 0 1 X 1i i where i ~ N(0, σ2) and Cov(
i , j ) 0 if i≠j.
c) Using matrix approach, construct the ANOVA table and test for the significance of the
regression line using α = 0.05.
d) Test whether the intercept of the line is zero. State your null and alternative hypotheses.
2. In a small-scale regression study, the following data were obtained:
X1i 7 4 16 3 21 8
X2i 33 41 7 49 5 31
Yi 42 33 75 28 91 55
(a) Express the regression model in matrix form, defining all the terms.
(b) Find the least squares estimates of β, given that,
(c) Construct the ANOVA table and test for the significance of the regression line using
α=0.05.
(d) Test the hypothesis H0:β2=0 versus H1: 𝛽2 ≠ 0 at α=0.05.
(e) Find the 95% confidence interval for the intercept and test whether it is significant.
3. Use data in question 2 above, to fit a multiple linear regression model using SPSS and
compare results with those in question 2.
4. An auctioneer of rugs kept records of his weekly auctions in order to determine the
relationships among price, age of carpet or rug, number of people attending the auction,
and number of times the winning bidder had previously attended his auctions. He felt that,
with this information, he could plan his auctions better, serve his steady customers better
and make a higher overall profit for himself. Using SPSS, a multiple linear regression
HSATS112-tut4 (KRM/E-learning)
relating price to age, audience size, and previous attendence was fitted to the data. The
following is partial SPSS output:
Model Summary
ANOVAb
Total 5724333.333 23
Coefficientsa
Standardized
“The End”