Hi everyone. I'm a student and for my master's thesis, I have to analyse commodities shocks on a firm's returns. For that, I have imported on stata , stock prices of all US public company from 1995 to 2021. The problem is , I want to compute retuns of each company whitout generate a new varaiable ( because my dataset is counting almost 4,700 variables and the max variables accepted by stata 15.1 is 5,000) but I didn't succeed. I'm lost and I need your help because after, I want to do loop for doing my regression ( company's returns on stock market and commodities index). I took a capture of my dataset table and what I did when I tried to compute log_retuns. Thank you for you help !
Array
Array
Related Posts with Change my observations values in discrete returns stock
Merging two panel data set when name of countries differ slighltyI am using two different data sets from; one from World Bank and another one from IMF. The name of t…
Mi predict basesurvHi all, I am having problems trying to get the baseline survivor function after mi predict. I am us…
Stata does not remember font size preferencesI'm running Stata 15 on Windows 10. Every time I open Stata, the fonts in all the windows are set t…
Adding a new variable on Stata that has different dimensions than the variables from a dataset that is in useHello, Is there a way to add a new variable on Stata that has different dimensions than the dataset…
How to transfer multiple values stored under a local macro into a variableHello, How can I transfer multiple values stored under a local macro into a variable? Below is wha…
Subscribe to:
Post Comments (Atom)
0 Response to Change my observations values in discrete returns stock
Post a Comment