Hello everyone,
I have 400 firms and I have closing prices for 5 months ( Nov 2018 ,Dec 2018, and Jan,Feb,march 2019). I would like to know how can I compute 1- ) the change in log stock prices from December 31, 2018 to March 31, 2019 and 2-) the change in log of average stock prices of November 30, 2018 and December 31, 2018 and average stock prices of February 28, 2019 and March 31, 2019. Please, how can I got /generate these TWO VARIABLES in stata ? Thanks a lot.
Related Posts with Mathematics in stata /stock return / change in log stock prices
How to simplify conditional statementsDear all, Code: * Example generated by -dataex-. To install: ssc install dataex clear input float(…
Significance stars into the coefplotDear stata users, is there a way how to include the significance stars into the coefplot? The probl…
How to choose between Pooled OLS/Random Effects?Hello, I am currently working on my undergrad thesis with the topic factor determinants for imports…
How to export file after regression?Hi everyone, I started learning STATA recently after learning some object-oriented programming lang…
Help with foreach of string variablesHi STATA experts, I am using foreach to run a loop for a list of string variables. The command runs…
Subscribe to:
Post Comments (Atom)
0 Response to Mathematics in stata /stock return / change in log stock prices
Post a Comment