楼主: 阿狸与桃子
14956 45

[stata资源分享] 【Hansen thresholdreg 命令】 [推广有奖]

11
黃河泉 在职认证  发表于 2016-12-17 08:51:05 |只看作者 |坛友微信交流群
daisykat 发表于 2016-12-16 19:10
输入 threholdreg命令提示不能识别是为什么呀,这个不是自带的命令吗??求指导
你需要到 Hansen 的网站(楼主那里有提到)自己下载程序并自己安装才能使用!

使用道具

12
mufangzhu 发表于 2016-12-25 10:33:08 |只看作者 |坛友微信交流群
黃河泉 发表于 2016-12-17 08:51
你需要到 Hansen 的网站(楼主那里有提到)自己下载程序并自己安装才能使用!
(1) threshololdreg.ado

Stata command "thresholdreg" computes estimates and confidence intervals for threshold models.

In Stata, You run it by typing:

"thresholdreg y x, q(z) h(ind)"

example: thresholdreg y x1 x2, q(z) h(1)


  The inputs are:
  y = dependent variable
  x = independent variables
  z = threshold variable
  ind = heteroskedasticity indicator
      Set ind=0 to impose homoskedasticity assumption
      Set ind=1 to use White-correction for heteroskedasticity (default if option omitted)
您好,我想请教一下,这个指令在哪里输入核心解释变量?程序跑出来一直是错的,您知道么?http://bbs-cdn.datacourse.cn/static/image/smiley/default/em06.gif

使用道具

13
黃河泉 在职认证  发表于 2016-12-25 15:32:44 |只看作者 |坛友微信交流群
mufangzhu 发表于 2016-12-25 10:33
(1) threshololdreg.ado

Stata command "thresholdreg" computes estimates and confidence inter ...
你讲的"核心解释变量"是什么意思 (英文是啥)?我有时候会不太了解这边的用语(我来自台湾)!此外,你的指令与错误讯息是什么?

使用道具

14
chenjingmtl 学生认证  发表于 2017-3-29 21:33:36 |只看作者 |坛友微信交流群
黃河泉 发表于 2016-12-12 17:18
Hansen 所提供的横断面门槛程序不是很 user-friendly,例如,你需要将所有 missing values (自己)去掉!
您好,我也试过啦,但是还是不能识别thresholdreg,请问怎么弄?谢谢!

使用道具

15
黃河泉 在职认证  发表于 2017-3-30 06:35:02 |只看作者 |坛友微信交流群
chenjingmtl 发表于 2017-3-29 21:33
您好,我也试过啦,但是还是不能识别thresholdreg,请问怎么弄?谢谢!
1. 把所有程式与资料放在同一目录下。 2. 然后在 Stata 中改变工作目录到刚刚那个目录!

使用道具

16
chenjingmtl 学生认证  发表于 2017-3-30 09:00:51 |只看作者 |坛友微信交流群
黃河泉 发表于 2017-3-30 06:35
1. 把所有程式与资料放在同一目录下。 2. 然后在 Stata 中改变工作目录到刚刚那个目录!
非常感谢,可以识别啦。

使用道具

17
黃河泉 在职认证  发表于 2017-3-30 11:20:46 |只看作者 |坛友微信交流群
chenjingmtl 发表于 2017-3-30 09:00
非常感谢,可以识别啦。
Great to hear that!

使用道具

18
sky580 在职认证  发表于 2018-1-6 17:45:11 |只看作者 |坛友微信交流群
donwayho 发表于 2016-12-12 16:06
thresholdreg 文件夹里的给的示例data好像是横截面吧, 我用自己的数据run的时候不知为什么一直出不来结果, ...
你好,不知道你现在是否能跑出结果?我也碰到了这个问题

使用道具

19
sky580 在职认证  发表于 2018-1-6 17:54:02 |只看作者 |坛友微信交流群
黃河泉 发表于 2017-3-30 11:20
Great to hear that!
黄老师,您好,为何我在运行"thresholdreg 、thresholdtest 时,一直无法运行得出结果,数据不存在缺失值。

使用道具

20
黃河泉 在职认证  发表于 2018-1-6 18:05:58 |只看作者 |坛友微信交流群
sky580 发表于 2018-1-6 17:54
黄老师,您好,为何我在运行"thresholdreg 、thresholdtest 时,一直无法运行得出结果,数据不存在缺失值 ...
提供点讯息吧!这样我怎么回答?

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-27 03:26