楼主: hemuwu
27434 27

[面板数据求助] 输入varsoc命令总是显示“repeated time values in sample” [推广有奖]

11
hemuwu 发表于 2017-4-7 10:54:55
黃河泉 发表于 2017-4-7 10:16
你先试试
我按照这个输入的,还是显示Running panel VAR lag order selection on estimation sample
unrecognized command:  lags

12
黃河泉 在职认证  发表于 2017-4-7 10:59:25
hemuwu 发表于 2017-4-7 10:54
我按照这个输入的,还是显示Running panel VAR lag order selection on estimation sample
unrecognized ...
那可能没有安装好程式!

13
Eliyou 发表于 2017-8-19 16:18:27
黃河泉 发表于 2017-4-7 10:59
那可能没有安装好程式!
老师您好,我跟着做了您给出的范例,提示command lags is unrecognized,然后又再更新了pvarsoc,显示package name:  st0455.pkg
        from:  http://www.stata-journal.com/software/sj16-3/

checking st0455 consistency and verifying not already installed...
all files already exist and are up to date.
然而,重新跑数据还是不行- - 该怎么办呢

14
黃河泉 在职认证  发表于 2017-8-19 16:32:52
Eliyou 发表于 2017-8-19 16:18
老师您好,我跟着做了您给出的范例,提示command lags is unrecognized,然后又再更新了pvarsoc,显示pac ...
请把指令与错误讯息发出来!

15
Eliyou 发表于 2017-8-19 18:40:54
黃河泉 发表于 2017-8-19 16:32
请把指令与错误讯息发出来!
. webuse grunfeld
. xtset company year
       panel variable:  company (strongly balanced)
        time variable:  year, 1935 to 1954
                delta:  1 year
. pvarsoc invest mvalue kstock, pvaro(instl(4/8))
Running panel VAR lag order selection on estimation sample
command lags is unrecognized
r(199);

16
Earlsmile 发表于 2017-8-19 22:15:48
黃河泉 发表于 2017-8-19 16:32
请把指令与错误讯息发出来!
老师,我跟上面这个同学的情况一样的,使用您博士文章里面的命令也是出现Running panel VAR lag order selection on estimation sample
unrecognized command:  lags,另外是不是我的pvar版本太低了?我的还是之前的版本,不是您的15年的版本,能否给我分享一份您的15版本的pvar程序包?921277116@qq.com

17
黃河泉 在职认证  发表于 2017-8-20 10:51:10
Eliyou 发表于 2017-8-19 18:40
. webuse grunfeld
. xtset company year
       panel variable:  company (strongly balanced)
我是可以的
  1. . webuse grunfeld

  2. . xtset company year
  3.        panel variable:  company (strongly balanced)
  4.         time variable:  year, 1935 to 1954
  5.                 delta:  1 year

  6. . pvarsoc invest mvalue kstock, pvaro(instl(4/8))
  7. Running panel VAR lag order selection on estimation sample
  8. ....

  9. Selection order criteria
  10. Sample:  1943 - 1953                              No. of obs      =       110
  11.                                                    No. of panels   =        10
  12.                                                    Ave. no. of T   =    11.000

  13.   +--------------------------------------------------------------------------+
  14.   |   lag |    CD          J      J pvalue     MBIC       MAIC       MQIC    |
  15.   |-------+------------------------------------------------------------------|
  16.   |     1 |  .9999497   46.01919   .1223806  -123.1981  -25.98081  -65.41266 |
  17.   |     2 |  .9999304   23.46367   .6598702  -103.4493  -30.53633  -60.11022 |
  18.   |     3 |  .9998502   10.02059   .9312322  -74.58805  -25.97941  -45.69534 |
  19.   |     4 |    .99981   2.751243   .9733466  -39.55308  -15.24876  -25.10672 |
  20.   +--------------------------------------------------------------------------+
复制代码

18
黃河泉 在职认证  发表于 2017-8-20 10:52:27
Earlsmile 发表于 2017-8-19 22:15
老师,我跟上面这个同学的情况一样的,使用您博士文章里面的命令也是出现Running panel VAR lag order se ...
请见 https://bbs.pinggu.org/thread-4700551-1-1.html

19
Eliyou 发表于 2017-8-20 17:18:47
黃河泉 发表于 2017-8-20 10:51
我是可以的
谢谢老师的耐心解答!我再找找原因。

20
铭铭饭否 学生认证  发表于 2018-12-24 15:01:42
黃河泉 发表于 2017-4-7 10:16
你先试试
请问黄老师在stata里怎么把weakly balanced面板变成strongly balanaced面板呢?

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

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