Statalist The Stata Listserver


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

st: Usage of "keep if".


From   Lucio Vinhas de Souza <[email protected]>
To   [email protected]
Subject   st: Usage of "keep if".
Date   Sun, 17 Sep 2006 21:10:15 +0100 (BST)

Dear All,

I am sure this is very silly question, but I have a
variable that I want to "keep if==" it has only some
specific, non-continuos, values (namely, it is an
index variable that indentifies firms, and I want to
keep sepecific firms, let say 1, 7, 325, etc...). How
do I write the command line? I have been trying for
almost two hours, with different combinations and
nothing works. I am using STAT version 8.

Best,

Lucio.
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index