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

Re: st: RE: confirm

From   Enzo Coviello <>
Subject   Re: st: RE: confirm
Date   Mon, 26 Sep 2005 10:31:07 +0200

Thanks prof. Cox.

unab is what I was looking for.


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:

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