Hi Statalisters,
Just have a simple question. If my dataset contains variable v1, v2, and v3, I use -duplicates list v1 v2- to list whether there are duplicate observations conditioning on v1 and v2. However, I also want to list v3 of those previous duplicate observations though it is not included in duplicates list logic. In other words, I check duplicates between v1 and v2, but want to list the full observations with common v1 and v2.
Is there any salient solution to this?
Thanks in advanced.
Related Posts with Duplicates list full pieces of observations
TWFE: Different results between Stata and RHi, We are running two-way fixed effects on R and Stata using the same data, and they are giving di…
Showing values that exist in a value label but are not taken on by a variable in a table/tabulation?Hi All, I have a variable that represents the answers to the following question on a survey: Do you…
Stochastic Frontier AnalysisI conducted Stochastic Frontier Analysis (SFA) using the command 'frontier' with the natural log of …
Loop for variable creationHi, Following is snapshot of the data Below is the dataex of what I currently have Code: * Exampl…
Milliseconds inconsistent when trying to find the earliest date/time across variablesDespite reviewing help datetime, searching Statalist, and reaching out to colleagues, I cannot solve…
Subscribe to:
Post Comments (Atom)
0 Response to Duplicates list full pieces of observations
Post a Comment