
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for performing statistical tests and finding confidence and prediction intervals for linear regression models using the data set transact.txt. It also includes matrix calculations and formula derivations for simple linear regression models.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

When required, perform all the tests at 5% level and give 95% confidence and prediction intervals.
Problem A1. Consider the data transact.txt, and consider the model
E(T ime|T 1 , T 2) = β 0 + β 1 T 1 + β 2 T 2
a. Fit the above model to the dat.
b. Is this model significantly different from the model E(T ime|T 1 , T 2) = β 0?
c. Is the coefficient of T 1 significantly different from zero?
d. Is the coefficient of T 1 significantly different from 4?
e. Is 2β 1 + β 2 significantly different from 10?
f. Find a confidence interval for the value of the response at T 1 = 200 and T 2 = 500.
g. Find a prediction interval for the value of the response at T 1 = 200 and T 2 = 500.
Consider the model
E(T ime|T 1 , T 2) = β 0 + β 1 T 1 + β 2 T 2 + β 3 T 12 + β 4 T 22.
Test this model against the model
E(T ime|T 1 , T 2) = β 0 + β 1 T 1 + β 2 T 2.
Problem A2. The design matrix for the simple linear regression model is X = ( 1 , x).
a. Show
X′X =
n nx¯ nx¯
x^2 i
b. Invert X′X and use the formulas βˆ = (X′X)−^1 X′y and Var(βˆ) = σ^2 (X′X)−^1 to obtain the parameter estimate and their corresponding variances.