楼主: 黃河泉
60284 136

[程序分享] xthreg 之操作与 LR 之图   [推广有奖]

61
黃河泉 在职认证  发表于 2019-1-4 18:11:00
wtt2016 发表于 2019-1-4 15:45
您好黄老师,我尝试了xthreg,并用了xtbalance平衡数据,但是还是提示非平衡,请问是怎么回事呢?
试试
  1. xtbalance, range(1 4) miss(lngdp lncs lnhr lnfdi lnk lnroad lnbus si is)
复制代码

62
wtt2016 发表于 2019-1-6 11:03:50
黃河泉 发表于 2019-1-4 18:11
试试
谢谢黄老师的耐心指点,您发的命令我运行后可以成功运行xthreg模型了,通过了双重门槛检验,谢谢您!

63
古灵精 发表于 2019-1-24 12:20:20
请问黄老师,如果用xtptm程序又怎么画图呢?

64
古灵精 发表于 2019-1-24 12:49:44
请问黄老师,是否将程序绘图部分的_matplot e(LR21)改成_matplot LR21即可?自己尝试修改了下,好像是符合的

65
古灵精 发表于 2019-1-24 13:14:27
另外,xtptm在做三门槛图时,为什么系统显示LR3不存在?是否应该将_matplot e(LR21)、_matplot e(LR22)、’_matplot e(LR3)改为LR31 LR32 LR33?

66
紫若寒璿 发表于 2019-3-5 21:49:28
感谢分享,正好能用上

67
js0509 发表于 2019-3-11 17:10:56
谢谢黄老师分享

68
yujianping123 发表于 2019-3-22 22:11:04
Threshold estimator (level = 95):
-----------------------------------------------------
     model |    Threshold         Lower         Upper
-----------+-----------------------------------------
      Th-1 |       8.2395        8.2167        8.2651
     Th-21 |       8.4080        8.3794        8.4216
     Th-22 |       8.0080        7.9350        8.0306
      Th-3 |       7.7142        7.6963        7.7246
-----------------------------------------------------

Threshold effect test (bootstrap = 500 500 500):
-------------------------------------------------------------------------------
Threshold |       RSS        MSE      Fstat    Prob   Crit10    Crit5    Crit1
-----------+-------------------------------------------------------------------
    Single |   36.0418     0.0888      61.84  0.0080  35.5417  41.1262  53.9912
    Double |   32.7416     0.0806      40.92  0.0120  26.4428  31.6730  43.2163
    Triple |   31.4647     0.0775      16.48  0.7200  44.8303  52.4445  61.6655
-------------------------------------------------------------------------------黄老师,我的双重门槛的LR图画出来为什么和门槛值不对应啊

Graph.png (26.56 KB)

Graph.png

69
波妞951101 发表于 2019-3-29 12:56:42
太感谢黄老师了!!这正是我需要的!!

70
johnsunsunsun 发表于 2019-3-31 14:44:22
黄老师 指令代码是什么

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

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