全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2652 1
2017-07-03
你好!我已经在R中安装了lqmm,路径设置也是对的,在我运行xtqreg命令时确实存在bug,而且不知道如何解决,当我用stata13时,总是出现以下的错误:
help xtqreg

. global Rterm_path "C:\Program Files\R\R-3.1.3\bin\i386\Rterm.exe"

. use http://www.imm.ki.se/biostatistics/data/wtloss, clear

. gen inter = month*prog

. reshape long y, i(id) j(month)
(note: j = 0 3 6 9)

Data                               wide   ->   long
-----------------------------------------------------------------------------
Number of obs.                       60   ->     240
Number of variables                   6   ->       4
j variable (4 values)                     ->   month
xij variables:
                           y0 y3 ... y9   ->   y
-----------------------------------------------------------------------------

gen inter = month*prog
. xtset id month
       panel variable:  id (strongly balanced)
        time variable:  month, 0 to 9, but with gaps
                delta:  1 unit

. xtqreg y  prog month  inter

Please check if the R.exe directory is C:\Program Files\R\R-3.1.3\bin\i386\Rterm.exe and R version
>  is 3.1.3
If the directory is not correct use option pathr.
If only the version is not correct use option version.
If both the directory and the version are correct,
something went wrong during the run of the R script.
r(198);
请帮忙看一下如何解决?谢谢!

二维码

扫码加我 拉你入群

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

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

全部回复
2017-10-21 21:05:17
楼主解决了吗,我也是这个问题
二维码

扫码加我 拉你入群

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

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

栏目导航
热门文章
推荐文章

说点什么

分享

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