第10章-序列相关性课件

上传人:202****8-1 文档编号:244044314 上传时间:2024-10-02 格式:PPT 页数:31 大小:261.50KB
返回 下载 相关 举报
第10章-序列相关性课件_第1页
第1页 / 共31页
第10章-序列相关性课件_第2页
第2页 / 共31页
第10章-序列相关性课件_第3页
第3页 / 共31页
点击查看更多>>
资源描述
,单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,*,单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,*,第,10,章序列相关性,Serial Correlation/Autocorrelation,Main Contents,What is Serial correlation(Autocorrelation)?,The consequences of serial correlation,How to detect the serial correlation?,Corrections for serial correlation,What is Serial correlation(Autocorrelation)?,The assumption that errors corresponding to different observations are uncorrelated often breaks down in,time-series,studies.,When the error terms from different(usually adjacent)time periods are correlated,we say that the error term is,serially correlated.,That is,Cov(,u,i,u,j,),0,i.e.E(,u,i,u,j,)0 for,i,j.,Patterns of serial correlation,Reasons of serial correlation,Inertia or sluggishness,Model specification errors(omitted variables),What is Serial correlation(Autocorrelation)?,In this chapter,we only deal with the problem of,first-order serial correlation,in which errors in one time period are correlated directly with errors in the ensuing period.For example,u,t,=,r,u,t-,1,+v,t,Second-order serial correlation will be,u,t,=,r,1,u,t-,1,+,r,2,u,t-,2,+,v,t,The consequences of serial correlation(Autocorrelation),OLS estimators will be still unbiased and consistent.,take the simple regression as an example,Y=,b,0,+b,1,X+u,We know the OLS estimator of,b,1,is,The consequences of serial correlation(Autocorrelation),The R,2,and adj-R,2,are still consistent if the time series is stationary(thats,r,1).Or else,for non-stationary time series,the R,2,and adj-R,2,may be invalid.,The consequences of serial correlation(Autocorrelation),OLS estimators will not be efficient.The variance of OLS estimators will be biased.,The consequences of serial correlation(Autocorrelation),t-statistics and F-statistic will be misleading when there are serial correlation in error terms,u,t,.,The variance and standard error of the predicted value will be invalid.,How to detect the serial correlation?,Time-sequence plot,Runs test,Durbin-Watson test,Time sequence plot,Example:Real wages and productivity(Example 10-1),Runs test,First,get the sign of the residuals,e,t,for example,(-)(+)(-)(+)(-),that is,there are 9 negative signs,followed by 8 positive signs and so on.,The same signs in the parentheses are called a,run,.,Let N is the number of observations,and N,1,is the number of positive signs of the residuals,and N,2,is the number of negative signs.And,k,is the number of runs.,Runs test,Swed and Eisenhart give us a table of critical values.,H,0,:the residual,e,is stochastic,that is,there is no serial correlation.,How to test?If the number of run in your model is less than or equal the critical value n1(table A-6a),and larger than or equal to the critical value n2(A-6b),then we can reject the null hypothesis,H,0,means there exists serial correlation.,Runs test(example),If the signs of the residual is (-)(+)(-)(+)(-),9 8 4 2 3,Then,N,1,=8+2=10,N,2,=9+4+3=16,N=26,k=5,then the critical value at 5%significance is 8 and 19.So,if the runs in our model,8 or,19,we should reject the null hypothesis H,0,.,The number of runs in our model is 58,so we reject the H,0,which mean there is serial correlation in our model.,Durbin-Watson Test,Durbin and Watson put forward an d statistic(DW).,In most software,d-value will be provided with R,2,adj-R,2,(Eviews),in STATA,using command,tsset year/*to describe the data is time series*/,estat dwatson/*must using after reg*/,dwstat/*the out of dated command*/,Durbin-Watson Test,There must be a intercept term in the regression model;,It only can be used to detect the first order serial correlation.That is,u,t,=,r,u,t-1,+v,t,-1,r,1.,There is no lagged dependent variable as explanatory variable.,C,t,=b,0,+b,1,Y,t,+b,2,C,t-1,+,u,t,Durbin-Watson Test,We can rewrite the Durbin-Watson d-stat as,r,d-value,-1,4,0,2,1,0,Durbin-Watson Test,If the Durbin-Watson d-stat lies in(d,u,4-d,u,),there is no serial correlation.,If d4-d,L,there are positive and negative serial correlation respectively.,If d,L,dd,U,or 4-d,U,d4-d,L,then we cant detect the serial correlation.,0,d,L,d,U,2,4-d,U,4-d,L,4,Reject H,0,Positive serial correlation,Accept H,0,there is no serial correlation.,Reject H,0,Negative serial correlation,Can not identify.,Can not identify.,Durbin-Watson Test:Procedure,First regress,Y,on,X,s,and get the residuals,e,t,.,Calculate the DW d-stat.May be given by software.,Given the number of observations,n,and the number of explanatory variables,k,check the critical value,d,L,and d,U,.,Using the rule to judge whether there is serial correlation.,Real wages and productivity:DW test,Table 10_1.txt,insheet using“table 10_1.txt”,clear,tsset year,reg rwage product,dwstat or estat,dwa,tson,d=0.2137 n=44 k=1,d,L,(44,1)=1.475 d,U,(44,1)=1.566,d Z,0.05,=1.645,reject H,0,.,Stata command:estat durbinalt,Corrections for serial correlation:Generalized differencing,Y,t,=,b,0,+b,1,X,t,+u,t,(1),If there is first-order serial correlation,that is,u,t,is,AR(1)process.,i.e.,u,t,=,r,u,t-1,+v,t,-1,r,1.,Then
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 教学培训


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!