I have market data from 2007 to 2016 and I'm running a regression by Ticker using the following command: statsby, saving(regtest2) by(Ticker): reg rtrn mkt smb hml rf if training==1. The problem is the file that I get with the results only gives me one line per each Ticker where there is the constant, beta1, beta2, beta3 and beta4 (which I assume is the average of all lines?). I would like to get results for every single line meaning for each day starting from 2007 to 2016. I tried the following command without any success: statsby, saving(regtest2) by(Ticker Date): reg rtrn mkt smb hml rf if training==1
Thanks for helping in advance!
Thanks for helping in advance!
Comment