一个id有多条数据,现在需要用asreg命令做滚动回归,每一条数据时点设为t,需要用[t-65,t-5] 这60天的数据进行回归求回归系数,请问代码怎么修改呢?
bys id: asreg Rif mkt smb hml umd, window(-65 -6)
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------