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

Re: st: empty dataset; display gives impossible answer


From   Toyoto Iwata <[email protected]>
To   [email protected]
Subject   Re: st: empty dataset; display gives impossible answer
Date   Wed, 30 Jun 2004 17:09:32 +0900

In case "CLPL =. "

.list (varlist you need for the diagnosis) 


Toyoto

At 09:44 04/06/30 +0200, you wrote:
> Dear all,
> to check whether my data recoding and selection was done properly I gave
> the commands below.
> It appeared that none of the cases in my dataset had the combination of
> FIRSTCAS equals1 and CLPL not equal to 1, which was great. Thus, after
> the "keep" I had an empty dataset, with only the names of all (about 50)
> variables. Why than did "display <variable1> <variable2>" give an
> answer, and what does it mean?
> 
> . dis _N
> 8200
> 
> . keep if (FIRSTCAS==1 & CLPL~=1)
> (8200 observations deleted)
> 
> . dis CL_NR UNIEKNR
> 11
> 
> thanks for any thougts,
> Annelies
> 
> 
> --
> A.M. Vos
> dept. of Public Health
> Erasmus MC
> University Medical Center Rotterdam
> P.O. Box 1738
> 3000 DR Rotterdam
> The Netherlands
> Tel: +31 (10) 4087502
> Fax: +31 (10) 4089449
> email: [email protected]
> 
> 
> *
> *   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/
> 

=========================================
Toyoto Iwata, MD, PhD
Environmental Health Sciences
Department of Social Medicine
Akita University School of Medicine
1-1-1 Hondo, Akita 010-8543, Japan
Tel +81-18-884-6084   Fax +81-18-836-2608
E-mail: [email protected]
=========================================

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