全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
7232 1
2009-11-09
各位好,我在stata里用Log,经常会遇到一个问题,比如我写一个do file
log using C:\aaa.log
sum var1
log close
运行外这个do file后,我把aaa.log打开,是空白的,请问到底是怎么回事?
二维码

扫码加我 拉你入群

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

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

全部回复
2009-11-9 04:59:34
检查一下你得stata版本,有些非正版软件会有此类问题。你的程序看上去好像也有点问题。可以试试以下程序(在你的do file里)


capture log close
* HW1log is the name of the log file. Use the complete route and with " ".
log using "C:\\081212PRGSWinter\EA2\Problem set\HW1\HW1log", replace
。。。。。
log close

祝好运
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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