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
missed ANOVA Matrix in OLS regressionArray Hi, it is my results for Ols regression and doesn't have ANOVA matrix but my tutor results sho…
keep banks (id) with 3-consecutive years of observation or more in my panel dataGreetings statalist users, I need help with codes to eliminate the entire id (along with all its ob…
ommited control variableHello, I have a sample of 158 firms. I control for industry, and I have 26 industry dummies. One of…
Using -margins- for different subsamplesHi everyone, margins, atmeans saves the means of covariates of a model in a matrix r(at), see here:…
Resolving problem with day gaps in STATAI am a new STATA user and new to this forum. I am working with daily price data of the Australian do…
Subscribe to:
Post Comments (Atom)
0 Response to Change my observations values in discrete returns stock
Post a Comment