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
using forvalues loop and postfile commandDear statalist i have a sample of only 3 observation, i having problem calculating outer product of …
reshape or transpose?Dear All, I was asked this question here (https://bbs.pinggu.org/forum.php?mod...a=#pid74912031). Th…
Graph with conditioningHi there, I would like to create a graph with two lines one for each condition. This is what I tried…
Ranking the most important predictor variables from a series of regression models.Hi, I came across an interesting study that did the following: 'number of births in the last 5 yea…
Differences between dates using panel dataHi there, I'm working with some panel data, whereby for each subject I have multiple events (lab te…
Subscribe to:
Post Comments (Atom)
0 Response to Change my observations values in discrete returns stock
Post a Comment