Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Figuring out if variables that were read in are strings or not


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Figuring out if variables that were read in are strings or not
Date   Wed, 28 Dec 2011 13:07:30 +0000

. ds, has(type string)

Nick

On Wed, Dec 28, 2011 at 10:34 AM, Lucas Salas <lucassalas@gmail.com> wrote:

> I just will offer the simplest option.
> Have you tried  to describe your varlist.
> After describe (or d ) you will have your list of variables storage
> type. str# for strings.
> Another option is just to look the codebook.
>
> These commands function as well with specific variables.

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