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
Bootstrapping versus robust VCE option in xtpoission to deal with overdispersionHi everyone, Does the bootstrapping option in xtpoission deal with overdispersion, or is vce(robust…
data merge: r(459);Hi, I have two panel data-set and what to merge the two data set. I use the following code but I rec…
Difference-in-difference on matched data with binary outcome variableI have a balanced data with three waves. I want to measure the impact of participation on a binary o…
runiform(a,b) function for a stataSE 12Hi Everyone, I am trying to create a random element that its value is between A and B. therefore I …
flat log likelihood encountered, cannot find uphill directionI am working with a time series data, i try to forecast next day volatility with EGARCH (1,1) I got …
Subscribe to:
Post Comments (Atom)
0 Response to extract duplicates list for which some other variable takes both possible values
Post a Comment