Hello
I have firm-pair-quarter panel data where firm-pairs are not repeated or duplicated (i.e., if pair A-B-2010Q1 is in the sample, pair B-A 2021Q1 will not be in the sample).
I have the identifying information for each observation in a separate column, call it Firm I and Firm J.
I want to use the absorb() function to identify all of the pairs where firm XYZ is either in the Firm I column OR the Firm J column.
As best I can tell, the input into the absorb() function relies only on a single categorical variable. Is there some way for me to do this in stata without having to create unique indicators for each firm? I have over 20 million observations so I don't know if my stata would be able to handle me making the indicators by themselves.
Thanks for any thoughts in advance!
Related Posts with Using absorb to create dummy variables
Detecting inverted duplicates over two columnsHello, I have searched for an answer to this simple question on previous forums, and cannot find the…
Effect of schooling on menstruation methodsHello, I am trying to find the effect of schooling on mensuration methods from Indian context.These …
Keep the first observation within a moving 30-day windowI have the following dataset. I want to keep d=1 for the first observation within 30-day moving wind…
Why the different bootstrap errors in panel data random effects?Hi, in help xt_vce_options I found the following recommendation: When working with panel-data mode…
Is it possible to not set values of optional integer arguments with the syntax commandWhen specifying optional arguments integer arguments using the syntax command it is usually necessar…
Subscribe to:
Post Comments (Atom)
0 Response to Using absorb to create dummy variables
Post a Comment