
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















3.1 The Classical Linear Regression Model (CLRM)
The CLRM makes the following assumptions:
i
u :
| 0
i i
E u X
i
u ):
2
|
i i
Var u X
Whereas, heteroscedasticity (or unequal variance of
i
u ):
2
i
Note: variance is the expectation of squared deviation of a random variable, u from its mean,
2 2
2 2
Var u E u E u E u E u
where
E u 0 (the expectation of the residual is defined as ( ) , which is equal to 0.
Covariance Correlation
, | , 0
i j i j
Cov u u X X with i j
, | , 0
i j i j
Corr u u X X with i j
Note:
For two normally distributed variables, the zero covariance or correlation means independence
of them, so
i
u and
j
u are not only uncorrelated but also independently distributed. Therefore
2
0,
i
u NID is Normal and Independently Distributed.
i
u and
i
X
, , 0
i i i i
Cov u X E u X , i.e., u and X are uncorrelated.
estimated
n k
2
b 0 , and see P.3)
The variances and standard errors of the OLS estimators given in Eqs. (2.16) and (2.17) are as follows
2
2
1 1 1 1 1
2
2
2 2 2 2 2
( )
( )
Var b E b E b E b
Var b E b E b E b
1
2
2 2
1 2
i
b
i
X
Var b
n x
(Note: This formula involves both small x and capital X .)
1 1
se b varb
2
2
2
2 2
b
i
Var b
x
2 2
se b Var b
2
2
2
i
i
X
n x
2
2
i
x
Figure 1
Very small sample
small number of data points small n , large
2
Var b ( )
Figure 2
Large sample size ( n ), very scattered (large error variance,
2
i. large number of data points (larger n)
ii. very scattered (large u and
2
iii. large variation in X
smaller / larger
2
Var b ( )?
Figure 3
Large sample size ( n ), small error variance (
2
i. large number of data points (n)
ii. not scatteredsmall u and
2
iii. large variation in X
small
2
Var b ( )
Figure 4 :
Limited range of X values
i. large number of data points (n)
ii. very scattered large u and
2
iii. clustered near one value for X , i.e. limited variation in X
large
2
Var b ( )
Question:
it is unbiased, that is, its average or expected value,
1 1
2 2
E b
E b
Derivation:
i 1 2 i i
Y X u (B)
1 2
i
u
i 2 i i
Y Y X X u (B) – (C)
i 2 i i
y x u (D)
2 2 2 2 2 2 2 2 2
2 2
2
0 ( and are uncorrelated)
i i
i
i i i
i
i i i
i
i i i
i i
i i i i
x y
E b
x
x x u
x
x u x
x
x u x
x x
u x u x
Substitute (D) into (A)
it has minimum variance in the class of all such linear unbiased estimators.
1 1
Var b Var b , where
1
b any other linear unbiased estimator of
1
2 2
Var b Var b
, where
2
b any other linear unbiased estimator of
2
An unbiased estimator with the least variance is known as an efficient estimator.
Monte Carlo Experiment
The true values of the intercept (
1
) and slope coefficients (
2
) are 1.5 and 2.0,
respectively, and that the error term follows the normal distribution with a mean of zero
and a variance of 4.
Now suppose you are given 10 values of X : 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
Given this information, you can proceed as follows. Using any statistical package, you
generate 10 values of
i
u from a normal distribution with mean zero and variance 4.
Given
1 2
B , B ,the 10 values of X , and the 10 values of
i
u generated from the normal
distribution, you will then obtain 10 values of Y from the preceding equation.
Call this experiment or sample number 1. Go to the normal distribution table, collect
another 10 values of ui, generate another 10 values of Y , and call it sample number 2. In
this manner obtain 21 samples, i.e. there4 are 21 sample data sets.
For each sample of 10 values, regress
i
Y generated above on the X values and obtain
1 2
b ,b and
2
Repeat this exercise for all 21 samples. Therefore, you will have 21 values each of
1 2
b ,b
and
2
ˆ. We conducted this experiment and obtained the results shown in Table 3-2.
From the data given in this table, we have computed the mean, or average, values of
1
b ,
2
b and
2
, which are, respectively, 1.4526, 1.9665, and 4.4743, whereas the true
values of the corresponding coefficients, as we know, are 1.5, 2.0, and 4.0.
What conclusion can we draw from this experiment? It seems that if we apply the
method of least squares time and again, on average, the values of the estimated
parameters will be equal to their true (population parameter) values.
1 1
E b
2 2
E b
That is, OLS estimators are unbiased. In the present example, had we conducted more than
21 sampling experiments, we would have come much closer to the true values.
If there is a large number of independent and identically distributed random variables, then, with a
few exceptions, their distribution of their sum tends to be a normal distribution as the number of such
variables increases indefinitely
u
represents the influence of all forces that affect
but are not specifically included in the
regression model
If these forces are random,
u
follows the normal distribution by invoking the CLT
If
1
b
and
2
b
are linear functions of the normally distributed variable
i
u
, then they are also normally
distributed
Any linear function of a normally distributed variable is itself normally distributed
1
2
2
1 1
2
2 2
b
b
b N
b N
Figure 3-4 (Normal) sampling distribution of
1
b and
2
b
3.5 Hypothesis Testing
A hypothesis is a tentative statement or explanation that proposes a possible
relationship between variables and is subject to testing and verification.
In general, we do not know the true value of population parameters
1
B and
2
B - they must be estimated
with sample data. (In Chapter 2 we showed how OLS helps us to estimate the parameters of linear regression
models). However, we do have hypotheses about what the true values are.
The major purpose of hypothesis testing is to choose between two competing hypotheses (
0
H and
A
H )
about the value of a population parameter,
2
B .
The hypothesis actually to be tested is usually given the symbol
0
H , and is commonly referred to as the null
hypothesis.
The other hypothesis, which is assumed to be true when the null hypothesis is false, is referred to as the
alternative hypothesis, and is often symbolized by
A
H or
1
H. Both the null and alternative hypothesis
should be stated before any statistical test of significance is conducted.
Suppose someone suggests that annual family income has no relationship to a student’s math S.A.T. score.
0 2
H : B 0
To perform hypothesis, we can use either:
b 1.96 se b or
to test any hypotheses about
2
B as well as
1
Test of significance approach
Since
2
b follows the normal distribution, with the mean and the variance stated in expression (3.19), we
know that
2 2
2
2 2
2
0,
/
i
b B
Z
se b
b B
N
x
However, the true is unknown (unobservable). To solve this problem, we use the t distribution with
degrees of freedom ( d f.. n 2 ; not the standard normal distribution), to get
2 2
2
2 2
ˆ /
n
i
b B
t
x
Or, more generally,
2 2
2
2
n
b B
t
se b
Note that we lose 2 d f.. in computing
2
ˆ for reasons stated earlier.
Therefore, to test the null hypothesis in the present case, we have to use the t distribution in lieu of the
(standard) normal distribution. But the procedure of hypothesis testing remains the same, as explained in
Appendix D.
Question: if
n 30 or 50 , which test should we use, Z or t?
Recall the general form of 3.22,
b
computed t
se b
Where
can be any value, e.g.
0, 3, 4 …… we can perform one-tailed or two tailed test:
2
9
ˆ
432.4138 0.
: 16.9061 0.
: 25.5774 5.44 0.
: 5.85 10 0.0006.. 8
t i
Y X
se
t r
p value d f
Hypothesis Testing (
A
Consider the following model:
i 1 2 i i
Y X u
Two tailed test
Step1: State the hypothesis:
0 2
2
: 0 (income has no impact on SAT score)
: 0 (income has a significant impact on SAT score)
A
H
H
Step 2: Calculate t-statistics
2 2
2
2
ˆ /
n
i
b B
t
x
2 2
2
2
estimator hypothesized value
, 5.
standard error of the estimator 0.
n
b B
t t
se b
Step 3: Find critical value
Find the critical value at the level of significance α, usually 5%, with the degrees of freedom ( df ) n k=
n k
t
at 5% significance level = 2.
Step 4: Make a decision
The absolute value of calculated t , t 5.435> the critical t 2.306 fall out of the acceptance region
Reject
0
H that
2
B 0 , i.e., income has significant impact on SAT score.
One-Tailed Test (Left-tail):
Step1 State the hypothesis:
0 2 2
2
: 0 0
: 0 income has a significant negative impact on SAT score
A
H or
H
Step 2: Calculate t statistics
2 2
2
b B
t
se b
Step 3: Find critical value
With df n k 10 2 8 ,
n k
t
at 5% significance level = 1.
Step 4: Make a decision
The calculated
t 5.4354 , critical value at 5% = 1.86 fall into the acceptance region Do not
reject
0
H that
2
0 , i.e., income has a non-negative effect on SAT score.
The calculated
t 35 51. , critical value at 5%= 1.86 fall out of the acceptance region
Reject
0
H that 0.01, i.e.,
2
0.
Summary
0
H
1
H
0
2 2
2 2
/2,df
t t
2 2
2 2
,df
t t
2 2
2 2
,df
t t
Application
The value of to be tested has economic meaning:
Example (1): Stock return
it mt t
R R u
Where
it
R represents the rate of retuen on a stock (e.g. in percentage returns), and
mt
R is the rate of
return on the makret or the rate of reutrn of an index of the market (e.g. Hang Seng Index).
A security whose beta coefficient is greater than 1 is called a volatile or aggressive security. Set up the
appropriate null and alternative hypotheses and test them using the t test. Note: Use 5%
0
1 1
1
A
H or
H
Example (2): Monetary Policy
The money supply ( MS ) has a significant positive impact on GDP. How would you test this hypothesis?
t t t
GDP MS u
0
: 0 0
: 0
A
H or
H
Hypothesis:
0
A
Compute the t
value under
0 2
H : 0
Is it statistically significant at the 5 percent level?
Is the estimated slope coefficient statistically significant?
Is
2
significantly different from zero?
Test the hypothesis that there is no relationship between Y and X whatsoever.
3.6 HOW GOOD IS THE FITTED REGRESSION LINE: THE COEFFICIENT DETERMINATION, r
2
Recall that
i i i
Y Y e
(Eq. 2.6)
Let us express this equation in a slightly different but equivalent from (see Figure 3-8) as
Now, letting small letters indicate deviations from mean values i.e.
i i
y Y Y , we can write
i i
y Y Y the preceding equation as
i i i
y y e
(Note:
i i
y Y Y etc). Also, note that e 0 , as a result of which
Y Y; that is, the mean values of the
actual Y and the estimated Y are the same.
Now squaring Equation (3.32) on both sides and summing over the sample, we obtain, after simple
algebraic manipulation,
2
2 2 2
i i i i i i i
y y e y e y e
Since
i i
y e
2 2 2
i i i
y y e
(see point 4 in p.9 of Ch.2)
It can be defined as
Total sum of squares (TSS):
2
i
y
total variation of the actual Y values about their sample mean Y.
Explained sum of squares (ESS):
2
i
y
total variation of the estimated Y values about their mean value.
Residual sum of squares (RSS):
2
i
e
total unexplained variation of the Y values about the regression
line.
Notes that ESS represent how good SRF fits the data
If
explain all variation in
and
(i.e.,
2
If
explain no variation in
and
(i.e.,
2
Divide both side by TSS
A standardized measure. Define
2
2
R is the (sample) coefficient of determination
Most commonly used measure of the goodness of fit of a regression line
It measures the proportion or percentage of the total variation in Y explained
by the regression model
Two properties of
2
It is a non-negative quantity
2
2
R 1 means “perfect fit”;
2
R 0 means no relationship between 𝑋 and 𝑌
As 1
2
R can be computed by
2 2 2 2 2 2 2
i
i
i
i
e R y e R y
Compute the
2
R of the SAT example:
2
X explain about 79 percent of the variation in Y
2
1 R is the proportion of unexplained variation
The coefficient of alienation