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
Loop to replace string variablesMy dataset is in wide format. Variables are string and non-string. Lots of vaibales contain "NA". I …
Moving average between missing variablesHi. I have monitoring data which were collected every three hours, as shown below. I am trying to fi…
Kernel RegressionI am trying to apply kernel regression to detect technical patterns in stock market prices. Attached…
How to break the interval value (e.g. 1200-1347) of a string variable into many years taking values from 1200 to 1347 year by year?Is the question clear? Many thanks! Linghui Han …
How to create two new variables from one?Dear statalists, I'm writing my master thesis and have come across some data handling-issues. I use…
Subscribe to:
Post Comments (Atom)
0 Response to Counting number of variables across groups
Post a Comment