全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
6137 7
2018-05-01
我找到的连玉君老师的xtthres命令如下:
                          xtthres y,thres(q) dthres(x) .....
                         请问这里的dthres(x) 是指模型的解释变量吗?我运行之后显示这里的x只能输入一个,那我有好几个解释变量呢到底输入哪个呢?我做的是多元回归,一共有8个解释变量,其中三个核心解释变量。(用的是stata软件)
                         希望得到老师指点~~万分感谢!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2018-6-4 11:13:18
我记得thres是解释变量 dthres是门槛变量吧 三个解释变量的话分别挨个做
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2019-1-16 17:24:33
thres后面跟的是门槛变量,dthres后面是与门槛变量存在动态关系的解释变量,后面还会生成该解释变量和门槛变量的乘积。我是这样理解的,若有不对,恳请指正
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2019-1-28 15:38:44
截一张Hanson(1999)的图,对比xtthres的定义。
语法格式:xtthres varlist [if] [in] , thres(varname) dthres(varname) [ qn(#) bs1(#) bs2(#) bs3(#) levle(#) minobs(#) ]

解释:
1、thres(varname) specifies threshold variable, as denoted by q_it in Hansen(1999).  Note that this option should not be omitted.
2、dthres(varname) specifies the variable that will show threshold effects, as denoted by x_it in Hansen(1999). This variable will be multipled by the indicator function I(.).  Note that this option should not be omitted either.
3、 qn(#) specifies the number of distinct values to be search in finding out the optimal estimate of threshold effects, r_hat, which will minimize the sum of square residuals of the model.  The default value is 400.

例子:
xtthres tobin size tang prof, th(grow) d(tl)

可以看出,dthres(varname) 对应的是x_it
附件列表
1.png

原图尺寸 80.67 KB

1.png

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2019-1-28 15:51:20
连玉君老师的stata课件中,
        *- y[it] -- 被解释变量
        *- X[it] -- 解释变量
        *- q[it] -- 门槛变量
因此,dthres(varname) 中应填写的是解释变量
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2019-3-1 03:08:16
yangye823 发表于 2019-1-28 15:51
连玉君老师的stata课件中,
        *- y -- 被解释变量
        *- X -- 解释变量
请问您有xtthres命令的ado文件吗?求分享,715579776@qq.com,或者下载链接也可以
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群