ImageVerifierCode 换一换
格式:DOCX , 页数:4 ,大小:215.66KB ,
资源ID:388478      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/388478.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(王群勇xthreg命令.docx)为本站会员(b****2)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

王群勇xthreg命令.docx

1、王群勇xthreg命令Fixed-effect panel threshold model using Statahelp xthreg (SJ15-1: st0373) 需要stata13及以上版本,2015年第一期 - xthreg - Estimate fixed-effect panel threshold modelSyntax命令: xthreg depvar indepvars if in, rx(varlist) qx(varname) thnum(#) grid(#) trim(numlist) bs(numlist) thlevel(#) gen(newvarname) n

2、oreg nobslog thgiven options where depvar is the dependent variable and indepvars are the regime-independent variables.Description xthreg fits fixed-effect panel threshold models based on the method proposed by Hansen (1999). xthreg uses XT xtreg to fit the fixed-effect panel threshold model given t

3、he threshold estimator. The fixed-effect panel threshold model requires balanced panel data, which is checked automatically by xthreg. The estimation and test of the threshold effect are computed in Mata.Options: rx(varlist) is the regime-dependent variable. Time-series operators are allowed. rx() i

4、s required. qx(varname) is the threshold variable. Time-series operators are allowed. qx() is required.门限变量 thnum(#) is the number of thresholds. In the current version (Stata 13), # must be equal to or less than 3. The default is thnum(1).门限个数 grid(#) is the number of grid points. grid() is used to

5、 avoid consuming too much time when computing large samples. The default is grid(300).格点数 trim(numlist) is the trimming proportion to estimate each threshold. The number of trimming proportions must be equal to the number of thresholds specified in thnum(). The default is trim(0.01) for all threshol

6、ds. For example, to fit a triple-threshold model, you may set trim(0.01 0.01 0.05).一个门限,设置一个数值(0.01);两个门限设置两个(0.01 0.05);三个门限,设置三个(0.01 0.01 0.05)。 bs(numlist) is the number of bootstrap replications. If bs() is not set, xthreg does not use bootstrap for the threshold-effect test.自举法次数 thlevel(#) sp

7、ecifies the confidence level, as a percentage, for confidence intervals of the threshold. The default is thlevel(95). gen(newvarname) generates a new categorical variable with 0, 1, 2, . for each regime. The default is gen(_cat). noreg suppresses the display of the regression result. nobslog suppres

8、ses the iteration process of the bootstrap. thgiven fits the model based on previous results. options are any options available for XT xtreg. Time-series operators are allowed in depvar, indepvars, rx(), and qx().Examples Setup . use hansen1999 Estimate a single-threshold model . xthreg i q1 q2 q3 d

9、1 qd1, rx(c1) qx(d1) thnum(1) trim(0.01) grid(400) bs(300) Estimate a triple-threshold model given the estimated result above . xthreg i q1 q2 q3 d1 qd1, rx(c1) qx(d1) thnum(3) trim(0.01 0.01 0.05) bs(0 300 300) thgiven . xthreg i q1 q2 q3 d1 qd1, rx(c1) qx(d1) thnum(3) trim(0.01 0.01 0.05) grid(400

10、) bs(300 300 300) Estimate a triple-threshold model directly . xthreg i q1 q2 q3 d1 qd1, rx(c1) qx(d1) thnum(3) trim(0.01 0.01 0.05) bs(300 300 300)绘图: Plot the confidence interval using likelihood-ratio (LR) statistics . _matplot e(LR21), columns(1 2) yline(7.35, lpattern(dash) connect(direct) msiz

11、e(small) mlabp(0) mlabs(zero) ytitle(LR Statistics) xtitle(First Threshold) recast(line) name(LR21) nodraw . _matplot e(LR22), columns(1 2) yline(7.35, lpattern(dash) connect(direct) msize(small) mlabp(0) mlabs(zero) ytitle(LR Statistics) xtitle(Second Threshold) recast(line) name(LR22) nodraw . graph combine LR21 LR22, cols(1)Author Qunyong Wang Institute of Statistics and Econometrics Nankai University Tianjin, China QunyongWang输出结果包括四个部分。第一部分输出门限估计值和自举法的结果。第二部分列表输出门限值及置信区间,Th-1代表单一门限估计值,Th-21 和Th-22代表双门限回归的两个估计值,有时Th-21和Th-1相同。第三部分列出了门限检验,包括RSS、MSE、F统计量及概率值,以及10%、5%、1%的置信水平。第四部分是固定效应回归结果。

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1