Hi everyone,
I would like to use an if statement with the unique command, in order to operate a code (for instance, the "browse" command) only on the observations that aren't unique/distinct.
How do I do that?
Thanks ahead,
Ben
Related Posts with operating a code only on the "not distinct" observations
Values of multiple columns in one column using a loopHi everyone, I'd like to place all values of multiple columns in one column. I tried stack using a …
Variable Labels Hello dear forum members, I am new here and am currently learning Stata. I am a beginner and have o…
Create fiscal years from years and monthsDear Statalist, I would like to create a fiscal year variable that take values like 2005-06, 2006-…
Propensity Score matching: how to define the dependent variableHello everyone, we are trying to use propensity score matching (PSM) to find the suitable control gr…
Recoding in panel dataHow to recode values by groups in panel data by using Stata commands? For example, the score for id1…
Subscribe to:
Post Comments (Atom)
0 Response to operating a code only on the "not distinct" observations
Post a Comment