Hi all,
How can I check whether race is consistency in my dataset and then replace the inconsistency as the right one? For example,
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
Best,
Jack Liang
How can I check whether race is consistency in my dataset and then replace the inconsistency as the right one? For example,
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str1 race float id "w" 1 "w" 1 "w" 1 "w" 1 "b" 1 "w" 1 "w" 1 "w" 1 "w" 2 "w" 2 "w" 2 end
Best,
Jack Liang
Comment