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
Fixed effects in first-differenced modelHi! I have a first-differenced model, where my units are municipalities. I am adding regional fixed…
Discrepancy for Shapiro-Wilks value between Stata (v15) vs. SPSS 26 and JASP 15.Hello, This is an unusual question as it involves statistical platforms outside of Stata. I'm teach…
Creating Dummy variable with a condition based on the previous 3 yearsDear Stata members, I have a question please , I want to create a new dummy variable =1 if a firm h…
Replace string value with a missing value (dot)I have a dataset with a variable "sex". I would like to know how can I replace a string value "missi…
KHB Method: Obtaining P Value for Mediated Effects I am using the KHB method on STATA to analyze the mediated impacts of religious identity and relig…
Subscribe to:
Post Comments (Atom)
0 Response to Duplicates list full pieces of observations
Post a Comment