全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
41059 21
2014-03-25
我想把回归结果导出成excel或者word, 用的命令是:
outreg2 using myfile
提示的错误信息是
file myfile.txt could not be opened
r(603);
求大神看看这是肿么一回事。。。。
QQ图片20140325223728.jpg
我用的数据是伍德里奇第五版的WAGE2.dta
请大神来帮我看看啊!我是stata新人,求笼罩!
二维码

扫码加我 拉你入群

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

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

全部回复
2014-3-26 05:15:08
you may not have the written privilege?  Change to another folder and try.
二维码

扫码加我 拉你入群

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

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

2014-3-26 18:21:38
jjjj6666 发表于 2014-3-26 05:15
you may not have the written privilege?  Change to another folder and try.
how to change to another folder? 我默认的存储目录是c盘中的state folder。
二维码

扫码加我 拉你入群

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

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

2014-3-26 20:40:00
you can just using

outreg2 using "foldername\myfile"

where foldername is the folder you have written right.
二维码

扫码加我 拉你入群

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

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

2014-4-7 16:33:52
刚解决了这个问题
全文的回答是
The default Vista or Windows 7 permission settings do not allow applications to write permissions to their respective install directories even if you are logged in to a machine as Administrator. Stata needs these permissions to update.
To get around the problem, you must right-click on the Stata executable in the Stata install directory and select “Run as Administrator” from the menu to open Stata. Then type update all followed by update swap in your Stata Command window to update Stata error-free.

我使用了第一个解决办法,就是单击右键选择以管理员身份运行stata解决的。。
二维码

扫码加我 拉你入群

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

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

2015-1-15 17:29:11
我是Mac系统,不存在楼上所说的管理员权限的问题。

楼楼上@jjjj6666的方法解决了问题,就是加上文件路径。非常感谢!
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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