[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: sub-dataset by variable numbers

From   "Jian'an Luan" <>
To   <>
Subject   st: sub-dataset by variable numbers
Date   Tue, 2 Oct 2007 12:04:55 +0100

Dear Statalist

I wonder if I can select a sub-dataset by variables without given
variable names but using variable numbers, something like the command
when select a sub-dataset by observations ".keep if _n>1001 & _n<2000".
Any help will be appreciated.

*   For searches and help try:

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