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
How to rename x variables in a bar graph?My dichotomous independent variable is coded as 0 and 1, and remains shown as 0 and 1 in a bar graph…
Making a descriptive tableHello, I have the following dataset: Code: * Example generated by -dataex-. To install: ssc inst…
Clarification on choice of random seeds and how often to set seedsStata's help documentation for set seed (https://www.stata.com/manuals/rsetseed.pdf) emphasizes that…
Instrumental Variable for endogenous Dummy variable in Panel DataHello everybody, I am trying to estimate this model using IV: Y = B0 + B1D + B2X + U, with D endogen…
Breusch and Pagan testHi everyone, I'm doing a research for my thesis about OECD countries, I've done some regressions and…
Subscribe to:
Post Comments (Atom)
0 Response to Change my observations values in discrete returns stock
Post a Comment