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
Panel data regression with fixed effectsHi Statalist,
Recently I am using the state-level mental health data and trying to find its associa…
Forest plotHello , I was wondering if you could anyone could help me with coding to reproduce the following gra…
Clustered standard errors for a single variable in panel dataDear Stata users,
I am working with panel data for funds and look for a solution to calculate stand…
Website that converts SAS command codes into STATA?Hi
Does anyone know of a website or platform that can automatically generate STATA codes from SAS co…
Canonical Correlation AnalysisHello,
I would like to make a canonical correlation analysis with:
y1 y2 y3 y4 y5 as dependent var…
Subscribe to:
Post Comments (Atom)
0 Response to inlist with many variables
Post a Comment