Hi all,
I just started using STATA, so I don't have much much knowledge about it.
I have two major problems;
I have data on daily stock returns of FTSE 350 firms, the daily risk free rate and daily return for FTSE 350 index for the year 2000 and I have to calculate yearly beta (systematic risk) for each stock in a CAPM equation (R-Rf = Bo + B1(Rm-Rf; where R is the daily stock return of stock, Rf is the daily risk free rate; Rm is the daily return of the market index, B1 is he beta to be estimated) also I have to calculate the standard deviation of the residual of the equation for each stock (to represent Unsystematic risk). These would be used as dependent variables in different models
Guidance or codes to get these is much appreciated. Attached is my data
I just started using STATA, so I don't have much much knowledge about it.
I have two major problems;
I have data on daily stock returns of FTSE 350 firms, the daily risk free rate and daily return for FTSE 350 index for the year 2000 and I have to calculate yearly beta (systematic risk) for each stock in a CAPM equation (R-Rf = Bo + B1(Rm-Rf; where R is the daily stock return of stock, Rf is the daily risk free rate; Rm is the daily return of the market index, B1 is he beta to be estimated) also I have to calculate the standard deviation of the residual of the equation for each stock (to represent Unsystematic risk). These would be used as dependent variables in different models
Guidance or codes to get these is much appreciated. Attached is my data
Comment