Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: find the corresponding values between two variables
From
Sara Neto Machado <[email protected]>
To
[email protected]
Subject
st: find the corresponding values between two variables
Date
Wed, 16 Apr 2014 19:31:11 +0100
Dear all,
c_est----w_est---c_trab----w_trab
10----------10-----------10-------11
11-----------3------------11-------3
13-----------4-------------17-------5
17------------5-------------18-------7
18---------10----------------23-----3
23-----------5----------------25-----6
my aim is to perform the differences between w_est and w_trab for the
same values of c_est and c_trab. However, I have along the dataset as
well as values that do not coincide in c_trab and c_est (Eg from the
sample: 13) that "ruins" the sorting between those columms. I want the
13 to appear like missing values on the same line of c_trab. I am
trying to search any syntax that suits my purpose and nothing relevant
came up. Maybe there are other alternatives that I am not seeing now..
Can anyone help me? much appreciated!
regards,
Sara
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/