Professional Documents
Culture Documents
Assignment 2
are identically and independently distributed. The parameters β0 , β1 and σ 2 are estimated by
Pn
ordinary least squares estimation where βˆ1 = sxy /sxx , β̂0 = ȳ − βˆ1 x̄, sxy = i=1 (xi − x̄)(yi − ȳ),
Pn Pn 1
Pn 1
Pn
sxx = i=1 (xi − x̄)2 , syy = i=1 (yi − ȳ)2 , x̄ = n i=1 xi , ȳ = n i=1 yi and yˆi is the ith fitted
x̄2
1 1
Pn
(i) n−2 ( n + sxx ) i=1 (yi − yˆi )2 .
x̄2
1 1
Pn
(ii) n−2 ( n + sxx ) i=1 (yi − β̂0 − β̂1 xi )2 .
1 1 x̄2
(iii) n−2 ( n + sxx )(syy − β̂12 sxx ).
1 1 x̄2
(iv) n−2 ( n + sxx )(syy − β̂1 sxy ).
[2] If the random errors i ’s having zero mean and unknown variance σ 2 in the simple linear regression
A. t test.
B. Z test.
β in the simple linear regression model yi = βxi + i where i ’s are identically and independently
distributed following normal distribution with zero mean and unknown variance σ 2 is
s∗ 2 s∗
q q
zα/2 (s∗
xy ) zα/2 (s∗
xy )
2
A. s∗ − xy
√ ∗
syy − s∗ , s∗ + xy
√ ∗
syy − s s∗ .
xx (n−1)s∗
xx xx xx (n−1)s∗
xx xx
∗ ∗
q q
s t (s∗ )2 sxy t ,n−1 (s∗ )2
B. s∗xy − √ α/2,n−1∗ s∗yy − sxy∗ , s∗ + √α/2 ∗ s∗yy − sxy
∗ .
xx (n−1)sxx xx xx (n−1)sxx xx
s∗ (s∗ )2 s∗
q q
t t ,n−2 (s∗ )2
C. s∗xy − √ α/2,n−2∗ s∗yy − sxy
∗ , s∗xy + √α/2 ∗ s∗yy − sxy
∗ .
xx (n−2)sxx xx xx (n−2)sxx xx
D. None of these.
where σ 2 is unknown, is obtained for a given set of data as (10, 20). The tabulated value of t statistic
at 5% level of significance with 5 degrees of freedom is 2.0. Which of the following statements are
correct.
Page 2
[5] A simple linear regression model yi = β0 + β1 xi + i , i = 1, 2, . . . , n is fitted on the basis of given
set of data. The fitted model is obtained as y = 2 + 3x. The interpretation of the value 3 is
A. when x changes by one unit, then the average value of y changes by 3 units.
C. when x changes by one unit, then the average value of y lies in the interval (0,3).
D. when x changes by one unit, then the value of y lies in the interval (0,3).
set of data. The fitted model is obtained as y = 6 + 7x. The interpretation of the value 6 is
C. when x changes by 7 units, then the change in the average value of y is 6 units.
Question 7 - 10 are based on the following output of a software which is obtained while
A. y = 44.2 + 2.89x
B. y = 2627.8 − 37.15x
C. y = −37.15 + 2627.8x
D. y = 59.47 − 12.86x
Page 3
Figure 1: Software output for Questions 7 - 10
A. accepted.
B. rejected.
D. Inadequate data.
A. accepted.
B. rejected.
D. Inadequate data.
Page 4
[10] The least squares estimate of σ 2 is
A. 44.2
B. 2.89
C. 166255
D. 9236
Page 5
Solution to Assignment 2
Answer of Question 1 – D
Answer of Question 2 – D
Answer of Question 3 – B
Answer of Question 4 – B
Answer of Question 5 – A
Answer of Question 6 – A
Answer of Question 7 – B
Answer of Question 8 – B
Answer of Question 9 – A
Answer of Question 10 – D
Page 6