面板数据模型与stata应用资料.ppt

  1. 1、本文档共86页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
回归诊断: 是否存在异方差:estat hettest 怀特检验: estat imtest,white 回归信息检验:estat imtest 是否遗漏重要解释变量:estat ovtest 拟合图: rvfplot 单一变量的相关图:cprplot invest 画图 菜单与命令结合 twoway (scatter gdp invest) twoway (scatter gdp invest||lfit gdp invest) 基本建设支出与GDP的相关关系图 各省教育支出的增长趋势:1998-2006 Durbin-Watson 统计量:estat dwatson 序列相关检验:estat durbinalt 滞后阶数选择:estat durbinalt,lags(2) 条件异方差检验:estat archlm,lags(2) 可选变量的异方差检验:estat szroeter gdp invest culture sci 五、Stata对面板数据模型的估计 随机效应模型 Stata对面板数据模型的估计 首先对面板数据进行声明: 前面是截面单元,后面是时间标识: tsset company year tsset industry year 产生新的变量:gen newvar=human*lnrd 产生滞后变量Gen fiscal(2)=L2.fiscal 产生差分变量Gen fiscal(D)=D.fiscal 描述性统计: xtdes :对Panel Data截面个数、时间跨度的整体描述 Xtsum:分组内、组间和样本整体计算各个变量的基本统计量 xttab 采用列表的方式显示某个变量的分布 Stata中用于估计面板模型的主要命令:xtreg xtreg depvar [varlist] [if exp] , model_type [level(#) ] Model type 模型 be Between-effects estimator fe Fixed-effects estimator re GLS Random-effects estimator pa GEE population-averaged estimator mle Maximum-likelihood Random-effects estimator 主要估计方法: xtreg: Fixed-, between- and random-effects, and population-averaged linear models xtregar:Fixed- and random-effects linear models with an AR(1) disturbance xtpcse :OLS or Prais-Winsten models with panel-corrected standard errors xtrchh :Hildreth-Houck random coefficients models xtivreg :Instrumental variables and two-stage least squares for panel-data models xtabond:Arellano-Bond linear, dynamic panel data estimator xttobit :Random-effects tobit models xtlogit : Fixed-effects, random-effects, population-averaged logit models xtprobit :Random-effects and population-averaged probit models xtfrontier :Stochastic frontier models for panel-data xtrc gdp invest culture edu sci health social admin,beta 动态模型 y=.8y(-1)+v,样本容量分别为T=20,50,100时,各模拟2万次 3. 面板数据模型估计方法 混合最小二乘(Pooled OLS)估计 (适用于混合模型) 平均数(between)OLS估计 (适用于混合模型和个体随机效应模型) 离差变换(within)OLS估计 (适用于个体固定效应回归模型) 一阶差分(firs

文档评论(0)

152****2160 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档