多元线性回归模型:假设检验.ppt
《多元线性回归模型:假设检验.ppt》由会员分享,可在线阅读,更多相关《多元线性回归模型:假设检验.ppt(40页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Multiple Regression Analysis y=b0+b1x1+b2x2+.bkxk+u 2.Inference1Assumptions of the Classical Linear Model(CLM)So far,we know that given the Gauss-Markov assumptions,OLS is BLUE,In order to do classical hypothesis testing,we need to add another assumption(beyond the Gauss-Markov assumptions)Assume th
2、at u is independent of x1,x2,xk and u is normally distributed with zero mean and variance s2:u Normal(0,s2)2CLM 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 y|x Normal(b0+b1x1+bkxk,s2)Whil
3、e for now we just assume normality,clear that sometimes not the case Large samples will let us drop normality3.x1x2The homoskedastic normal distribution with a single explanatory variableE(y|x)=b0+b1xyf(y|x)Normaldistributions4Normal Sampling Distributions5The t Test6The t Test(cont)Knowing the samp
4、ling distribution for the standardized estimator allows us to carry out hypothesis tests Start with a null hypothesis For example,H0:bj=0 If accept null,then accept that xj has no effect on y,controlling for other xs7The t Test(cont)8t Test:One-Sided Alternatives Besides our null,H0,we need an alter
5、native hypothesis,H1,and a significance level H1 may be one-sided,or two-sided H1:bj 0 and H1:bj 0c0a(1-a)One-Sided Alternatives(cont)Fail to rejectreject11Examples 1wHourly Wage EquationwH0:bexper=0 H1:bexper 0 12One-sided vs Two-sided Because the t distribution is symmetric,testing H1:bj 0 is stra
6、ightforward.The critical value is just the negative of before We can reject the null if the t statistic than c then we fail to reject the null For a two-sided test,we set the critical value based on a/2 and reject H1:bj 0 if the absolute value of the t statistic c13yi =b0 +b1Xi1 +bkXik+uiH0:bj=0 H1:
7、bj 0c0a/2(1-a)-ca/2Two-Sided Alternativesrejectrejectfail to reject14Summary 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 stati
8、stically insignificant at the a%level”15Examples 2wDeterminants of College GPA colGPAcollege GPA(great point average),hsGPAhigh school GPA skippedaverage numbers of letures missed per week.16Testing other hypotheseswA more general form of the t statistic recognizes that we may want to test something
9、 like H0:bj=aj wIn this case,the appropriate t statistic is17Examples 3wCampus Crime and EnrollmentwH0:benroll=1 H1:benroll 118Examples 4wHousing Prices and Air PollutionwH0:blog(nox)=-1 H1:blog(nox)-119Confidence Intervalsw Another way to use classical statistical testing is to construct a confiden
10、ce interval using the same critical value as was used for a two-sided testw A(1-a)%confidence interval is defined as20Computing 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 stati
11、stic,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 true21 Most computer packages will compute the p-value for you,assuming a two-sided test If you really want a one-side
12、d alternative,just divide the two-sided p-value by 2Many software,such as Stata or Eviews provides the t statistic,p-value,and 95%confidence interval for H0:bj=0 for you22Testing a Linear Combinationw Suppose instead of testing whether b1 is equal to a constant,you want to test if it is equal to ano
13、ther parameter,that is H0:b1=b2w Use same basic procedure for forming a t statistic 23Testing Linear Combo(cont)24Testing 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 youMore generally
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 多元 线性 回归 模型 假设检验
限制150内