Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: joinby


From   "Hans J. Baumgartner" <hbaumgartner@diw.de>
To   statalist@hsphsun2.harvard.edu
Subject   st: joinby
Date   Fri, 29 Apr 2005 10:23:09 +0200

Dear statalist,

I am still using Stata8. 

The reference says that ?joinby- needs the data to be sorted. 

But the following code does not lead to an error message.

gen random = uniform()
sort random
joinby var1 var2 var3 using data, unmatched(both)

I had expeced an error messge. 

I am puzzled since the data is not joined in the way I expected. Neither 
with sort var1 var2 var3 or sort random. 

Any glues about that?

Well the version I am using is the most recent one. 
. which joinby
R:\stata8\ado\base\j\joinby.ado
*! version 2.0.5  11Jan2001

Thanks
Hans






++++++++++++++++++++++++++++++++
Hans J. Baumgartner
Dept. Public Economics
DIW Berlin
German Institut for Economic Research
phone: +49/30/89789-307
fax :      +49/30/89789-114
URL: www.diw.de
          www.hansbaumgartner.de
++++++++++++++++++++++++++++++++

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index