Hi,
I have three variables KeyEventDates KeyEventHistory KeyEventDetails that I am splitting into several columns. I want to check if the number of columns created when each of these variables is split is the same (ideally, the split for each of the three variables should generate the same number of columns). Is there a way to write a loop or generate a temporary variable that will do so?
Thanks,
Karishma
Related Posts with Counting number of variables across groups
Problem to create loopGoodmorning I have a panel data, with severall variables for each countriesin every years. However I…
Lag generation with multiple dates Code: * Example generated by -dataex-. For more info, type help dataex clear input double(date id p…
Problem with implementing forward and backward linkages on stataHello, I am currently doing a research on FDI spillovers, at this point i need some help with imple…
Count unique observations by grouping vars if conditions is metHi I want to count the number of unique ID's per year and group. I have managed that with the follo…
How to draw 1:2 matched dataset then double the cases?Hello Statalists, Part of my data is as follows: Code: * Example generated by -dataex-. For more i…
Subscribe to:
Post Comments (Atom)
0 Response to Counting number of variables across groups
Post a Comment