计量经济学英文课件研究报告

相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Note this is a t distribution (vs normal)
becausewehave to estimates 2by sˆ 2
Note the degrees of freedom: n k 1
6
The t Test (cont)
Knowing the sampling distribution for the standardized estimator allows us to carry out hypothesis tests Start with a null hypothesis
se bˆ1
2 se bˆ2
2
2s12
1 2
wheres12is anestimateofCovbˆ1,bˆ2
20
Testing a Linear Combo (cont)
So, to use formula, need s12, which standard output does not have Many packages will have an option to get it, or will just perform the test for you In Stata, after reg y x1 x2 … xk you would type test x1 = x2 to get a p-value for the test More generally, you can always restate the problem to get the test you want
17
Stata and p-values, t tests, etc.
Most computer packages will compute the p-value for you, assuming a two-sided test If you really want a one-sided alternative, just divide the two-sided p-value by 2 Stata provides the t statistic, p-value, and
bˆ j b j sd bˆ j ~ Normal0,1
bˆj is distributed normallybecauseit
is a linear combination of theerrors
5
The t Test
Under theCLM assumptions
bˆj b j se bˆ j ~ tnk1
For example, H0: bj=0
If accept null, then accept that xj has no effect on y, controlling for other x’s
7
The t Test (cont)
To performour test we first need toform
9
One-Sided Alternatives (cont)
Having picked a significance level, a, we look up the (1 – a)th percentile in a t distribution with n – k – 1 df and call this c, the critical value We can reject the null hypothesis if the t statistic is greater than the critical value If the t statistic is less than the critical value then we fail to reject the null
t bˆj aj sebˆj , where
aj 0for thsetandartdest
15
Confidence Intervals
Another way to use classical statistical testing is to construct a confidence interval using the same critical value as was used for a two-sided test
3
Normal Sampling Distributions
Under theCLM assumptions, conditional on thesample valuesof theindependent variables
bˆ j ~ Normalb j ,Var bˆ j , so that
8
t Test: One-Sided Alternatives
Besides our null, H0, we need an alternative hypothesis, H1, and a significance level H1 may be one-sided, or two-sided
t
bˆ1 bˆ2 se bˆ1 bˆ2
19
Testing Linear Combo (cont)
Since
sebˆ1 bˆ2 Varbˆ1 bˆ2 , then
Varbˆ1 bˆ2 Varbˆ1 Varbˆ2 2Covbˆ1,bˆ2
sebˆ1 bˆ2
A (1 - a) % confidence interval is defined as
bˆj
c•sebˆj
,
ቤተ መጻሕፍቲ ባይዱwhceirsteh1e-apercen
2
inatnk1distriobnuti
16
Computing p-values for t tests
An alternative to the classical approach is to ask, “what is the smallest significance level at which the null would be rejected?” So, compute the t statistic, and then look up what percentile it is in the appropriate t distribution – this is the p-value p-value is the probability we would observe the t statistic we did, if the null were true
Suppose instead of testing whether b1 is equal to a
constant, you want to test if it is equal to another
parameter, that is H0 : b1 = b2
Use same basic procedure for forming a t statistic
10
One-Sided Alternatives (cont)
yi = b0 + b1xi1 + … + bkxik + ui
H0: bj = 0
H1: bj > 0
Fail to reject
1 a 0
reject
a
c
11
One-sided vs Two-sided
Because the t distribution is symmetric,
y|x ~ Normal(b0 + b1x1 +…+ bkxk, s2)
While for now we just assume normality, clear that sometimes not the case Large samples will let us drop normality
"the"t statisticfor bˆj :tbˆj bˆ j se bˆ j
We will thenuseour t statisticalong with a rejectionrule todeterminewhether ot accept thenull hypothesis, H0
95% confidence interval for H0: bj = 0 for
you, in columns labeled “t”, “P > |t|” and “[95% Conf. Interval]”, respectively
18
Testing a Linear Combination
testing H1: bj < 0 is straightforward. The
critical value is just the negative of before We can reject the null if the t statistic < –c, and if the t statistic > than –c then we fail to reject the null For a two-sided test, we set the critical
mean and variance s2: u ~ Normal(0,s2)
2
CLM Assumptions (cont)
Under CLM, OLS is not only BLUE, but is the minimum variance unbiased estimator We can summarize the population assumptions of CLM as follows
H1: bj > 0 and H1: bj < 0 are one-sided H1: bj 0 is a two-sided alternative
If we want to have only a 5% probability of rejecting H0 if it is really true, then we say our significance level is 5%
Multiple Regression Analysis
y = b0 + b1x1 + b2x2 + . . . bkxk + u
2. Inference
1
Assumptions of the Classical Linear Model (CLM)
So far, we know that given the GaussMarkov assumptions, OLS is BLUE, In order to do classical hypothesis testing, we need to add another assumption (beyond the Gauss-Markov assumptions) Assume that u is independent of x1, x2,…, xk and u is normally distributed with zero
14
Testing other hypotheses
A more general form of the t statistic recognizes that we may want to test
something like H0: bj = aj
In this case, the appropriate t statistic is
value based on a/2 and reject H1: bj 0 if
the absolute value of the t statistic > c
12
Two-Sided Alternatives
yi = b0 + b1Xi1 + … + bkXik + ui
H0: bj = 0
H1: bj > 0
fail to reject
reject
a/2
1 a
reject
a/2
-c
0
c
13
Summary for H0: bj = 0
Unless otherwise stated, the alternative is assumed to be two-sided If we reject the null, we typically say “xj is statistically significant at the a % level” If we fail to reject the null, we typically say “xj is statistically insignificant at the a % level”
相关文档
最新文档