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

Re: st: RE: confirm


From   Enzo Coviello <enzo.coviello@alice.it>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: confirm
Date   Mon, 26 Sep 2005 10:31:07 +0200

Thanks prof. Cox.

unab is what I was looking for.

Enzo

This problem is a variation on
two previously discussed on this list.

1. You want to -drop- variables if and only
if the names specified are full variable names.

Canned solution: -safedrop- on SSC

2. You want to separate a set of names
into variable names and others. (Compare a very
recent thread.)

Canned solution: -isvar- on SSC

In each case, a useful trick is throw
something at -unab-.

If it returns an error, that something is
ambiguous or not a variable name.
*
*   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