全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2313 0
2011-03-12
在做事件研究法            stock_code:股票代码   return:个股收益率              market_return:市场收益率跑了估计窗口的回归:by  stock_code:regress return market_return if  estimation_window==1
但当用predict命令做事件窗口的正常收益率时出现了:
by  stock_code:predict predicted_return if  event_window==1
predict may not be combined with by
r(190);

请问该如何写命令?是直接predict predicted_return if  event_window==1吗?这样得出的数据是按照每个股票代码的吗?
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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