Hello,
I have data with 3 variables: Company_name (uniquely defined), owner_name (not uniquely defined) and treat (binary whether company was treated or not).
I would like to extract the Owner_names for which treat observations take both values 0 and 1.
I tried duplicates list Owner_name if treat==0 & treat==1 but it is not the right command.
Can you help?
Thank you
Related Posts with extract duplicates list for which some other variable takes both possible values
Saving Rsquared, t-statistic, and other results in regression loopHello Statalist community, I just started using Stata recently as I need to do some statistical ana…
xtlogit model not runningHi there, I am attempting to run an xtlogit model for panel data. There are 8,937 observations with…
Wishlist for asdocx (A more versatile and flexible version of asdoc)I am developing a new version of asdoc that will be more versatile and flexible in terms of creating…
fama french portfolio sortingDear Statalist, I am new to Stata and trying to make portfolio sorting , but I do still not know ho…
Survival Data declarationHi, I got a quick question on setting survival data using -st set- command. I have survival data se…
Subscribe to:
Post Comments (Atom)
0 Response to extract duplicates list for which some other variable takes both possible values
Post a Comment