Hello.
I have 100 numeric variables (var1-var100) which are all categorical (1, 2, 3). I would like to identify the observations with any variable equal to 3.
Is there any simple function that can do that? I tried browse if inlist(3,var1-var100), but it doesn't work.
Thank you very much.
Related Posts with inlist with many variables
How to detect sources of variations in coefficients obtained from a panel data regression?Is it possible to identify whether and how cross-sectional variation and/or time-series variation co…
Transforming VariablesHI! if i want to (using data from January 1971 to December 2020) transform the the month and year va…
HELP!! Interpreting logged dependant varaible, when its a ratio.Hi Guys, I apologise if this question is hard to read. I'm currently analysing a regression in whic…
random numbers to groups of random sizeHi Statalisters! I have the following problem. I have N individuals and I would like to assign to t…
Count of distinct units in a panel with "by" optionHi Beloved Stata Members I would like to get the count of distinct units (co_code in my case) based …
Subscribe to:
Post Comments (Atom)
0 Response to inlist with many variables
Post a Comment