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
Can PPML coefficients be analyzed as elasticities? Gravitational ModelDear, I am using PPML to analyze the impact of institutions on exports. My question is, can coeffi…
Define a binary variable using and / orDear all, I have a panel data set. Each observation is organized by firmId and year. Some other vari…
How to keep whole group with a variable including 3 valuesHi I have a panel data with firm and year. I want to keep only firms that headquartered in US and at…
Plotting a likelihood surfaceDear all Let's say I have a linear model with two predictors: Code: program linear ar…
Extracting a month/year variable from a dateI'm new to Stata and I have a dumb question. I have a date variable (indexdate) with the format %tdD…
Subscribe to:
Post Comments (Atom)
0 Response to Counting number of variables across groups
Post a Comment