请问下我需要信息透明度这个指标,定义如下图,数据如下。请问下stata代码如何实现哇?
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
(dretwd :考虑现金红利再投资的日个股回报率;idxtrd08 :指数回报率;markettype:市场类型)
公司信息透明度采用股价信息含量指标(SI)来表示,具体构建方法如下
rit=Bo+P1xrm.t+P2xrm.t-1+eit (5)
SIi = Ln(1-Ri^2/Ri^2)
其中ri,t为个股收益率,rm,t为市场收益率。Ri为式(5)的拟合优度。