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

RE: st: findvar command?

From   "Nick Cox" <>
To   <>
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

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.


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:

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