楼主: lihoujian
5940 4

[Stata] [Stata]汉森亲手编写的stata面板门槛程序,贡献给大家 [推广有奖]

VIP

历史过客

已卖:6610份资源

院士

34%

还不是VIP/贵宾

-

威望
3
论坛币
37649 个
通用积分
227.2352
学术水平
218 点
热心指数
228 点
信用等级
178 点
经验
55898 点
帖子
1572
精华
3
在线时间
3201 小时
注册时间
2007-10-3
最后登录
2025-5-10

楼主
lihoujian 发表于 2015-2-15 20:51:29 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
      汉森亲手编写的stata面板门槛程序,贡献给大家。注意需要用stata13.0才能运行。所以大家组团买stata13.0,最好是六核的。。


程序说明+附件来源



1、程序说明


  1. Enclosed are Stata files to implement threshold regression and testing.<?xml:namespace prefix = "o" ns = "urn:schemas-microsoft-com:office:office" />
  2. The primary references are
  3. Hansen, Bruce E. (1996) "Inference when a nuisance parameter is not identified under the null hypothesis," Econometrica.
  4. Hansen, Bruce E. (2000) "Sample splitting and threshold estimation," Econometrica.


  5. There are 5 files in this directory:
  6. thresholdreg.ado
  7. thresholdtest.ado
  8. Hansen2000.do
  9. DurlaufJohnson.dta
  10. readme.txt

  11. Put the files thresholdreg.ado and thresholdtest.ado in your STATA working directory.


  12. ***************************************************************************

  13. (1) threshololdreg.ado

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

  15. In Stata, You run it by typing:

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

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


  18.   The inputs are:
  19.   y = dependent variable
  20.   x = independent variables
  21.   z = threshold variable
  22.   ind = heteroskedasticity indicator
  23.       Set ind=0 to impose homoskedasticity assumption
  24.       Set ind=1 to use White-correction for heteroskedasticity (default if option omitted)

  25. The program estimates a threshold regression, prints the results to the screen.
  26. The program also plots a graph of the likelihood ratio process in the threshold, useful for threshold confidence interval construction.


  27. *******************************************************************************

  28. (2) thresholdtest.ado

  29. Stata command "thresholdtest" computes a test for a threshold in linear
  30. regression allowing for heteroskedasticity.  

  31. In Stata, you run it by typing

  32. "thresholdtest y x, q(z) trim_per(p) rep(R)"


  33.   The inputs are:
  34.   y = dependent variable
  35.   x = independent variables
  36.   z = threshold variable
  37.   p = percentage of sample to trim from ends, e.g. p = .15 (default value if option omitted)
  38.   R = number of bootstrap, e.g., R=5000 (default value if option omitted)


  39. **************************************************************************

  40. (3) Hansen2000.do
  41. To illustrate we have provided a do file "main.do" which replicates the work reported in
  42. Hansen, Bruce E. (2000) "Sample splitting and threshold estimation," Econometrica.

  43. To run, type "do Hansen2000"

  44. **************************************************************************

  45. (4) DurlaufJohnson.dta
  46. This is a data file.
  47. It is the data used by Hansen (2000) taken from Durlauf and Johnson (1995)
复制代码




2、STATA程序包下载




点击:汉森亲手编写的stata面板门槛程序,贡献给大家















二维码

扫码加我 拉你入群

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

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

关键词:STATA面板 Stata tata 面板门槛 econometrica 汉森 面板门槛 stata程序

已有 3 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
xddlovejiao1314 + 100 + 100 精彩帖子
niuniuyiwan + 60 + 60 + 5 + 5 + 5 精彩帖子
LIXUANHANK + 5 + 5 + 5 谢谢李老师分享!

总评分: 经验 + 160  论坛币 + 160  学术水平 + 10  热心指数 + 10  信用等级 + 10   查看全部评分

本帖被以下文库推荐

懂得放弃才会拥有

沙发
LIXUANHANK 学生认证  发表于 2015-2-15 21:09:45
谢谢分享!
已有 1 人评分经验 论坛币 收起 理由
xddlovejiao1314 + 10 + 3 鼓励积极发帖讨论

总评分: 经验 + 10  论坛币 + 3   查看全部评分

藤椅
xddlovejiao1314 学生认证  发表于 2015-10-9 11:37:31
谢谢分享。
已有 1 人评分论坛币 热心指数 收起 理由
niuniuyiwan + 10 + 1 精彩帖子

总评分: 论坛币 + 10  热心指数 + 1   查看全部评分

板凳
风流自簸荡0 发表于 2016-4-2 21:36:22
有两个门限值得怎么办呢

报纸
renmusheng 发表于 2017-3-1 11:10:35
风流自簸荡0 发表于 2016-4-2 21:36
有两个门限值得怎么办呢
我也是这样的问题,层主知道咋解决吗

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-30 02:02