Statistical Analysis of Linear Regression Models, Assignments of Mathematics

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

Pre 2010

Uploaded on 08/16/2009

koofers-user-6a9
koofers-user-6a9 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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|T1, T 2) = β0+β1T1+β2T2
a. Fit the above model to the dat.
b. Is this model significantly different from the model E(T ime|T1, T 2) = β0?
c. Is the coefficient of T1significantly different from zero?
d. Is the coefficient of T1significantly different from 4?
e. Is 2β1+β2significantly different from 10?
f. Find a confidence interval for the value of the response at T1= 200 and T2= 500.
g. Find a prediction interval for the value of the response at T1= 200 and T2= 500.
Consider the model
E(T ime|T1, T 2) = β0+β1T1+β2T2+β3T2
1+β4T2
2.
Test this model against the model
E(T ime|T1, T 2) = β0+β1T1+β2T2.
Problem A2. The design matrix for the simple linear regression model is X= (1,x).
a. Show
X0X=n n¯x
n¯xPx2
i
b. Invert X0Xand use the formulas ˆ
β= (X0X)1X0yand Var(ˆ
β) = σ2(X0X)1to
obtain the parameter estimate and their corresponding variances.

Partial preview of the text

Download Statistical Analysis of Linear Regression Models and more Assignments Mathematics in PDF only on Docsity!

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.