Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: Comparing datasets


From   David Kantor <kantor.d@att.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: Comparing datasets
Date   Tue, 16 Sep 2008 09:38:34 -0400

At 02:52 AM 9/16/2008, Raphael wrote:
David,

I think that should be
des using auto1, varlist

and not

des auto1, varlist

thanks to all

Raphael
[...]
Indeed, that is correct.

And while I'm here, I'd like to add something that may be useful.

local commonvars : first & second

will get the variables common to both sets.

local allvars : first | second

will get the variables in either set (the union).

--David

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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