Greetings,
I am new to Stata and needless to say, this forum. I apologise in advance for any ignorant question or statement that ensues.
I am trying to detect herd behaviour in a stock market and run the following empirical specification:
Before we go into details, I declare that I have the Stock Prices, Trading Volume and Opening Price of a market. I will have to find the market return,R_(m,t) which is given by R_t = 100*[log P_t - log P_(t-1)], where P_t is just Stock Price at time t, is it possible to do it in Stata? Secondly, after I have derived the value of R_(m,t), how do I go about to run the regression on Eq. (3)?
Any help would be very much appreciated.
I am new to Stata and needless to say, this forum. I apologise in advance for any ignorant question or statement that ensues.
I am trying to detect herd behaviour in a stock market and run the following empirical specification:
Before we go into details, I declare that I have the Stock Prices, Trading Volume and Opening Price of a market. I will have to find the market return,R_(m,t) which is given by R_t = 100*[log P_t - log P_(t-1)], where P_t is just Stock Price at time t, is it possible to do it in Stata? Secondly, after I have derived the value of R_(m,t), how do I go about to run the regression on Eq. (3)?
Any help would be very much appreciated.
Comment