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

RE: st: findvar command?


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: findvar command?
Date   Fri, 14 Nov 2003 19:14:04 -0000

ds, alpha

gives you a compact alphabetical list of variable
names, after which

edit <varname>

takes you to that variable in the editor. In
addition,

ds, alpha detail

gives you a -describe- with variable names
in alphabetical order. That last extra postdates
the 8 manual, as it was added in an update on
17 June 2003.

Nick
n.j.cox@durham.ac.uk

David Jacobs

> As you probably already know, there's a command called
> "look for" that
> matches strings in variable names and in variable labels.
> Then "describe
> [var name], number" tells you where the variable is in the file.
>
> Note that this sequence is more than a bit clunky.  When I
> used to use SPSS
> long ago, there was a "find variable" command of some kind that put
> everything in alphabetic order in a list and then if you selected a
> variable, it would take you to that point in the data
> spread sheet.  I wish
> Stata had something like that.

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