Tutorial 3
Tutorial 3
Tutorial 3
Temperature(˚C) 0 20 40 60 80 100
Density(kg/cc) 1 0.997 0.983 0.983 0.973 0.9558
We wish to describe the data by the model Yi=β0+β1Xi+єi where X represents temperature
and Y represents density.
a. Find the least squares estimates of 0 and 1 . Write down the equation of the
regression line.
b. Construct the analysis of variance table for the regression model and test the
significance of the regression at α=0.05.
c. Calculate the 95% confidence interval for the slope of the line and the intercept.
d. Calculate the coefficient of determination R2 and interpret your answer.
e. What density would you expect for temperature of 28?
4. A simple linear regression analysis was carried out on output (Yi) and hours worked (Xi).
The following partial SPSS output was obtained.
Coefficientsa
Standardized
Unstandardized Coefficients Coefficients
a. Dependent Variable: Y
Coefficientsa
Standardized
Unstandardized Coefficients Coefficients
Total 411.875 7
a. Predictors: (Constant), X
b. Dependent Variable: Y
5. The following data set relates maize usage to the number of animals on the farms
surveyed. 12 farms were surveyed.
Maize 25 14 16 28 36 33 12 30 17 40 21 18
used(Y)
Number of 6 4 4 6 8 7 4 7 6 10 8 9
Animals(X)
Total 935.667 11
a. Predictors: (Constant), X
HASTS112-tut3 (KRM/E-learning)
ANOVAb
Total 935.667 11
b. Dependent Variable: Y
“The End”