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
Reformatting datasetHello Statalists, I'm new to Statalist, I've read the forum guidance and tried to follow but please…
expand data and more calculation.Dear All, I found this question here (in Chinese). The raw data set is: Code: * Example generated b…
-cluster2- varlist not allowed r(101)Dear all, I have ssc installed cluster2, but cannot run the code, it shows "varlist not allowed" s…
Get rid of the space after the leading quote?Hi all, Please see the graph below and the example codes. In the 'note' option in my codes, I have …
Create new dummy variableHi everyone, I am trying to create a new dummy variable named DIS2 which defines a participant as h…
Subscribe to:
Post Comments (Atom)
0 Response to Counting number of variables across groups
Post a Comment