Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: compare files, vars only


From   Antoine Terracol <Antoine.Terracol@univ-paris1.fr>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: compare files, vars only
Date   Thu, 19 Feb 2009 16:58:52 +0100

David,

It will depend on the kind of comparisons you want to do, but

. help unab

and

. help macrolist

should make the task easier.

Antoine


David Kantor wrote:
> Hi.
> Does anyone know of a program to compare the sets of variables in two 
> data files? What I have in mind is something akin to -cf-, but...
>  it would not compare values -- only the names of variables;
>  it would not care whether the two data files had the same number of 
> observations.
> 
> I was planning to write such a program, but I wanted to be sure that it 
> hadn't already been done.
> Thanks
> --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/
> 


-- 
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.


*
*   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