Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
Subject BUSINESS ECONOMICS
Paper No and Title 8 , Fundamentals of Econometrics
Module No and Title 6, Hypothesis Testing: Test of significance approach
Module Tag BSE_P8_M6
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
TABLE OF CONTENTS
1. Learning Outcomes
2. Introduction
3. What does this hypothesis mean and imply?
4. One sided tests
5. Summary
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
1. Learning Outcomes
After reading this module, the learning outcomes are such that the students will be able to:
Understand the properties of the hypothesis testing
Identify its implications
Assess the fitted econometric models
2. Introduction
Hypothesis Testing
Fitting the regression line is only the first and a very small step in econometric analysis. In
applied economics, we are generally interested in testing the hypothesis about some hypothesized
value of the population parameter. Letβs say we have a random sample π₯1, π₯2, β¦ β¦ , π₯π of a
random variable X with PDF π(π₯; π ). Regression analysis helps us to obtain the estimate of π,
say οΏ½ΜοΏ½. Hypothesis testing implies deciding whether οΏ½ΜοΏ½ is compatible with some hypothesized
valueπ0. To set up a hypothesis test, we formally state the hypothesis as:
π»0: π = π0
π»1: π β π0
Where π»0 is called the null hypothesis and π»1 is called the alternate hypothesis.
3. What does this hypothesis mean and imply ?
Let us start with a random variable X i.e. π~π(π, π2). Suppose we define our null hypothesis to
be
π»0: π = π0
π»1: π β π0
To proceed, first step is to draw a sample from X and calculate its mean, οΏ½Μ οΏ½. Value of οΏ½Μ οΏ½ obtained
from repeated sample will be normally distributed with mean π0 and variance π2 πβ . Null
hypothesis being true resonates with the above explanation. Such a distribution with the null
being true is shown below:
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
If οΏ½ΜοΏ½ is a good estimator of π, then it will take a value close to π i.e. οΏ½ΜοΏ½-π will be small. If the null
hypothesis is true, then οΏ½ΜοΏ½ β π0 = (οΏ½ΜοΏ½ β π)+ (π β π0) , should be small as οΏ½ΜοΏ½-π is small and the
second term is zero. If the alternate hypothesis is true, then οΏ½ΜοΏ½ β π0 = (οΏ½ΜοΏ½ β π)+ (π β π0) should
be large as οΏ½ΜοΏ½-πandπ β π0 β 0. Small or large depends upon the distribution of the estimator.
In the model set above, we donβt expect οΏ½Μ οΏ½ to be exactly equal to π0. There is no reason to deny
the possibility but the chances are rare. If the mean is far off fromπ0, there are two possibilities;
either reject the null or do not reject the null. Either way, the decision will contain some element
of error i.e. rejecting a true null hypothesis (Type 1) or accepting a false null hypothesis (Type 2).
There is no fool proof way of deciding.
If the probability of the mean, which lies far off from π0 , is less than the level of significance,
we can conclude to reject the null hypothesis. For e.g. if the probability is less than 5% i.e. lies in
the upper and lower 2.5% tails (as shown in the figure). Thus, the probability of the mean being
1.96 standard deviations away is 5%.
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
Figure 2: Decision Rule
Source: Dougherty
The figure suggests that the null would be rejected if οΏ½Μ οΏ½ lies in the shaded area i.e. if
οΏ½Μ οΏ½ > ππ + 1.96 π π‘π πππ£(π)Μ Μ Μ or,
οΏ½Μ οΏ½ < ππ β 1.96 π π‘π πππ£(π)Μ Μ Μ
A simple rearrangement would lead us to,
οΏ½Μ οΏ½βπ0
π π(οΏ½Μ οΏ½)> 1.96 or,
οΏ½Μ οΏ½ β π0
π π(οΏ½Μ οΏ½)< β1.96
Admittedly, we can term the LHS as z statistic. Therefore, we reject the null hypothesis when
|π§|>1.96.
As mentioned before, the decision rule established above is not flawless. Let us go back to our
initial condition of π»π being true. There is 5% probability that οΏ½Μ οΏ½ will lie far away from ππ in the
rejection region. It also means that there is 5% probability of a type 1 error i.e. probability of
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
rejecting a true null hypothesis is 5%1. The researcher has the liberty to settle the risk of type 1
error and accordingly look up the critical value.
To sum up, there are three possible outcomes:
β’ Correct decision
β’ Rejecting a true hypothesisβ Type I error.
β’ Accepting a false hypothesisβ Type II error.
To be able to perform the test, we need an additional knowledge of the sampling distributions of
the estimators. It will be impossible to perform hypothesis testing without this knowledge,
prerequisite of which is the assumption that the error term is normally distributed.
Given the following model,
ππ = πΌ + π½ππ + ππ
It simply means that ππ follows normal distribution with mean zero and variance π2 i.e. N (0,π2).
The principle reason behind this assumption lies in the Central Limit Theorem (CLT)2.
Referring back to the basics, error term is defined as all those factors that affect Y but not
included in the model due to non-availability of data, omission etc. Supposing these factors are
random, then U represents the sum of random variables. Hence, by applying CLT we can,
undoubtedly, impose normality assumption on the error term. Thus, π~π(0, π2).
From this, we derive the probability distributions of the estimators ofπΌ andπ½. The estimators are
in fact linear functions of U3. Applying one of the properties of normal distribution that any linear
function of a normally distributed variable is also normally distributed, it can be deduced that,
οΏ½ΜοΏ½~π(πΌ, ποΏ½ΜοΏ½2)
οΏ½ΜοΏ½~π(π½, ποΏ½ΜοΏ½2)
With this background, we now set the foundation for hypothesis testing. Suppose we wish to test
something about π½, as already mentioned, it follows normal distribution. By standardizing it , we
get,
π =οΏ½ΜοΏ½ β π½
π π(π½)~π(0,1)
Since π2 is not known, replacing the population estimator by its sample estimator, we get a new
variable,
1 Similar claim can be made for 1% level of significance. If a coefficient is significant at 1%, it will be significant at 5% as well. However, vice-versa may not be true. 2 Gujarati and Porter(2010) define CLT in the following way, βIf there is a large number of independent and identically distributed random variables, then, with few exceptions, the distribution of their sum tends to be a normal distribution as the number of such variables increases indefinitelyβ. 3 See Know more section 1
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
οΏ½ΜοΏ½ β π½
π π(π½)Μ~π‘πβ2
Hence, we use t distribution to test the null hypothesis4. The calculated t has different sampling
distribution under the null and under the alternate hypothesis, being higher under the latter. A
higher t would be consistent with the alternate hypothesis. Thus, a higher t would mean rejection
of the null hypothesis.
The following examples intend to illustrate the theory above.
Example 1: Suppose we have data on income and expenditure for 10 households.
Table 1: Income (ππ) and Expenditure (ππ)
οΏ½ΜοΏ½ = β(ππβοΏ½Μ οΏ½)( ππβοΏ½Μ οΏ½)
β(ππβοΏ½Μ οΏ½)2 = 0.45;
οΏ½ΜοΏ½ = οΏ½Μ οΏ½ β οΏ½ΜοΏ½οΏ½Μ οΏ½ = 35.72
οΏ½ΜοΏ½2 =β οΏ½ΜοΏ½π‘
2
πβ2= 98.98;
π£ππ(οΏ½ΜοΏ½) =οΏ½ΜοΏ½2
β(ππβοΏ½Μ οΏ½)2=0.0030
4 Difference between οΏ½ΜοΏ½ and π½ small implies t value to be small. If οΏ½ΜοΏ½ = π½, t will be, zero implying null
hypothesis will not be rejected. Thus, as the difference between οΏ½ΜοΏ½ and π½ increases, likelihood of rejecting the null hypothesis increases.
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
After running through the necessary calculations, the next is to test if income and expenditure are
related i.e. null hypothesis is as follows,
π»0: π½ = 0
π»π: π½ β 0
Test statistic, t = οΏ½ΜοΏ½βπ½
π π(π½)Μ =
οΏ½ΜοΏ½β0
0.054 = 8.30
If the level of significance is 5%, next step is to look out for critical value at that level from the t
table i.e.
π‘ππππ‘ππππ ππ‘ 8 = 2.306. The absolute value of t exceeds the critical value, which implies that we
can reject the null hypothesis i.e. π½ is significantly different from zero. In this case, the test is
statistically significant; hence, we can reject the null. It simply means that the probability of the
difference between οΏ½ΜοΏ½ and zero is due to mere chance is less than the level of significance and thus
can easily reject the null hypothesis. On contrary, if the test is statistically insignificant implies
that the probability of the difference between the estimator and the hypothesized value is more
than the level of significance, thus we cannot reject the null (Gujarati and Porter, 2010).
Let us look at another example5 where in hourly earnings is a function of years of schooling.
Example 2:
In a similar manner, let us test if the level of schooling affects earnings. Hence, the null
hypothesis is set as
π»0: π½ = 0 π»π: π½ β 0
5Example taken from Christopher Dougherty, Introduction to Econometrics, 4th Edition.
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
The intention is to reject the null hypothesis as only then a relation between earnings and
schooling can be established. T statistic can be easily calculated by looking at the regression
output6,
π‘ =2.45
0.23 = 10.65
π‘πππ > π‘ππππ‘ππππ(1.96)
The result decides in favour of rejecting the null hypothesis and concluding that earnings are
significantly affected by the level of schooling. The column next to t stat in the regression output
above is also a useful to test the significance of the coefficients. This P value or the probability
value is the exact probability of committing a Type 1 error, under the null. The level of
significance7 is the largest probability of making a Type 1 error. Whereas, p value is the smallest
probability, given t-statistic. If this p value happens to be smaller than the level of significance,
because the probability of making the type 1 error is very small, we can safely reject the null
hypothesis8. The method has an edge over the earlier as it allows us to know the exact probability
of making a type 1 error.
In our example, the p value for the schooling coefficient is 0 i.e. the exact probability of making a
type 1 error here is zero and thus the coefficient will be significant at all levels.
Example 3: Suppose in our example 1, we want to test whether marginal propensity to consume
is equal to 1. Accordingly, hypothesis is set as,
π»0: π½ = 1
π»π: π½ < 1
π‘ =οΏ½ΜοΏ½β1
βπ£ππ(οΏ½ΜοΏ½)
=0.455
β0.0030= -9.96
π‘ππππ‘ππππ ππ‘ 8 = β1.860
Thus, π‘πππ > π‘ππππ‘ππππ , so we reject the null in favour of the alternate hypothesis.
4. One β sided tests
The above was an example of a one sided test. The decision to perform depends upon the
question that we wish to answer. We shall see that one sided tests reduce the risk of type 1 error.
One way of reducing the risk (in two-sided test) is to perform the test at 1% significance level a
6 Also can be directly seen from t stat column. 7 It is the area right to the critical value. 8 Please refer to the know more section 2 for further understanding of Type 1 and Type 2 errors.
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
an alternative to a 5%. The alternate hypothesis was set as π β π0 i.e. must be equal to some π1.
For simplicity, let π1 > π0.
Therefore,
π»0: π = π0
π»1: π = π1
At 5% level of significance, if οΏ½Μ οΏ½ lies in the upper or lower 2.5% tail, we reject the null. Given the
assumption, οΏ½Μ οΏ½ should lie in the upper tail. This would also be compatible with the alternate
hypothesis, if it is true. on the contrary, if it lies in the lower tail rejection region, the test would
suggest to reject the null, although probability of οΏ½Μ οΏ½ lying there should be zero (given the
assumption). Thus, in such a case it would be logical to accept the null i.e. reject π»0 only when it
lies on the upper tail as shown in the figure 3 below:
We could also perform a 5% test by just increasing the rejection region to that extent. Note that
alternate could have another possibility where, π > π0 or π < π0. These are clearly one-sided
tests and it would be appropriate to consider the right and left rejection region respectively for
any conclusion. Thence, the principle reason for applying one-sided tests should solely depend on
the relevant question-theory and economic sense, like in example 3.
The procedure for a two-sided test is as follows:
1. Set the hypothesis; π»0: π = ππ, π»1: π β π0
2. Calculate the test statistic, π‘~π‘πβ2.
3. Given the level of significance, βaβ, find the critical value under a/2 and across the
degrees of freedom. Call it π‘β.
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
4. If π‘ > π‘β, reject the null hypothesis. This implies that π is significantly different from π0. 5. The null would also be rejected if P value <a.
The procedure for one-sided test is as follows:
1. Set the hypothesis; π»0: π = ππ, π»1: π > π0
2. Calculate the test statistic, π‘~π‘πβ2.
3. Given the level of significance, βaβ, find the critical value under βaβ and across the
degrees of freedom. Call it π‘β.
4. If π‘ > π‘β, reject the null hypothesis in favour of the alternative and conclude that π is
significantly greater than π0.
5. If the above alternative was set as π»1: π < π0, then we would reject the null if π‘ < βπ‘β.
Let us conclude this module by looking at an example9 using both two-sided and one-sided tests.
Example 4: In the given model with total number of observation as 20,
οΏ½ΜοΏ½ = 2 + 0.90π€
The standard error for πΌ = 0.10 andπ½ = 0.05. Suppose we want to see if the price inflation and
wage inflation rate is the same at one. Thus, we set the hypothesis as, π»0: π½ = 1 and π»1: π½ β 1.
This clearly is a two-sided test. Calculating t statistic as,
π‘ =0.90 β 1
0.05= β2
The critical value at 5% level of significance with 18 degrees of freedom, π‘π= 2.1. Therefore, |π‘| < π‘π, according to the rule, we do not reject the null hypothesis. The estimated parameter has
a coefficient less than the hypothesized value but according to our test conclusion, the difference
is not significant. A two-sided test does not reject the null. Nevertheless, there could be a
possibility where the rate of price inflation is less than the rate of wage inflation. One plausible
reason for this to happen could be increase in productivity. Certainly, it will lead to the other way
round i.e. make the rate of price inflation more than the rate of wage inflation.
To reiterate the difference between the two tests, let us perform the one-sided test on the above
example. Our new hypothesis becomes, π»0: π½ = 1 and π»1: π½ < 1. With no other changes in the
estimated model, t statistic remains at -2. The critical value at 5% level of significance with 18
degrees of freedom now becomes, π‘π= 1.73. As |π‘| > π‘π, we can reject the null hypothesis and
conclude that coefficient of wage inflation is less than one i.e. rate of price inflation is less than
rate of wage inflation. Therefore, the above result can influence us to say that one-sided test has
an edge over two-sided. However, one should refrain from making such statements as even
though the possibility of π½ > 1 can be excluded, the possibility of π½ = 1 cannot be excluded.
The statistical significance of a parameter depends fully on the t statistic, and the economic
significance depends entirely on the magnitude of the regression coefficient and its sign. While
concluding about the estimated model, one should be careful not to emphasize too much on
99 The example has been extracted from Christopher Dougherty, Introduction to Econometrics, 4th edition, chap 2, pg 135.
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
either. A variable can be economically significant but not statistically. There could also be a case
where a variable could be statistically significant but not much relevant to the estimated model.
Researcher has to be careful in finding a middle ground and at last, presenting her concluding
remarks
5. Summary
Hypothesis testing is the vital part of econometric analysis.
The tests explained in this module are associated with a simple linear regression model
and form the foundation for the more general multiple linear regression model.
Significant result does not mean important, it simply emphasizes on statistical
significance.
Apart from having a sound knowledge of the terminologies like type 1 error, type 2 error,
one-sided, two-sided tests etc. , it is also important to know how to present the results.
6. Appendix
1. π½ can be decomposed into two components: random and non-random i.e it can be
expressed as a linear function of U. Following is the mathematical proof:
οΏ½ΜοΏ½ =β (ππ β οΏ½Μ οΏ½)(ππ β οΏ½Μ οΏ½)π
π=1
β (ππ β οΏ½Μ οΏ½)2ππ=1
The numerator can be written as,
β(ππ β οΏ½Μ οΏ½)(ππ β οΏ½Μ οΏ½)
π
π=1
= β(ππ β οΏ½Μ οΏ½)([πΌ + π½ππ + π’π] β [πΌ + π½οΏ½Μ οΏ½ + οΏ½Μ οΏ½]
π
π=1
= β(ππ β οΏ½Μ οΏ½)(π½[ππ β οΏ½Μ οΏ½] + [π’π β οΏ½Μ οΏ½])
π
π=1
= π½ β(ππ β οΏ½Μ οΏ½)2 + β(ππ β οΏ½Μ οΏ½)(π’π β οΏ½Μ οΏ½)
π
π=1
π
π=1
Therefore, οΏ½ΜοΏ½ = π½ β (ππβοΏ½Μ οΏ½)2+β (ππβοΏ½Μ οΏ½)(π’πβοΏ½Μ οΏ½)π
π=1ππ=1
β (ππβοΏ½Μ οΏ½)2ππ=1
= π½ + β (ππ β οΏ½Μ οΏ½)(π’π β οΏ½Μ οΏ½)π
π=1
β (ππ β οΏ½Μ οΏ½)2ππ=1
Further, β (ππ β οΏ½Μ οΏ½)(π’π β οΏ½Μ οΏ½)ππ=1 = β (ππ β οΏ½Μ οΏ½)π’π βπ
π=1 β (ππ β οΏ½Μ οΏ½)οΏ½Μ οΏ½ππ=1
Taking summation inside the brackets,
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
= β(ππ β οΏ½Μ οΏ½)π’π β
π
π=1
οΏ½Μ οΏ½(β ππ β ποΏ½Μ οΏ½)
π
π=1
= β(ππ β οΏ½Μ οΏ½)π’π β
π
π=1
0 = β(ππ β οΏ½Μ οΏ½)π’π
π
π=1
Now,
οΏ½ΜοΏ½ = π½ + β (ππ β οΏ½Μ οΏ½)π’π
ππ=1
β (ππ β οΏ½Μ οΏ½)2ππ=1
= π½ + β πππ’πππ=1 , where ππ =
(ππβοΏ½Μ οΏ½)
β (ππβοΏ½Μ οΏ½)2ππ=1
Hence, proved.
Type 1 and Type 2 errors
π»0: π = π0
π»1: π = π1
If we test at 5% level of significance (two-sided test), the risk of type 1 error is 5%. Let
us say that the null is false and the alternate hypothesis is true. In figure 2 above, if οΏ½Μ οΏ½ lie
in the acceptance region; we do not reject the null. Hence, we commit type 2 error i.e.
accept a false null hypothesis. The total probability of committing a type 2 error is
marked below:
Figure 4: Type 2 error
Ideally, the power of test should be high. Power of test is defined as the probability of
rejecting the null hypothesis when it is false. It is also defined as 1-Probability of type 2
error. Now, instead of 5%, what if we apply a 1% test. As discussed before, reducing the
level of significance is equivalent to reducing the probability of type 1 error.
Consequently, the rejection region would shrink.
____________________________________________________________________________________________________
BUSINESS ECONOMICS
PAPER NO. : 8, FUNDAMENTALS OF ECONOMETRICS
MODULE NO. : 6, HYPOTHESIS TESTING: TEST OF SIGNIFICANCE APPROACH
As we can see from figure 5, reducing the probability of type 1 error increases the
probability of type 2 error. Thus, a trade off exists, which clearly tells that decision
cannot be fool proof.