Hi all!
I need your help, please!
I have data from 2014q1 to 2019q4, what I want to do is subtract the difference by gvkey of the ETR2018 - ETR2016. Basically, I would like to show in 2018q1 = 2018q1 - 2016q1
Any ideas of how to do this?
Array
Related Posts with Substracting different rows in Stata
Tobin's QHi all, I am trying to merge two data sets from Compustat to get Tobin's Q. I try to merge the two …
cannot compute an improvement -- discontinuous region encounteredI am trying to build a multilevel model with the governrate-level indicators, but I get this problem…
How to loop element-by-element operations (e.g regression)Hello, I am trying to find a way to loop element by element operations across two lists of variables…
Multiple imputation and conditional()Hi Listers, I am interested in conducting a multiple imputation on a dataset looking at healthy beh…
How to repeat some command linesHello all, I need to repeat 3 line of commands in stata to create updated observations for three va…
Subscribe to:
Post Comments (Atom)
0 Response to Substracting different rows in Stata
Post a Comment