Dear,
I am a finance student and I have to make portfolios sorted on size and momentum for my thesis research. I have data of the dutch market containing of the share price and market value of almost 300 companies in the period 2012-2017.
Now, I am new to Stata and I want to first calculate the stock returns for every company at every data (monthly). I know the code to use and I can use it with just only one company, but not with almost 300 companies at the same time. In the excell file I have all the data where the MV1-MV298 stand for the marketvalue for all the companies and P1-P298 stand for the share price of all the companies.
Please can anyone help me
I am a finance student and I have to make portfolios sorted on size and momentum for my thesis research. I have data of the dutch market containing of the share price and market value of almost 300 companies in the period 2012-2017.
Now, I am new to Stata and I want to first calculate the stock returns for every company at every data (monthly). I know the code to use and I can use it with just only one company, but not with almost 300 companies at the same time. In the excell file I have all the data where the MV1-MV298 stand for the marketvalue for all the companies and P1-P298 stand for the share price of all the companies.
Please can anyone help me
Comment